pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/fd Don't kill attributes when building with clang.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2ffec7e96851
branches:  trunk
changeset: 645532:2ffec7e96851
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Jan 29 21:30:35 2015 +0000

description:
Don't kill attributes when building with clang.

diffstat:

 misc/fd/distinfo                |   4 ++--
 misc/fd/patches/patch-machine.h |  11 ++++++++++-
 2 files changed, 12 insertions(+), 3 deletions(-)

diffs (35 lines):

diff -r 59bda448c52f -r 2ffec7e96851 misc/fd/distinfo
--- a/misc/fd/distinfo  Thu Jan 29 21:29:32 2015 +0000
+++ b/misc/fd/distinfo  Thu Jan 29 21:30:35 2015 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.12 2015/01/06 11:24:17 ryoon Exp $
+$NetBSD: distinfo,v 1.13 2015/01/29 21:30:35 joerg Exp $
 
 SHA1 (FD-3.01b.tar.gz) = 01a0174d0409a246c2caf34e901a1d51f9e45519
 RMD160 (FD-3.01b.tar.gz) = 50ac94ed1e8a93a9a0001038ab6517e89031ea4a
 Size (FD-3.01b.tar.gz) = 953287 bytes
 SHA1 (patch-Makefile.in) = cfb4ff0519b7b1eb158476ffa976060af9e20c6e
-SHA1 (patch-machine.h) = 5d788925b056b6cf187519721d72f79d275d64a4
+SHA1 (patch-machine.h) = 094bd6c4de6d336fbed60c1924da661407cb86ca
diff -r 59bda448c52f -r 2ffec7e96851 misc/fd/patches/patch-machine.h
--- a/misc/fd/patches/patch-machine.h   Thu Jan 29 21:29:32 2015 +0000
+++ b/misc/fd/patches/patch-machine.h   Thu Jan 29 21:30:35 2015 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-machine.h,v 1.1 2015/01/06 11:24:58 ryoon Exp $
+$NetBSD: patch-machine.h,v 1.2 2015/01/29 21:30:35 joerg Exp $
 
 * Force the use of -ltermcap and let BUILDLINK_TRANSFORM sort out the right
  library to use.
@@ -18,3 +18,12 @@
  #define       USELEAPCNT
  #define       USEFFSTYPE
  #define       USERE_COMP
+@@ -1210,7 +1212,7 @@ typedef long     off_t;
+ #define       USEGETGROUPS
+ #endif
+ 
+-#if   (!defined (__GNUC__) || defined (__clang__)) \
++#if   (!defined (__GNUC__) && !defined (__clang__)) \
+ && !defined (__attribute__)
+ #define       __attribute__(x)
+ #endif



Home | Main Index | Thread Index | Old Index