summaryrefslogtreecommitdiff
path: root/audio/libtunepimp
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2013-04-29 21:31:09 +0000
committerjoerg <joerg@pkgsrc.org>2013-04-29 21:31:09 +0000
commit6e046ee9d87a4b818e73943146107b522dc94508 (patch)
treeb710080e6271cb564fc3ba34cc7bac3fab429e6d /audio/libtunepimp
parent0a5f84a912074adb51a614e31607e7ab495cc90a (diff)
downloadpkgsrc-6e046ee9d87a4b818e73943146107b522dc94508.tar.gz
Add a number of includes hidden by libstdc++'s name space pollution.
Diffstat (limited to 'audio/libtunepimp')
-rw-r--r--audio/libtunepimp/distinfo4
-rw-r--r--audio/libtunepimp/patches/patch-lib_write.cpp12
-rw-r--r--audio/libtunepimp/patches/patch-plugins_vorbis_vorbis__meta.cpp12
3 files changed, 27 insertions, 1 deletions
diff --git a/audio/libtunepimp/distinfo b/audio/libtunepimp/distinfo
index d040ba8dc01..d7386f38a40 100644
--- a/audio/libtunepimp/distinfo
+++ b/audio/libtunepimp/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.13 2011/07/02 21:33:09 markd Exp $
+$NetBSD: distinfo,v 1.14 2013/04/29 21:31:09 joerg Exp $
SHA1 (libtunepimp-0.5.3.tar.gz) = 1b904cd97ce009588fe57336f40e79b6edf9947e
RMD160 (libtunepimp-0.5.3.tar.gz) = 6bc312591b98a5b74824fc3103137cbf60d4b012
@@ -20,3 +20,5 @@ SHA1 (patch-an) = cbd5466e85dbfd38974759033b59a6147a2e62ba
SHA1 (patch-ao) = 589faf81480e89c310fe1ae199e15657723923dc
SHA1 (patch-ap) = cbbdc7d28ca083ec51720370bf4cbe81ec475609
SHA1 (patch-configure) = c7dad50002b3bf8460e5c5bf5c708dc32f3dd38d
+SHA1 (patch-lib_write.cpp) = a5bddad371c85055dd40be0cb9a0e385b0065d9c
+SHA1 (patch-plugins_vorbis_vorbis__meta.cpp) = 3dd73ce8802177f5e2862335f8e09093091333ec
diff --git a/audio/libtunepimp/patches/patch-lib_write.cpp b/audio/libtunepimp/patches/patch-lib_write.cpp
new file mode 100644
index 00000000000..57d5f9b03cf
--- /dev/null
+++ b/audio/libtunepimp/patches/patch-lib_write.cpp
@@ -0,0 +1,12 @@
+$NetBSD: patch-lib_write.cpp,v 1.1 2013/04/29 21:31:09 joerg Exp $
+
+--- lib/write.cpp.orig 2013-04-28 12:27:41.000000000 +0000
++++ lib/write.cpp
+@@ -35,6 +35,7 @@
+ # include <sys/stat.h>
+ # include <sys/types.h>
+ # include <fcntl.h>
++# include <stdlib.h>
+ # if defined(__APPLE__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
+ # include <sys/param.h>
+ # include <sys/mount.h>
diff --git a/audio/libtunepimp/patches/patch-plugins_vorbis_vorbis__meta.cpp b/audio/libtunepimp/patches/patch-plugins_vorbis_vorbis__meta.cpp
new file mode 100644
index 00000000000..bcd2f342cc7
--- /dev/null
+++ b/audio/libtunepimp/patches/patch-plugins_vorbis_vorbis__meta.cpp
@@ -0,0 +1,12 @@
+$NetBSD: patch-plugins_vorbis_vorbis__meta.cpp,v 1.1 2013/04/29 21:31:09 joerg Exp $
+
+--- plugins/vorbis/vorbis_meta.cpp.orig 2013-04-28 12:32:18.000000000 +0000
++++ plugins/vorbis/vorbis_meta.cpp
+@@ -40,6 +40,7 @@
+ # include <unistd.h>
+ #endif
+
++#include <stdlib.h>
+ #include <stdio.h>
+ #include <math.h>
+ #include <assert.h>