Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/cad/geda/files/patch-utils__src__gsch2pcb.c
16461 views
1
--- utils/src/gsch2pcb.c.orig 2013-08-18 06:44:47 UTC
2
+++ utils/src/gsch2pcb.c
3
@@ -1397,13 +1397,13 @@ main (gint argc, gchar ** argv)
4
pcbdata_path = g_getenv ("PCBDATA"); /* do not free return value */
5
if (pcbdata_path != NULL) {
6
/* If PCBDATA is set, use the value */
7
- m4_pcbdir = g_strconcat (pcbdata_path, "/pcb/m4", NULL);
8
+ m4_pcbdir = g_strconcat (pcbdata_path, "/m4", NULL);
9
} else {
10
/* Use the default value passed in from the configure script
11
* instead of trying to hard code a value which is very
12
* likely wrong
13
*/
14
- m4_pcbdir = g_strconcat (PCBDATADIR, "/pcb/m4", NULL);
15
+ m4_pcbdir = g_strconcat (PCBDATADIR, "/m4", NULL);
16
}
17
18
default_m4_pcbdir = g_strdup (m4_pcbdir);
19
20