pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/pfe lang/pfe: Fix linker switch typo



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b4118b8b0b5c
branches:  trunk
changeset: 609889:b4118b8b0b5c
user:      marino <marino%pkgsrc.org@localhost>
date:      Fri Oct 12 15:29:35 2012 +0000

description:
lang/pfe: Fix linker switch typo

Change "-W," to "-Wl," in configure script.
GCC 4.7.2 doesn't let the typo pass like order GCCs do.

diffstat:

 lang/pfe/distinfo                    |   3 ++-
 lang/pfe/patches/patch-pfe_configure |  16 ++++++++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r 0a2d8eb9b252 -r b4118b8b0b5c lang/pfe/distinfo
--- a/lang/pfe/distinfo Fri Oct 12 15:29:13 2012 +0000
+++ b/lang/pfe/distinfo Fri Oct 12 15:29:35 2012 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1.1.1 2009/11/15 14:17:44 asau Exp $
+$NetBSD: distinfo,v 1.2 2012/10/12 15:29:35 marino Exp $
 
 SHA1 (pfe-0.33.71.tar.bz2) = 2e61bbf550767793b20bffc544b625fc4e889f44
 RMD160 (pfe-0.33.71.tar.bz2) = 5bfdc5561c281f5d506151ec17552b03e6a411ab
 Size (pfe-0.33.71.tar.bz2) = 1789663 bytes
 SHA1 (patch-aa) = 8e2612bb1a828e531c023011f8ff4bb64d16c511
+SHA1 (patch-pfe_configure) = c1b2aaa1a2cc2d5dac1d9717e5450c45067bdbb8
diff -r 0a2d8eb9b252 -r b4118b8b0b5c lang/pfe/patches/patch-pfe_configure
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/pfe/patches/patch-pfe_configure      Fri Oct 12 15:29:35 2012 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-pfe_configure,v 1.1 2012/10/12 15:29:35 marino Exp $
+
+Fix typo "-W," -> "-Wl,".  GCC 4.7.2 doesn't allow this to pass as older
+GCCs do.
+
+--- pfe/configure.orig 2009-10-17 17:50:54.000000000 +0000
++++ pfe/configure
+@@ -20482,7 +20482,7 @@ opt_level="$WITHVAL_OPT"
+ if test "$GCC" = "yes" ; then
+    OPTIM="-O$opt_level"
+    DEBUG=" -W -Wshadow"
+-   LDFLAGS="$LDFLAGS -W,--warn-common" # -Wl,-S
++   LDFLAGS="$LDFLAGS -Wl,--warn-common" # -Wl,-S
+    # GCC_WARN="$GCC_WARN -Wtraditional"
+    # GCC_WARN="$GCC_WARN -Wconversion"
+ elif test ".$am_cv_CC_dependencies_compiler_type" = ".aix" ; then



Home | Main Index | Thread Index | Old Index