summary refs log tree commit diff
path: root/pkgs/tools/graphics/netpbm
diff options
context:
space:
mode:
authorRob Vermaas <rob.vermaas@gmail.com>2010-01-27 12:12:35 +0000
committerRob Vermaas <rob.vermaas@gmail.com>2010-01-27 12:12:35 +0000
commit13417770a3f6c5b1fc77fa8211505137f1758570 (patch)
tree77f45f3e20e742ee71f1800fcd9006c6fdd8da6c /pkgs/tools/graphics/netpbm
parent77bf39bf826fe945838e6868ae065ad08c29141c (diff)
downloadnixpkgs-13417770a3f6c5b1fc77fa8211505137f1758570.tar
nixpkgs-13417770a3f6c5b1fc77fa8211505137f1758570.tar.gz
nixpkgs-13417770a3f6c5b1fc77fa8211505137f1758570.tar.bz2
nixpkgs-13417770a3f6c5b1fc77fa8211505137f1758570.tar.lz
nixpkgs-13417770a3f6c5b1fc77fa8211505137f1758570.tar.xz
nixpkgs-13417770a3f6c5b1fc77fa8211505137f1758570.tar.zst
nixpkgs-13417770a3f6c5b1fc77fa8211505137f1758570.zip
applying patches provided by griswold
svn path=/nixpkgs/trunk/; revision=19707
Diffstat (limited to 'pkgs/tools/graphics/netpbm')
-rw-r--r--pkgs/tools/graphics/netpbm/rgbpaths.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/pkgs/tools/graphics/netpbm/rgbpaths.patch b/pkgs/tools/graphics/netpbm/rgbpaths.patch
new file mode 100644
index 00000000000..0e6baa78bfe
--- /dev/null
+++ b/pkgs/tools/graphics/netpbm/rgbpaths.patch
@@ -0,0 +1,16 @@
+diff -Naur advanced.orig/pm_config.in.h advanced/pm_config.in.h
+--- advanced.orig/pm_config.in.h	2010-01-12 22:04:07.000000000 +0100
++++ advanced/pm_config.in.h	2010-01-12 22:05:56.000000000 +0100
+@@ -67,9 +67,9 @@
+ #define RGB_DB2 "PBMplus_Dir:RGB.TXT"
+ #define RGB_DB3 "PBMplus_Dir:RGB.TXT"
+ #else
+-#define RGB_DB1 "/usr/lib/X11/rgb.txt"
+-#define RGB_DB2 "/usr/share/X11/rgb.txt"
+-#define RGB_DB3 "/usr/X11R6/lib/X11/rgb.txt"
++#define RGB_DB1 "@rgbPath1@"
++#define RGB_DB2 "@rgbPath2@"
++#define RGB_DB3 "@rgbPath3@"
+ #endif
+ 
+ /* CONFIGURE: This is the name of an environment variable that tells