mesa3d-32: Fixes path issue with Unigine products /usr/etc/drirc, found by tilman
This commit is contained in:
parent
0cd9474ec0
commit
93d30b5b7f
@ -1 +1,2 @@
|
||||
f68cb7ab3b59e5b6ed5803e0e28a7bd4 MesaLib-10.3.6.tar.bz2
|
||||
aaefe1a2e95c9709bdb12986b6fdbdb2 mesa3d-10.3.6-xmlconfig-path.patch
|
||||
|
@ -5,8 +5,9 @@
|
||||
|
||||
name=mesa3d-32
|
||||
version=10.3.6
|
||||
release=1
|
||||
source=(ftp://ftp.freedesktop.org/pub/mesa/$version/MesaLib-$version.tar.bz2)
|
||||
release=2
|
||||
source=(ftp://ftp.freedesktop.org/pub/mesa/$version/MesaLib-$version.tar.bz2
|
||||
mesa3d-10.3.6-xmlconfig-path.patch)
|
||||
|
||||
build() {
|
||||
cd Mesa-$version
|
||||
@ -16,6 +17,7 @@ build() {
|
||||
sed -i -e 's|llvm-config|llvm-config-32|g' $f
|
||||
done
|
||||
|
||||
patch -p1 -i $SRC/mesa3d-10.3.6-xmlconfig-path.patch
|
||||
autoreconf --install --symlink
|
||||
|
||||
./configure \
|
||||
|
15
mesa3d-32/mesa3d-10.3.6-xmlconfig-path.patch
Normal file
15
mesa3d-32/mesa3d-10.3.6-xmlconfig-path.patch
Normal file
@ -0,0 +1,15 @@
|
||||
# Fixes path issue with Unigine products /usr/etc/drirc
|
||||
# Reported by Tilman
|
||||
diff --git a/src/mesa/drivers/dri/common/xmlconfig.c b/src/mesa/drivers/dri/common/xmlconfig.c
|
||||
index d69eb01..e0fc906 100644
|
||||
--- a/src/mesa/drivers/dri/common/xmlconfig.c
|
||||
+++ b/src/mesa/drivers/dri/common/xmlconfig.c
|
||||
@@ -934,7 +934,7 @@ static void parseOneConfigFile (XML_Parser p) {
|
||||
|
||||
void driParseConfigFiles (driOptionCache *cache, const driOptionCache *info,
|
||||
int screenNum, const char *driverName) {
|
||||
- char *filenames[2] = {"/etc/drirc", NULL};
|
||||
+ char *filenames[2] = {"/usr/etc/drirc", NULL};
|
||||
char *home;
|
||||
uint32_t i;
|
||||
struct OptConfData userData;
|
Loading…
x
Reference in New Issue
Block a user