summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorprlw1 <prlw1@pkgsrc.org>2013-04-30 09:23:09 +0000
committerprlw1 <prlw1@pkgsrc.org>2013-04-30 09:23:09 +0000
commit416655ffb07eb914d5bc262aa399c765c69e4784 (patch)
treea69eb0d4bf6f51f9a2e26c671d82adfa539f94d0 /multimedia
parent69b27190d33ad4ed2aba0a8cc967ca467bab799a (diff)
downloadpkgsrc-416655ffb07eb914d5bc262aa399c765c69e4784.tar.gz
Hack to fix vlc build since locale changes
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/vlc/distinfo3
-rw-r--r--multimedia/vlc/patches/patch-include_vlc_fixups.h17
2 files changed, 19 insertions, 1 deletions
diff --git a/multimedia/vlc/distinfo b/multimedia/vlc/distinfo
index a79971d431e..b774ff7f8a3 100644
--- a/multimedia/vlc/distinfo
+++ b/multimedia/vlc/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.59 2013/04/30 08:42:21 prlw1 Exp $
+$NetBSD: distinfo,v 1.60 2013/04/30 09:23:09 prlw1 Exp $
SHA1 (vlc-1.1.13.tar.bz2) = 05bbc7ff427f3b919b29a45ce014caff9ba92648
RMD160 (vlc-1.1.13.tar.bz2) = c5aa438a9085ddbf28e849df442b75475693290d
@@ -19,4 +19,5 @@ SHA1 (patch-as) = b53b074b2791d7bf69d5f09c7c32d873608f3086
SHA1 (patch-at) = 5761ec0809d2b03511666ae81f7b4ae01b6f5930
SHA1 (patch-au) = 7e1d1e7f2734051fffb988cc4ea01a1a7b264b78
SHA1 (patch-configure.ac) = db79a1e99bf2859eeb2615359db9a30a3eadfb2d
+SHA1 (patch-include_vlc_fixups.h) = 0e17c6749665b4f95bc13a0aff0bc8af9e942c9d
SHA1 (patch-modules_audio__output_pulse.c) = 994389b214f3e2b7b8b7ccaf3bb535a94523f81b
diff --git a/multimedia/vlc/patches/patch-include_vlc_fixups.h b/multimedia/vlc/patches/patch-include_vlc_fixups.h
new file mode 100644
index 00000000000..52994fcb5da
--- /dev/null
+++ b/multimedia/vlc/patches/patch-include_vlc_fixups.h
@@ -0,0 +1,17 @@
+$NetBSD: patch-include_vlc_fixups.h,v 1.3 2013/04/30 09:23:09 prlw1 Exp $
+
+Build fix
+
+--- include/vlc_fixups.h.orig 2011-07-12 18:11:23.000000000 +0000
++++ include/vlc_fixups.h
+@@ -180,7 +180,10 @@ static inline char *getenv (const char *
+ #ifndef HAVE_USELOCALE
+ #define LC_NUMERIC_MASK 0
+ #define LC_MESSAGES_MASK 0
++#include <stdlib.h>
++#ifndef __LOCALE_T_DECLARED
+ typedef void *locale_t;
++#endif
+ static inline locale_t uselocale(locale_t loc)
+ {
+ (void)loc;