summaryrefslogtreecommitdiff
path: root/user/rarian/user-segfault.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-06 04:18:55 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-06 04:18:55 -0500
commitc9c910acf3a788adc698efd71a5a5bbf64844b02 (patch)
tree2694fd074bf139ca3a0fcbb38b7142f8762d5c03 /user/rarian/user-segfault.patch
parent0d465b679ec96ac25ae079d28a26e9487f92c160 (diff)
downloadpackages-c9c910acf3a788adc698efd71a5a5bbf64844b02.tar.gz
packages-c9c910acf3a788adc698efd71a5a5bbf64844b02.tar.bz2
packages-c9c910acf3a788adc698efd71a5a5bbf64844b02.tar.xz
packages-c9c910acf3a788adc698efd71a5a5bbf64844b02.zip
user/rarian: pull in, fix
Diffstat (limited to 'user/rarian/user-segfault.patch')
-rw-r--r--user/rarian/user-segfault.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/user/rarian/user-segfault.patch b/user/rarian/user-segfault.patch
new file mode 100644
index 000000000..29ab1e52c
--- /dev/null
+++ b/user/rarian/user-segfault.patch
@@ -0,0 +1,14 @@
+--- rarian-0.8.1/util/rarian-sk-get-cl.cpp~ 2008-07-28 19:23:28.000000000 +0200
++++ rarian-0.8.1/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;