View | Details | Raw Unified | Return to bug 238682
Collapse All | Expand All

(-)lang/gcc6-aux/Makefile.version (-1 / +1 lines)
Lines 10-16 Link Here
10
GCC_VERSION=		${GCC_BRANCH}.${GCC_POINT}
10
GCC_VERSION=		${GCC_BRANCH}.${GCC_POINT}
11
SNAPSHOT=		20180516
11
SNAPSHOT=		20180516
12
BUILD_RELEASE=		no
12
BUILD_RELEASE=		no
13
MAIN_PR=		0
13
MAIN_PR=		1
14
UTIL_PR=		0
14
UTIL_PR=		0
15
ARMV7_PR=		0
15
ARMV7_PR=		0
16
ARM64_PR=		0
16
ARM64_PR=		0
(-)lang/gcc6-aux/files/patch-gets-no-more (+47 lines)
Line 0 Link Here
1
Disable the build/use of libssp/gets-chk since FreeBSD 12 and later
2
do not feature gets() any longer.
3
4
--- UTC
5
Index: libssp/Makefile.am
6
===================================================================
7
--- libssp/Makefile.am	(revision 263319)
8
+++ libssp/Makefile.am	(working copy)
9
@@ -42,7 +42,7 @@
10
 nobase_libsubinclude_HEADERS = ssp/ssp.h ssp/string.h ssp/stdio.h ssp/unistd.h
11
 
12
 libssp_la_SOURCES = \
13
-	ssp.c gets-chk.c memcpy-chk.c memmove-chk.c mempcpy-chk.c \
14
+	ssp.c memcpy-chk.c memmove-chk.c mempcpy-chk.c \
15
 	memset-chk.c snprintf-chk.c sprintf-chk.c stpcpy-chk.c \
16
 	strcat-chk.c strcpy-chk.c strncat-chk.c strncpy-chk.c \
17
 	vsnprintf-chk.c vsprintf-chk.c
18
Index: libssp/Makefile.in
19
===================================================================
20
--- libssp/Makefile.in	(revision 263319)
21
+++ libssp/Makefile.in	(working copy)
22
@@ -108,7 +108,7 @@
23
 am__installdirs = "$(DESTDIR)$(toolexeclibdir)" \
24
 	"$(DESTDIR)$(libsubincludedir)"
25
 LTLIBRARIES = $(toolexeclib_LTLIBRARIES)
26
-am_libssp_la_OBJECTS = ssp.lo gets-chk.lo memcpy-chk.lo memmove-chk.lo \
27
+am_libssp_la_OBJECTS = ssp.lo memcpy-chk.lo memmove-chk.lo \
28
 	mempcpy-chk.lo memset-chk.lo snprintf-chk.lo sprintf-chk.lo \
29
 	stpcpy-chk.lo strcat-chk.lo strcpy-chk.lo strncat-chk.lo \
30
 	strncpy-chk.lo vsnprintf-chk.lo vsprintf-chk.lo
31
@@ -291,7 +291,7 @@
32
 libsubincludedir = $(libdir)/gcc/$(target_noncanonical)/$(gcc_version)/include
33
 nobase_libsubinclude_HEADERS = ssp/ssp.h ssp/string.h ssp/stdio.h ssp/unistd.h
34
 libssp_la_SOURCES = \
35
-	ssp.c gets-chk.c memcpy-chk.c memmove-chk.c mempcpy-chk.c \
36
+	ssp.c memcpy-chk.c memmove-chk.c mempcpy-chk.c \
37
 	memset-chk.c snprintf-chk.c sprintf-chk.c stpcpy-chk.c \
38
 	strcat-chk.c strcpy-chk.c strncat-chk.c strncpy-chk.c \
39
 	vsnprintf-chk.c vsprintf-chk.c
40
@@ -452,7 +452,6 @@
41
 distclean-compile:
42
 	-rm -f *.tab.c
43
 
44
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gets-chk.Plo@am__quote@
45
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libssp_nonshared_la-ssp-local.Plo@am__quote@
46
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/memcpy-chk.Plo@am__quote@
47
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/memmove-chk.Plo@am__quote@

Return to bug 238682