diff options
author | joerg <joerg@pkgsrc.org> | 2015-01-29 21:30:35 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2015-01-29 21:30:35 +0000 |
commit | 4f49a1be957c87884f5a4666547ce6f1619979e8 (patch) | |
tree | b5e2e4ccdb667bebc062e7c5bf4acbd7761e2b75 /misc/fd | |
parent | 2e42d6650a6b760c0f0401002ad46095e5bffa56 (diff) | |
download | pkgsrc-4f49a1be957c87884f5a4666547ce6f1619979e8.tar.gz |
Don't kill attributes when building with clang.
Diffstat (limited to 'misc/fd')
-rw-r--r-- | misc/fd/distinfo | 4 | ||||
-rw-r--r-- | misc/fd/patches/patch-machine.h | 11 |
2 files changed, 12 insertions, 3 deletions
diff --git a/misc/fd/distinfo b/misc/fd/distinfo index 2f6b6fcbf9a..f2547637f3e 100644 --- a/misc/fd/distinfo +++ b/misc/fd/distinfo @@ -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 --git a/misc/fd/patches/patch-machine.h b/misc/fd/patches/patch-machine.h index c94cdaf76c0..42d8847d34b 100644 --- a/misc/fd/patches/patch-machine.h +++ b/misc/fd/patches/patch-machine.h @@ -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 @@ $NetBSD: patch-machine.h,v 1.1 2015/01/06 11:24:58 ryoon Exp $ #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 |