summaryrefslogtreecommitdiffstats
path: root/main/util-linux/program-invocation.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-08-30 08:07:06 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-08-30 11:46:09 +0000
commit84381d73914e05032f66e3f3adcb1abebe106030 (patch)
tree6efb6a544ccdda4b4cc6c8d5a3e1cd104d028600 /main/util-linux/program-invocation.patch
parent47e8b1a82b77054a9142c98f713d4a72f1fa696d (diff)
downloadaports-84381d73914e05032f66e3f3adcb1abebe106030.tar.bz2
aports-84381d73914e05032f66e3f3adcb1abebe106030.tar.xz
main/util-linux: renamed from util-linux-ng and upgrade to 2.20
Diffstat (limited to 'main/util-linux/program-invocation.patch')
-rw-r--r--main/util-linux/program-invocation.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/util-linux/program-invocation.patch b/main/util-linux/program-invocation.patch
new file mode 100644
index 000000000..c81f97e36
--- /dev/null
+++ b/main/util-linux/program-invocation.patch
@@ -0,0 +1,11 @@
+--- util-linux-2.19.1.orig/include/c.h
++++ util-linux-2.19.1/include/c.h
+@@ -115,7 +115,7 @@
+
+ #ifndef HAVE_PROGRAM_INVOCATION_SHORT_NAME
+ # ifdef HAVE___PROGNAME
+-extern char *__progname;
++extern const char *__progname;
+ # define program_invocation_short_name __progname
+ # else
+ # include <string.h>