View | Details | Raw Unified | Return to bug 257378 | Differences between
and this patch

Collapse All | Expand All

(-)devel/electron12/Makefile (+5 lines)
Lines 152-157 TEST_ALL_TARGET= ${TEST_TARGETS} Link Here
152
.include "Makefile.version"
152
.include "Makefile.version"
153
.include <bsd.port.pre.mk>
153
.include <bsd.port.pre.mk>
154
154
155
BASE_MEMPCPY!=	grep mempcpy ${CROSS_SYSROOT}/usr/include/string.h
156
.if empty(BASE_MEMPCPY)
157
EXTRA_PATCHES+=	${PATCHDIR}/extra-patch-no-mempcpy-nasm
158
.endif
159
155
.if ${ARCH} == "amd64"
160
.if ${ARCH} == "amd64"
156
PLIST_SUB+=	AMD64=""
161
PLIST_SUB+=	AMD64=""
157
.else
162
.else
(-)devel/electron12/files/extra-patch-no-mempcpy-nasm (+11 lines)
Added Link Here
1
--- third_party/nasm/config/config-linux.h.orig	2021-01-07 00:39:33 UTC
2
+++ third_party/nasm/config/config-linux.h
3
@@ -336,7 +336,7 @@
4
 #define HAVE_MEMORY_H 1
5
 
6
 /* Define to 1 if you have the `mempcpy' function. */
7
-#define HAVE_MEMPCPY 1
8
+/* #undef HAVE_MEMPCPY */
9
 
10
 /* Define to 1 if you have a working `mmap' system call. */
11
 #define HAVE_MMAP 1
(-)devel/electron12/files/patch-third__party_nasm_config_config-linux.h (-9 lines)
Lines 18-32 Link Here
18
 
18
 
19
 /* Define to 1 if you have the `faccessat' function. */
19
 /* Define to 1 if you have the `faccessat' function. */
20
 #define HAVE_FACCESSAT 1
20
 #define HAVE_FACCESSAT 1
21
@@ -336,7 +336,7 @@
22
 #define HAVE_MEMORY_H 1
23
 
24
 /* Define to 1 if you have the `mempcpy' function. */
25
-#define HAVE_MEMPCPY 1
26
+/* #undef HAVE_MEMPCPY */
27
 
28
 /* Define to 1 if you have a working `mmap' system call. */
29
 #define HAVE_MMAP 1
30
@@ -411,7 +411,7 @@
21
@@ -411,7 +411,7 @@
31
 #define HAVE_SYSCONF 1
22
 #define HAVE_SYSCONF 1
32
 
23
 

Return to bug 257378