diff options
author | joerg <joerg@pkgsrc.org> | 2013-04-29 21:31:09 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-04-29 21:31:09 +0000 |
commit | 6e046ee9d87a4b818e73943146107b522dc94508 (patch) | |
tree | b710080e6271cb564fc3ba34cc7bac3fab429e6d /audio/libtunepimp/patches | |
parent | 0a5f84a912074adb51a614e31607e7ab495cc90a (diff) | |
download | pkgsrc-6e046ee9d87a4b818e73943146107b522dc94508.tar.gz |
Add a number of includes hidden by libstdc++'s name space pollution.
Diffstat (limited to 'audio/libtunepimp/patches')
-rw-r--r-- | audio/libtunepimp/patches/patch-lib_write.cpp | 12 | ||||
-rw-r--r-- | audio/libtunepimp/patches/patch-plugins_vorbis_vorbis__meta.cpp | 12 |
2 files changed, 24 insertions, 0 deletions
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> |