summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/rarian/user-segfault.patch
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-01-14 05:23:14 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-01-14 05:23:14 (GMT)
commit7f188658c1e6a9eaf4d9644bc725c78c3f6cc5c6 (patch)
tree06fe118c0a42902b81ba2ce2b311e0c865b0aa3f /abs/extra-testing/rarian/user-segfault.patch
parent95cf6290d2172b876965de46d78db8ac5d6f6192 (diff)
downloadlinhes_pkgbuild-7f188658c1e6a9eaf4d9644bc725c78c3f6cc5c6.zip
linhes_pkgbuild-7f188658c1e6a9eaf4d9644bc725c78c3f6cc5c6.tar.gz
linhes_pkgbuild-7f188658c1e6a9eaf4d9644bc725c78c3f6cc5c6.tar.bz2
Various packages needed for deps of Miro.
Diffstat (limited to 'abs/extra-testing/rarian/user-segfault.patch')
-rw-r--r--abs/extra-testing/rarian/user-segfault.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/abs/extra-testing/rarian/user-segfault.patch b/abs/extra-testing/rarian/user-segfault.patch
new file mode 100644
index 0000000..3311cec
--- /dev/null
+++ b/abs/extra-testing/rarian/user-segfault.patch
@@ -0,0 +1,14 @@
+--- util/rarian-sk-get-cl.cpp~ 2008-07-28 19:23:28.000000000 +0200
++++ util/rarian-sk-get-cl.cpp 2008-07-28 19:23:28.000000000 +0200
+@@ -160,6 +160,11 @@
+ {
+ char *filename = NULL;
+ char *user = getenv ("USERNAME");
++
++ if (user == NULL) {
++ user = getenv ("USER");
++ }
++
+ char *basepath = NULL;
+ int i=0;
+ int last = 0;