mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-23 22:52:34 +01:00
fix portability bug for non-X11R6 systems
This commit is contained in:
@@ -103,3 +103,6 @@ libWINGs_a_SOURCES = \
|
|||||||
INCLUDES = -I$(top_srcdir)/wrlib -I$(top_srcdir)/src \
|
INCLUDES = -I$(top_srcdir)/wrlib -I$(top_srcdir)/src \
|
||||||
-DRESOURCE_PATH=\"$(datadir)/WINGs\" @HEADER_SEARCH_PATH@ -DDEBUG
|
-DRESOURCE_PATH=\"$(datadir)/WINGs\" @HEADER_SEARCH_PATH@ -DDEBUG
|
||||||
|
|
||||||
|
|
||||||
|
wcolorpanel.o: wcolorpanel.c
|
||||||
|
$(COMPILE) -c -DRGBTXT="@X_LIBRARY_PATH@/X11/rgb.txt" $<
|
||||||
|
|||||||
@@ -257,7 +257,10 @@ enum {
|
|||||||
|
|
||||||
#undef EASTEREGG
|
#undef EASTEREGG
|
||||||
|
|
||||||
|
#ifndef RGBTXT
|
||||||
#define RGBTXT "/usr/X11R6/lib/X11/rgb.txt"
|
#define RGBTXT "/usr/X11R6/lib/X11/rgb.txt"
|
||||||
|
#endif
|
||||||
|
|
||||||
#define MAX_LENGTH 1024
|
#define MAX_LENGTH 1024
|
||||||
|
|
||||||
static int fetchFile(char* toPath, char *imageSrcFile,
|
static int fetchFile(char* toPath, char *imageSrcFile,
|
||||||
|
|||||||
Reference in New Issue
Block a user