summaryrefslogtreecommitdiff
path: root/graphics/netpbm/patches
diff options
context:
space:
mode:
authoradam <adam>2010-11-04 10:57:50 +0000
committeradam <adam>2010-11-04 10:57:50 +0000
commit14a38e9903ee2697018c0e3a3e790ae34116bff6 (patch)
tree2b36bb4ac700d4c6a4e01a7ff4dfc4ddb32f6312 /graphics/netpbm/patches
parent9e124440e1470c5c6baa071d1f6b93a8711d3a17 (diff)
downloadpkgsrc-14a38e9903ee2697018c0e3a3e790ae34116bff6.tar.gz
Fix problem finding rgb.txt, PR#43934
Diffstat (limited to 'graphics/netpbm/patches')
-rw-r--r--graphics/netpbm/patches/patch-ai13
1 files changed, 13 insertions, 0 deletions
diff --git a/graphics/netpbm/patches/patch-ai b/graphics/netpbm/patches/patch-ai
new file mode 100644
index 00000000000..d2e39c9bcf6
--- /dev/null
+++ b/graphics/netpbm/patches/patch-ai
@@ -0,0 +1,13 @@
+$NetBSD: patch-ai,v 1.13 2010/11/04 10:57:50 adam Exp $
+
+--- pm_config.in.h.orig 2010-11-04 10:46:22.000000000 +0000
++++ pm_config.in.h
+@@ -68,7 +68,7 @@
+ #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_DB2 "@@PREFIX@@/share/netpbm/rgb.txt"
+ #define RGB_DB3 "/usr/X11R6/lib/X11/rgb.txt"
+ #endif
+