svn commit: r510704 - in head/lang/gcc6-aux: . files
Li-Wen Hsu
lwhsu at FreeBSD.org
Sun Sep 1 16:01:50 UTC 2019
Author: lwhsu
Date: Sun Sep 1 16:01:50 2019
New Revision: 510704
URL: https://svnweb.freebsd.org/changeset/ports/510704
Log:
Disable the build/use of libssp/gets-chk since FreeBSD 12 and later
do not feature gets() any longer.
PR: 238682
Submitted by: emaste
Approved by: maintainer timeout
Sponsored by: The FreeBSD Foundation
Added:
head/lang/gcc6-aux/files/patch-gets-no-more (contents, props changed)
Modified:
head/lang/gcc6-aux/Makefile.version
Modified: head/lang/gcc6-aux/Makefile.version
==============================================================================
--- head/lang/gcc6-aux/Makefile.version Sun Sep 1 15:57:02 2019 (r510703)
+++ head/lang/gcc6-aux/Makefile.version Sun Sep 1 16:01:50 2019 (r510704)
@@ -10,7 +10,7 @@ GCC_POINT= 4.1
GCC_VERSION= ${GCC_BRANCH}.${GCC_POINT}
SNAPSHOT= 20180516
BUILD_RELEASE= no
-MAIN_PR= 0
+MAIN_PR= 1
UTIL_PR= 0
ARMV7_PR= 0
ARM64_PR= 0
Added: head/lang/gcc6-aux/files/patch-gets-no-more
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lang/gcc6-aux/files/patch-gets-no-more Sun Sep 1 16:01:50 2019 (r510704)
@@ -0,0 +1,47 @@
+Disable the build/use of libssp/gets-chk since FreeBSD 12 and later
+do not feature gets() any longer.
+
+--- UTC
+Index: libssp/Makefile.am
+===================================================================
+--- libssp/Makefile.am (revision 263319)
++++ libssp/Makefile.am (working copy)
+@@ -42,7 +42,7 @@
+ nobase_libsubinclude_HEADERS = ssp/ssp.h ssp/string.h ssp/stdio.h ssp/unistd.h
+
+ libssp_la_SOURCES = \
+- ssp.c gets-chk.c memcpy-chk.c memmove-chk.c mempcpy-chk.c \
++ ssp.c memcpy-chk.c memmove-chk.c mempcpy-chk.c \
+ memset-chk.c snprintf-chk.c sprintf-chk.c stpcpy-chk.c \
+ strcat-chk.c strcpy-chk.c strncat-chk.c strncpy-chk.c \
+ vsnprintf-chk.c vsprintf-chk.c
+Index: libssp/Makefile.in
+===================================================================
+--- libssp/Makefile.in (revision 263319)
++++ libssp/Makefile.in (working copy)
+@@ -108,7 +108,7 @@
+ am__installdirs = "$(DESTDIR)$(toolexeclibdir)" \
+ "$(DESTDIR)$(libsubincludedir)"
+ LTLIBRARIES = $(toolexeclib_LTLIBRARIES)
+-am_libssp_la_OBJECTS = ssp.lo gets-chk.lo memcpy-chk.lo memmove-chk.lo \
++am_libssp_la_OBJECTS = ssp.lo memcpy-chk.lo memmove-chk.lo \
+ mempcpy-chk.lo memset-chk.lo snprintf-chk.lo sprintf-chk.lo \
+ stpcpy-chk.lo strcat-chk.lo strcpy-chk.lo strncat-chk.lo \
+ strncpy-chk.lo vsnprintf-chk.lo vsprintf-chk.lo
+@@ -291,7 +291,7 @@
+ libsubincludedir = $(libdir)/gcc/$(target_noncanonical)/$(gcc_version)/include
+ nobase_libsubinclude_HEADERS = ssp/ssp.h ssp/string.h ssp/stdio.h ssp/unistd.h
+ libssp_la_SOURCES = \
+- ssp.c gets-chk.c memcpy-chk.c memmove-chk.c mempcpy-chk.c \
++ ssp.c memcpy-chk.c memmove-chk.c mempcpy-chk.c \
+ memset-chk.c snprintf-chk.c sprintf-chk.c stpcpy-chk.c \
+ strcat-chk.c strcpy-chk.c strncat-chk.c strncpy-chk.c \
+ vsnprintf-chk.c vsprintf-chk.c
+@@ -452,7 +452,6 @@
+ distclean-compile:
+ -rm -f *.tab.c
+
+- at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gets-chk.Plo at am__quote@
+ @AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libssp_nonshared_la-ssp-local.Plo at am__quote@
+ @AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/memcpy-chk.Plo at am__quote@
+ @AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/memmove-chk.Plo at am__quote@
More information about the svn-ports-all
mailing list