summaryrefslogtreecommitdiff
path: root/emulators/x48/patches
diff options
context:
space:
mode:
authorhe <he>2013-07-09 10:24:22 +0000
committerhe <he>2013-07-09 10:24:22 +0000
commite41f5d03fd4661e2012052b56e6aa29387649371 (patch)
tree6f4b3676db5478e78344bb8d7ac48e332a942cbe /emulators/x48/patches
parent4e7fa7f90186061fc4bcd7da4b8bf47a4362dd6c (diff)
downloadpkgsrc-e41f5d03fd4661e2012052b56e6aa29387649371.tar.gz
Fix problem related to search of X11 application defaults: pick
it up from the path specified in the package Makefile. Also fix the default ROM path fixup so that it actually works. Bump PKGREVISION.
Diffstat (limited to 'emulators/x48/patches')
-rw-r--r--emulators/x48/patches/patch-src_x48_x11.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/emulators/x48/patches/patch-src_x48_x11.c b/emulators/x48/patches/patch-src_x48_x11.c
new file mode 100644
index 00000000000..94e3e6ff79d
--- /dev/null
+++ b/emulators/x48/patches/patch-src_x48_x11.c
@@ -0,0 +1,18 @@
+$NetBSD: patch-src_x48_x11.c,v 1.1 2013/07/09 10:24:22 he Exp $
+
+Pick X11 application defaults from path specified in the package
+Makefile.
+
+--- src/x48_x11.c.orig 2011-11-15 03:03:40.000000000 +0000
++++ src/x48_x11.c
+@@ -1100,8 +1100,9 @@ char **argv;
+ }
+
+ /* 2. /usr/lib/X11/app-defaults/X48 */
++ /* Erm... Rather, get this from package Makefile via CPPFLAGS */
+
+- merge_app_defaults("/usr/lib/X11/app-defaults", &rdb);
++ merge_app_defaults(X11APPDEFS, &rdb);
+
+ /* 3. Values in $XUSERFILESEARCHPATH/X48, or $XAPPLRESDIR/X48 */
+