summaryrefslogtreecommitdiff
path: root/multimedia/vlc2/patches/patch-at
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/vlc2/patches/patch-at')
-rw-r--r--multimedia/vlc2/patches/patch-at13
1 files changed, 11 insertions, 2 deletions
diff --git a/multimedia/vlc2/patches/patch-at b/multimedia/vlc2/patches/patch-at
index 35391e9f853..14b518db1ba 100644
--- a/multimedia/vlc2/patches/patch-at
+++ b/multimedia/vlc2/patches/patch-at
@@ -1,6 +1,6 @@
-$NetBSD: patch-at,v 1.1.1.1 2012/02/21 12:49:43 drochner Exp $
+$NetBSD: patch-at,v 1.2 2012/02/24 17:24:18 wiz Exp $
---- bin/override.c.orig 2012-02-19 10:05:26.000000000 +0000
+--- bin/override.c.orig 2011-12-08 18:00:25.000000000 +0000
+++ bin/override.c
@@ -27,7 +27,7 @@
@@ -11,3 +11,12 @@ $NetBSD: patch-at,v 1.1.1.1 2012/02/21 12:49:43 drochner Exp $
&& (defined (__ELF__) && !defined (__sun__))
/* Solaris crashes on printf("%s", NULL); which is legal, but annoying. */
+@@ -124,7 +124,7 @@ static void *getsym (const char *name)
+ *
+ * Some evil libraries modify the environment. We currently ignore the calls as
+ * they could crash the process. This may cause funny behaviour though. */
+-int putenv (char *str)
++int putenv (const char *str)
+ {
+ if (override)
+ {