File: libsx-rgb.diff

package info (click to toggle)
libsx 2.08-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,716 kB
  • sloc: ansic: 8,713; sh: 8,603; makefile: 62
file content (20 lines) | stat: -rw-r--r-- 544 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Origin: libsx-2.05-18.fc12.src.rpm Fedora package
Description: Don't define RGBTXT twice. Change the path on the Debian version; 
 on fedora its /usr/lib, debian its /etc.
Last-Updated: 2010-05-09
Forwarded: no

Index: libsx-2.08/src/colorsel.c
===================================================================
--- libsx-2.08.orig/src/colorsel.c
+++ libsx-2.08/src/colorsel.c
@@ -12,7 +12,9 @@
 char *SX_ColorSelector_Label[] = {
 };
 
+#ifndef RGBTXT
 #define RGBTXT     "/etc/X11/rgb.txt"
+#endif
 
 #include <stdio.h>
 #include <stdlib.h>