diff options
author | bsiegert <bsiegert@pkgsrc.org> | 2012-12-28 14:38:59 +0000 |
---|---|---|
committer | bsiegert <bsiegert@pkgsrc.org> | 2012-12-28 14:38:59 +0000 |
commit | 0373d395156905146604e4690e51801a7da7d32c (patch) | |
tree | ae93079e29e25deabd4cae72497ec07db7e157b7 | |
parent | 2c7b1e0dfeffaa35c1c839fd1453052143ba8072 (diff) | |
download | pkgsrc-0373d395156905146604e4690e51801a7da7d32c.tar.gz |
Always define __PIC__ on MirBSD, fixes compilation. No-op on other platforms.
-rw-r--r-- | devel/libatomic_ops/distinfo | 4 | ||||
-rw-r--r-- | devel/libatomic_ops/patches/patch-ac | 13 |
2 files changed, 13 insertions, 4 deletions
diff --git a/devel/libatomic_ops/distinfo b/devel/libatomic_ops/distinfo index 6f7047081c7..98c230ec825 100644 --- a/devel/libatomic_ops/distinfo +++ b/devel/libatomic_ops/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.10 2011/10/04 18:15:29 bsiegert Exp $ +$NetBSD: distinfo,v 1.11 2012/12/28 14:38:59 bsiegert Exp $ SHA1 (libatomic_ops-20110807.tar.gz) = 9cd093513991856b90a2e82e205525dccb3ad52a RMD160 (libatomic_ops-20110807.tar.gz) = ffc834193d51806a890b55de8525c00913878c14 Size (libatomic_ops-20110807.tar.gz) = 239002 bytes SHA1 (patch-ab) = 82366e5ee296ea94e3f495f4962dedc42ea7e7b8 -SHA1 (patch-ac) = 29564426dcf009571d75efde31f1b499e1585a6c +SHA1 (patch-ac) = c084f3b7f2310b4aa3ebfa71a5f44eef27157410 SHA1 (patch-ad) = 3c48f40099f7e23e7575c284679537740c0e2f6a diff --git a/devel/libatomic_ops/patches/patch-ac b/devel/libatomic_ops/patches/patch-ac index 9b802be4ab7..d326c88f1c8 100644 --- a/devel/libatomic_ops/patches/patch-ac +++ b/devel/libatomic_ops/patches/patch-ac @@ -1,6 +1,6 @@ -$NetBSD: patch-ac,v 1.2 2011/10/04 18:15:30 bsiegert Exp $ +$NetBSD: patch-ac,v 1.3 2012/12/28 14:38:59 bsiegert Exp $ ---- configure.ac.orig 2011-06-15 11:41:30.000000000 +0000 +--- configure.ac.orig Wed Jun 15 11:41:06 2011 +++ configure.ac @@ -4,6 +4,7 @@ AC_CANONICAL_TARGET([]) AC_CONFIG_SRCDIR(src/atomic_ops.c) @@ -10,3 +10,12 @@ $NetBSD: patch-ac,v 1.2 2011/10/04 18:15:30 bsiegert Exp $ AM_CONFIG_HEADER(src/config.h) +@@ -26,7 +27,7 @@ if test "$GCC" = yes; then + AC_MSG_RESULT(-fPIC) + PICFLAG=-fPIC + case "$host" in +- *-*-solaris*) ++ *-*-solaris*|*-*-mirbsd*) + # Workaround: at least GCC 3.4.6 does not define this macro. + CFLAGS="$CFLAGS -D__PIC__=1" + ;; |