freebsd-ports/cad/geda/files/patch-utils__src__gsch2pcb.c
Hiroki Sato 56f831c7ca - Take maintainership.
- Some style cleanups.
2016-06-09 23:22:43 +00:00

18 lines
739 B
C

--- utils/src/gsch2pcb.c.orig 2013-08-18 06:44:47 UTC
+++ utils/src/gsch2pcb.c
@@ -1397,13 +1397,13 @@ main (gint argc, gchar ** argv)
pcbdata_path = g_getenv ("PCBDATA"); /* do not free return value */
if (pcbdata_path != NULL) {
/* If PCBDATA is set, use the value */
- m4_pcbdir = g_strconcat (pcbdata_path, "/pcb/m4", NULL);
+ m4_pcbdir = g_strconcat (pcbdata_path, "/m4", NULL);
} else {
/* Use the default value passed in from the configure script
* instead of trying to hard code a value which is very
* likely wrong
*/
- m4_pcbdir = g_strconcat (PCBDATADIR, "/pcb/m4", NULL);
+ m4_pcbdir = g_strconcat (PCBDATADIR, "/m4", NULL);
}
default_m4_pcbdir = g_strdup (m4_pcbdir);