freebsd-ports/graphics/Mesa3/files/patch-ae
Maxim Sobolev 6bea222dd5 Fix a place where Mesa looks for mesa.conf - it should be ${PREFIX}/etc/mesa.conf,
not /etc/mesa.conf.

PR:		17678
Submitted by:	Mario Sergio Fujikawa Ferreira <lioux@uol.com.br>
2000-09-11 12:58:15 +00:00

12 lines
343 B
Plaintext

--- src/config.c 2000/09/11 12:25:04 1.1
+++ src/config.c 2000/09/11 12:25:27
@@ -406,7 +406,7 @@
#if defined(__WIN32__) || defined(__MSDOS__)
const char *filename = "mesa.cnf";
#else
- const char *filename = "/etc/mesa.conf";
+ const char *filename = "%%PREFIX%%/etc/mesa.conf";
#endif
FILE *file;
struct cnode *list;