pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/49014: chat/ircservices needs "-fno-stack-protector" on NetBSD/sparc-6.99.43
The following reply was made to PR pkg/49014; it has been noted by GNATS.
From: "John D. Baker" <jdbaker%mylinuxisp.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/49014: chat/ircservices needs "-fno-stack-protector" on
NetBSD/sparc-6.99.43
Date: Fri, 18 Jul 2014 16:27:39 -0500 (CDT)
Building on NetBSD/sparc-6.1_STABLE fails the same way, so the same
fix applies. As such, the fix (for now) looks like:
+Index: chat/ircservices/Makefile
+===================================================================
+RCS file: /cvsroot/pkgsrc/chat/ircservices/Makefile,v
+retrieving revision 1.45
+diff -u -p -r1.45 Makefile
+--- chat/ircservices/Makefile 29 May 2014 23:35:18 -0000 1.45
++++ chat/ircservices/Makefile 18 Jul 2014 21:24:03 -0000
+@@ -25,6 +25,10 @@ RCD_SCRIPTS= ircservices
+ PKG_GROUPS= services
+ BUILD_DEFS= VARBASE
+
++.if !empty(MACHINE_PLATFORM:MNetBSD-6.*-sparc)
++ CFLAGS+=-fno-stack-protector
++.endif
++
+ CONFIGURE_ARGS+= -prefix ${PREFIX:Q}
+ CONFIGURE_ARGS+= -cc ${CC:Q}
+ CONFIGURE_ARGS+= ${empty(CFLAGS):?:-cflags ${CFLAGS:Q}}
Nothing extra is needed on netbsd-5/i386. Will check netbsd-6/i386 and
-current/i386 soon-ish.
--
|/"\ John D. Baker, KN5UKS NetBSD Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com OpenBSD FreeBSD
| X No HTML/proprietary data in email. BSD just sits there and works!
|/ \ GPGkeyID: D703 4A7E 479F 63F8 D3F4 BD99 9572 8F23 E4AD 1645
Home |
Main Index |
Thread Index |
Old Index