diff options
author | slakmagik <jsun@freeshell.org> | 2010-05-11 20:01:07 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-11 20:01:07 +0200 |
commit | eeede0876fa6d55170e1ee083fd3d991f2bc8fe7 (patch) | |
tree | 34a046484101cd5c6a071c86cf96667d058beaef /misc/gcolor2/rgb.patch | |
parent | c709334874b9ccc11c7a0510b6ae424810a1416b (diff) | |
download | slackbuilds-eeede0876fa6d55170e1ee083fd3d991f2bc8fe7.tar.gz |
misc/gcolor2: Added to 12.0 repository
Diffstat (limited to 'misc/gcolor2/rgb.patch')
-rw-r--r-- | misc/gcolor2/rgb.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/misc/gcolor2/rgb.patch b/misc/gcolor2/rgb.patch new file mode 100644 index 0000000000..60c2830515 --- /dev/null +++ b/misc/gcolor2/rgb.patch @@ -0,0 +1,23 @@ +diff -Naur gcolor2-0.4.orig/src/callbacks.h gcolor2-0.4/src/callbacks.h +--- gcolor2-0.4.orig/src/callbacks.h 2005-07-11 19:18:59.000000000 -0400 ++++ gcolor2-0.4/src/callbacks.h 2008-03-11 03:59:49.000000000 -0400 +@@ -12,6 +12,7 @@ + #define SYSTEM_FILE_2 "/usr/lib/X11/rgb.txt" + #define SYSTEM_FILE_3 "/etc/X11/rgb.txt" + #define SYSTEM_FILE_4 "/usr/openwin/lib/X11/rgb.txt" ++#define SYSTEM_FILE_5 "/usr/share/X11/rgb.txt" + + /* about dialog text */ + #define ABOUT_CREDITS_TEXT "Developer:\n" \ +diff -Naur gcolor2-0.4.orig/src/main.c gcolor2-0.4/src/main.c +--- gcolor2-0.4.orig/src/main.c 2005-07-11 10:55:49.000000000 -0400 ++++ gcolor2-0.4/src/main.c 2008-03-11 04:00:12.000000000 -0400 +@@ -36,6 +36,8 @@ + sys_filename = SYSTEM_FILE_3; + else if (g_file_test (SYSTEM_FILE_4, G_FILE_TEST_EXISTS)) + sys_filename = SYSTEM_FILE_4; ++ else if (g_file_test (SYSTEM_FILE_5, G_FILE_TEST_EXISTS)) ++ sys_filename = SYSTEM_FILE_5; + else + return FALSE; + return TRUE; |