Commit 47d2238c authored by michael's avatar michael

Support modular X11 path to rgb.txt patch by (Ville Skyttä - scop from SF-bugtracker)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5429 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 99d4faf7
...@@ -144,6 +144,8 @@ int Configure(void **ctxp, int argc, char *argv[]) ...@@ -144,6 +144,8 @@ int Configure(void **ctxp, int argc, char *argv[])
char buff[256]; char buff[256];
int done = 0; int done = 0;
f = fopen("/usr/share/X11/rgb.txt", "r");
if (!f)
f = fopen("/usr/lib/X11/rgb.txt", "r"); f = fopen("/usr/lib/X11/rgb.txt", "r");
if (!f) { if (!f) {
fprintf(stderr, "Failed to find rgb.txt\n"); fprintf(stderr, "Failed to find rgb.txt\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment