wok-4.x view rarian/stuff/user-segfault.patch @ rev 7221
Removed --enable-gl-osmesa in mesa. I hope this doesn't break everything. I think this will fix mesa-demos since archlinux doesn't have --enable-gl-osmesa in there mesa.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Nov 11 01:40:18 2010 +0000 (2010-11-11) |
parents | |
children |
line source
1 --- util/rarian-sk-get-cl.cpp~ 2008-07-28 19:23:28.000000000 +0200
2 +++ util/rarian-sk-get-cl.cpp 2008-07-28 19:23:28.000000000 +0200
3 @@ -160,6 +160,11 @@
4 {
5 char *filename = NULL;
6 char *user = getenv ("USERNAME");
7 +
8 + if (user == NULL) {
9 + user = getenv ("USER");
10 + }
11 +
12 char *basepath = NULL;
13 int i=0;
14 int last = 0;