diff options
author | drochner <drochner@pkgsrc.org> | 2013-07-22 15:01:33 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2013-07-22 15:01:33 +0000 |
commit | 324a59849f557e731e7cfae465a2cee88d39d95a (patch) | |
tree | 0d5a05bc705549ad6aaf078038cc2511f25f08a0 /multimedia/vlc2/patches | |
parent | 775e9bfb634841ba82841b68fde7e07ce35da667 (diff) | |
download | pkgsrc-324a59849f557e731e7cfae465a2cee88d39d95a.tar.gz |
update to 2.0.7
changes:
-bugfixes
-translation updates
Diffstat (limited to 'multimedia/vlc2/patches')
-rw-r--r-- | multimedia/vlc2/patches/patch-ca | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/multimedia/vlc2/patches/patch-ca b/multimedia/vlc2/patches/patch-ca new file mode 100644 index 00000000000..b4deb53ae5c --- /dev/null +++ b/multimedia/vlc2/patches/patch-ca @@ -0,0 +1,32 @@ +$NetBSD: patch-ca,v 1.1 2013/07/22 15:01:33 drochner Exp $ + +if !HAVE_USELOCALE, just define "uselocale", nothing else +fixes build on NetBSD + +--- include/vlc_fixups.h.orig 2013-06-29 12:47:02.000000000 +0000 ++++ include/vlc_fixups.h +@@ -210,23 +210,12 @@ int unsetenv (const char *); + + /* locale.h */ + #ifndef HAVE_USELOCALE +-#define LC_NUMERIC_MASK 0 +-#define LC_MESSAGES_MASK 0 +-typedef void *locale_t; ++#include <locale.h> + static inline locale_t uselocale(locale_t loc) + { + (void)loc; + return NULL; + } +-static inline void freelocale(locale_t loc) +-{ +- (void)loc; +-} +-static inline locale_t newlocale(int mask, const char * locale, locale_t base) +-{ +- (void)mask; (void)locale; (void)base; +- return NULL; +-} + #endif + + /* Alignment of critical static data structures */ |