pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat/ircII don't pass -Xc on Solaris if not building w...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3935a4a80a4a
branches:  trunk
changeset: 496509:3935a4a80a4a
user:      grant <grant%pkgsrc.org@localhost>
date:      Fri Jul 01 04:12:20 2005 +0000

description:
don't pass -Xc on Solaris if not building with gcc.

passing -Xc to sunpro defines __STDC__=1 and the build fails in
ircsig.c because <signal.h> only declares sigaction if __STD__=0.

fixes build on Solaris w/ sunpro.

diffstat:

 chat/ircII/distinfo         |   3 ++-
 chat/ircII/patches/patch-aa |  14 ++++++++++++++
 2 files changed, 16 insertions(+), 1 deletions(-)

diffs (30 lines):

diff -r 63489476481f -r 3935a4a80a4a chat/ircII/distinfo
--- a/chat/ircII/distinfo       Fri Jul 01 03:27:49 2005 +0000
+++ b/chat/ircII/distinfo       Fri Jul 01 04:12:20 2005 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.24 2005/02/23 15:59:11 agc Exp $
+$NetBSD: distinfo,v 1.25 2005/07/01 04:12:20 grant Exp $
 
 SHA1 (ircii-20040820.tar.bz2) = 60970833257543c213f44f6046d681a5418d4c42
 RMD160 (ircii-20040820.tar.bz2) = 8be064650062a1dd861d70ce0d5ebd7f99c3448e
 Size (ircii-20040820.tar.bz2) = 559843 bytes
+SHA1 (patch-aa) = fbc75ea374cee67f366ef8b783dd90f13b434831
 SHA1 (patch-ac) = f4633c01dc1ee9136ec5cc13694fe5f9fb8542ac
diff -r 63489476481f -r 3935a4a80a4a chat/ircII/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/ircII/patches/patch-aa       Fri Jul 01 04:12:20 2005 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.5 2005/07/01 04:12:20 grant Exp $
+
+--- configure.orig     2004-07-03 20:37:00.000000000 +1000
++++ configure
+@@ -1107,9 +1107,6 @@ then
+     5.*)
+       echo "$ac_t""yes" 1>&6
+       svr4=1
+-            if test $ac_cv_prog_gcc = no; then
+-        CFLAGS="-Xc $CFLAGS"
+-      fi
+       ;;
+   esac
+ else



Home | Main Index | Thread Index | Old Index