aboutsummaryrefslogtreecommitdiff
path: root/audio/mp3plot/files
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-05-13 08:47:46 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-05-13 08:47:46 +0000
commit195d68a59ae550bfa068a319e3db94384ec42036 (patch)
tree520e890cd521bddde9a5707f6bf71f9753d25bd3 /audio/mp3plot/files
parente75704a207546e5228df0dc9e17ec5cf096f160e (diff)
Notes
Diffstat (limited to 'audio/mp3plot/files')
-rw-r--r--audio/mp3plot/files/patch-src__macros.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/audio/mp3plot/files/patch-src__macros.h b/audio/mp3plot/files/patch-src__macros.h
new file mode 100644
index 000000000000..1ff355a8acbf
--- /dev/null
+++ b/audio/mp3plot/files/patch-src__macros.h
@@ -0,0 +1,11 @@
+--- src/macros.h.orig 2009-04-14 11:21:18.000000000 +0900
++++ src/macros.h 2009-05-10 02:55:54.000000000 +0900
+@@ -34,7 +34,7 @@
+ // References of interest:
+ // <http://sourcefrog.net/weblog/software/languages/C/unused.html>
+ #ifndef UNUSED_
+-# ifdef __GNUC__
++# if (defined(__GNUC__) && __GNUC__ > 3)
+ # define UNUSED_ __attribute__((unused))
+ # define DEPRECATED_ __attribute__((deprecated))
+ # // MSVC (_MSC_VER) doesn't seem to have an unused attribute (__declspec(...))