aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorjwd <jwd@FreeBSD.org>2001-11-21 13:22:59 +0800
committerjwd <jwd@FreeBSD.org>2001-11-21 13:22:59 +0800
commitce7bfb64df7cfc9dfe1930e22c8e3b1874f7bbeb (patch)
treee921baea49b44f77adc4c1ae3b12c35cc1dc294a /net
parent2f1dcee363d1d7af1e824c348f13d708a777de8f (diff)
downloadfreebsd-ports-gnome-ce7bfb64df7cfc9dfe1930e22c8e3b1874f7bbeb.tar.gz
freebsd-ports-gnome-ce7bfb64df7cfc9dfe1930e22c8e3b1874f7bbeb.tar.zst
freebsd-ports-gnome-ce7bfb64df7cfc9dfe1930e22c8e3b1874f7bbeb.zip
One too many "/zephyr/"s in the default config file location.
PR: ports/30491 Submitted by: sasdrq@unx.sas.com
Diffstat (limited to 'net')
-rw-r--r--net/zephyr/files/patch-af38
1 files changed, 38 insertions, 0 deletions
diff --git a/net/zephyr/files/patch-af b/net/zephyr/files/patch-af
new file mode 100644
index 000000000000..ac3987a520d2
--- /dev/null
+++ b/net/zephyr/files/patch-af
@@ -0,0 +1,38 @@
+--- zwgc/main.c.orig Fri Jan 22 18:20:22 1999
++++ zwgc/main.c Tue Nov 20 13:57:24 2001
+@@ -141,7 +141,7 @@
+
+ /* var_clear_all_variables(); <<<>>> */
+
+- sprintf(defdesc, "%s/zephyr/%s", DATADIR, DEFDESC);
++ sprintf(defdesc, "%s/%s", DATADIR, DEFDESC);
+ input_file = locate_file(description_filename_override, USRDESC, defdesc);
+ if (input_file)
+ program = parse_file(input_file);
+--- zwgc/X_driver.c.orig Fri Jan 22 18:20:06 1999
++++ zwgc/X_driver.c Tue Nov 20 13:57:56 2001
+@@ -264,7 +264,7 @@
+ return(1);
+
+ /* Read in our application-specific resources: */
+- sprintf(dbasename, "%s/zephyr/zwgc_resources", DATADIR);
++ sprintf(dbasename, "%s/zwgc_resources", DATADIR);
+ temp_db1 = XrmGetFileDatabase(dbasename);
+
+ /*
+--- clients/xzwrite/interface.c.orig Thu Apr 30 16:03:32 1998
++++ clients/xzwrite/interface.c Tue Nov 20 13:58:24 2001
+@@ -140,11 +140,11 @@
+ strlen(DATADIR) + 12);
+ if (path2 != NULL) {
+ #ifdef HAVE_PUTENV
+- sprintf(path2, "XFILESEARCHPATH=%s:%s/zephyr/%%N", path1,
++ sprintf(path2, "XFILESEARCHPATH=%s:%s/%%N", path1,
+ DATADIR);
+ putenv(path2);
+ #else
+- sprintf(path2, "%s:%s/zephyr/%%N", path1, DATADIR);
++ sprintf(path2, "%s:%s/%%N", path1, DATADIR);
+ setenv("XFILESEARCHPATH", path2, 1);
+ free(path2);
+ #endif