pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/cross/freemint-binutils freemint-binutils: Fix build o...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dec52a8d684f
branches:  trunk
changeset: 314374:dec52a8d684f
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Fri Oct 26 10:10:48 2018 +0000

description:
freemint-binutils: Fix build on SunOS.

diffstat:

 cross/freemint-binutils/distinfo                             |   3 +-
 cross/freemint-binutils/patches/patch-libiberty_sigsetmask.c |  16 ++++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r ca256c228c54 -r dec52a8d684f cross/freemint-binutils/distinfo
--- a/cross/freemint-binutils/distinfo  Fri Oct 26 10:09:30 2018 +0000
+++ b/cross/freemint-binutils/distinfo  Fri Oct 26 10:10:48 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2015/11/03 00:47:43 agc Exp $
+$NetBSD: distinfo,v 1.5 2018/10/26 10:10:48 jperkin Exp $
 
 SHA1 (binutils-2.24-mint-20131217.patch.bz2) = f45ee0ce2d52f1e68eac4178db92def72e5fbf2b
 RMD160 (binutils-2.24-mint-20131217.patch.bz2) = dcd38d8c7a52a9380cb6131e5ebcdf46fbc517ed
@@ -8,3 +8,4 @@
 RMD160 (binutils-2.24.tar.bz2) = b4aa3ea5ba9d0d9f817b2cf136e7f911f692af8d
 SHA512 (binutils-2.24.tar.bz2) = 5ec95ad47d49b12c4558a8db0ca2109d3ee1955e3776057f3330c4506f8f4d1cf5e505fbf8a16b98403a0fcdeaaf986fe0a22be6456247dbdace63ce1f776b12
 Size (binutils-2.24.tar.bz2) = 22716802 bytes
+SHA1 (patch-libiberty_sigsetmask.c) = e5ada952bc8b667d8ba324f6d0a4ec275aaf1e7b
diff -r ca256c228c54 -r dec52a8d684f cross/freemint-binutils/patches/patch-libiberty_sigsetmask.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/cross/freemint-binutils/patches/patch-libiberty_sigsetmask.c      Fri Oct 26 10:10:48 2018 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-libiberty_sigsetmask.c,v 1.1 2018/10/26 10:10:48 jperkin Exp $
+
+Fix build on SunOS.
+
+--- libiberty/sigsetmask.c.orig        2013-11-04 15:33:40.000000000 +0000
++++ libiberty/sigsetmask.c
+@@ -15,7 +15,9 @@ be the value @code{1}).
+ 
+ */
+ 
++#if !defined(__sun) || (__STDC_VERSION__-0 < 199901UL)
+ #define _POSIX_SOURCE
++#endif
+ #include <ansidecl.h>
+ /* Including <sys/types.h> seems to be needed by ISC. */
+ #include <sys/types.h>



Home | Main Index | Thread Index | Old Index