pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/gnustep-base Avoid __weak redefinitions (from jo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/65a10754fa62
branches:  trunk
changeset: 651641:65a10754fa62
user:      christos <christos%pkgsrc.org@localhost>
date:      Fri May 08 14:16:20 2015 +0000

description:
Avoid __weak redefinitions (from joerg)

diffstat:

 devel/gnustep-base/Makefile                                        |   4 +-
 devel/gnustep-base/distinfo                                        |   3 +-
 devel/gnustep-base/patches/patch-Headers_GNUstepBase_GSConfig.h.in |  17 ++++++++++
 3 files changed, 21 insertions(+), 3 deletions(-)

diffs (48 lines):

diff -r 42ee5a1cee9b -r 65a10754fa62 devel/gnustep-base/Makefile
--- a/devel/gnustep-base/Makefile       Fri May 08 14:10:06 2015 +0000
+++ b/devel/gnustep-base/Makefile       Fri May 08 14:16:20 2015 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.61 2015/04/06 08:17:14 adam Exp $
+# $NetBSD: Makefile,v 1.62 2015/05/08 14:16:20 christos Exp $
 
 DISTNAME=      gnustep-base-1.24.0
-PKGREVISION=   7
+PKGREVISION=   8
 CATEGORIES=    devel gnustep
 MASTER_SITES=  ${MASTER_SITE_GNUSTEP:=core/}
 
diff -r 42ee5a1cee9b -r 65a10754fa62 devel/gnustep-base/distinfo
--- a/devel/gnustep-base/distinfo       Fri May 08 14:10:06 2015 +0000
+++ b/devel/gnustep-base/distinfo       Fri May 08 14:16:20 2015 +0000
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.28 2012/10/22 02:17:16 rh Exp $
+$NetBSD: distinfo,v 1.29 2015/05/08 14:16:20 christos Exp $
 
 SHA1 (gnustep-base-1.24.0.tar.gz) = 4d73df5b5a594213a4c7a0ed97fc04d10c9ced69
 RMD160 (gnustep-base-1.24.0.tar.gz) = 3710966cac708c5f22b1e5eaee456951791a1620
 Size (gnustep-base-1.24.0.tar.gz) = 2947759 bytes
+SHA1 (patch-Headers_GNUstepBase_GSConfig.h.in) = be5b7e9fd79dcb08a260caaf3092ddf7975ebbdc
 SHA1 (patch-aa) = f1298afa2775a45e0c9a04752ab28e5d8e898965
 SHA1 (patch-ab) = 1d56de33bc1320962b763ab6b7b50c38751e3210
 SHA1 (patch-ac) = 4e8e209ad202385948d0f4b0d29e5e61e01da410
diff -r 42ee5a1cee9b -r 65a10754fa62 devel/gnustep-base/patches/patch-Headers_GNUstepBase_GSConfig.h.in
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/gnustep-base/patches/patch-Headers_GNUstepBase_GSConfig.h.in        Fri May 08 14:16:20 2015 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-Headers_GNUstepBase_GSConfig.h.in,v 1.1 2015/05/08 14:16:21 christos Exp $
+
+Avoid redefinition of macros from cdefs_elf.h; this is not the OS's fault,
+but GNUstep's for violating the implementation namespace with __weak and
+friends.
+
+--- Headers/GNUstepBase/GSConfig.h.in.orig     2015-05-07 15:49:03.000000000 +0000
++++ Headers/GNUstepBase/GSConfig.h.in
+@@ -386,6 +386,8 @@ typedef    struct {
+ #endif
+ 
+ #if !__has_feature(objc_arc)
++#  undef __weak
++#  undef __strong
+ #  if __OBJC_GC__
+ #    define __strong __attribute__((objc_gc(strong)))
+ #    define __weak __attribute__((objc_gc(weak)))



Home | Main Index | Thread Index | Old Index