Commit 22a0e907 authored by Ville Skyttä's avatar Ville Skyttä Committed by Michael Niedermayer

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

Originally committed as revision 5429 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 7f21a9a7
...@@ -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