pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/ftnchek ftncheck: Fix RELRO builds by honoring L...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/204e8d0e480d
branches:  trunk
changeset: 375819:204e8d0e480d
user:      nia <nia%pkgsrc.org@localhost>
date:      Sun Mar 27 15:08:48 2022 +0000

description:
ftncheck: Fix RELRO builds by honoring LDFLAGS.

diffstat:

 devel/ftnchek/distinfo                |   4 ++--
 devel/ftnchek/patches/patch-aa        |  21 ---------------------
 devel/ftnchek/patches/patch-configure |  31 +++++++++++++++++++++++++++++++
 3 files changed, 33 insertions(+), 23 deletions(-)

diffs (73 lines):

diff -r 229970ca7130 -r 204e8d0e480d devel/ftnchek/distinfo
--- a/devel/ftnchek/distinfo    Sun Mar 27 15:06:11 2022 +0000
+++ b/devel/ftnchek/distinfo    Sun Mar 27 15:08:48 2022 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.12 2021/10/26 10:14:39 nia Exp $
+$NetBSD: distinfo,v 1.13 2022/03/27 15:08:48 nia Exp $
 
 BLAKE2s (ftnchek-3.3.1.tar.gz) = bef4fa4fde385b4cf90697e74a0613f5c63a8a175d193432f04097493fe96ea4
 SHA512 (ftnchek-3.3.1.tar.gz) = 14c698a6d936ffcd1966822f3b307fc2a70ffd5d58dcff27e10a9491562cff12ef75d98c0e67a7053e106df4f6b4d920e8164950778c5e13e7c15543fa2ecc41
 Size (ftnchek-3.3.1.tar.gz) = 1048638 bytes
-SHA1 (patch-aa) = 06fd3c31a337e6d11cf10740da3f1ff40860dcde
 SHA1 (patch-ab) = 3d3801e7da1aed77ec8215fbf189333ab3f92b4e
+SHA1 (patch-configure) = 43186592c61fb5a198b535d98ac18510b5747000
diff -r 229970ca7130 -r 204e8d0e480d devel/ftnchek/patches/patch-aa
--- a/devel/ftnchek/patches/patch-aa    Sun Mar 27 15:06:11 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-$NetBSD: patch-aa,v 1.7 2009/12/17 21:27:32 abs Exp $
-
---- configure.orig     2003-04-01 03:19:35.000000000 +0000
-+++ configure
-@@ -5816,6 +5816,7 @@ case $host_os in
-     if test -n "$GCC"; then
-       OPT="-O2";
-     fi;;
-+  netbsd*) ;;
-   next*)
-     OPT="-O2";;
- 
-@@ -5931,7 +5932,7 @@ else
- fi
- 
- 
--CFLAGS="-DUNIX \$(OPT) $OS_FLAGS $PROTOFLAG \$(OPTIONS)"
-+CFLAGS="$CFLAGS -DUNIX \$(OPT) $OS_FLAGS $PROTOFLAG \$(OPTIONS)"
- echo "$as_me:$LINENO: result: Compile command is $CC $CFLAGS" >&5
- echo "${ECHO_T}Compile command is $CC $CFLAGS" >&6
- echo "$as_me:$LINENO: result: \$(OPT) is $OPT" >&5
diff -r 229970ca7130 -r 204e8d0e480d devel/ftnchek/patches/patch-configure
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ftnchek/patches/patch-configure     Sun Mar 27 15:08:48 2022 +0000
@@ -0,0 +1,31 @@
+$NetBSD: patch-configure,v 1.1 2022/03/27 15:08:48 nia Exp $
+
+Honor CFLAGS/LDFLAGS from environment.
+
+--- configure.orig     2004-12-29 19:14:28.000000000 +0000
++++ configure
+@@ -6772,7 +6772,6 @@ fi
+ OS_FLAGS=
+ OPT=
+ LDLIBS=
+-LDFLAGS=
+ case $host_os in
+   aix*)
+     if test -z "$GCC"; then
+@@ -6822,6 +6821,7 @@ case $host_os in
+     if test -n "$GCC"; then
+       OPT="-O2";
+     fi;;
++  netbsd*) ;;
+   next*)
+     OPT="-O2";;
+ 
+@@ -6945,7 +6945,7 @@ else
+ fi
+ 
+ 
+-CFLAGS="-DUNIX \$(OPT) $OS_FLAGS $PROTOFLAG \$(OPTIONS)"
++CFLAGS="$CFLAGS -DUNIX \$(OPT) $OS_FLAGS $PROTOFLAG \$(OPTIONS)"
+ echo "$as_me:$LINENO: result: Compile command is $CC $CFLAGS" >&5
+ echo "${ECHO_T}Compile command is $CC $CFLAGS" >&6
+ echo "$as_me:$LINENO: result: \$(OPT) is $OPT" >&5



Home | Main Index | Thread Index | Old Index