diff options
-rw-r--r-- | cad/gattrib/distinfo | 3 | ||||
-rw-r--r-- | cad/gattrib/patches/patch-aa | 24 |
2 files changed, 26 insertions, 1 deletions
diff --git a/cad/gattrib/distinfo b/cad/gattrib/distinfo index 21edbf286ba..770f1775466 100644 --- a/cad/gattrib/distinfo +++ b/cad/gattrib/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.6 2005/03/24 02:05:11 dmcmahill Exp $ +$NetBSD: distinfo,v 1.7 2005/04/29 22:14:46 rillig Exp $ SHA1 (geda/geda-gattrib-20050313.tar.gz) = 9c15fce90ffe18f65e8c8b2167523108af31fdbb RMD160 (geda/geda-gattrib-20050313.tar.gz) = 3d27f337f4e5890e7f82e2547644186344a13e02 Size (geda/geda-gattrib-20050313.tar.gz) = 314382 bytes +SHA1 (patch-aa) = 557c19cf8f86968ebe7905ed21f1d509b7aa5d3d diff --git a/cad/gattrib/patches/patch-aa b/cad/gattrib/patches/patch-aa new file mode 100644 index 00000000000..d7b5da3941b --- /dev/null +++ b/cad/gattrib/patches/patch-aa @@ -0,0 +1,24 @@ +$NetBSD: patch-aa,v 1.5 2005/04/29 22:14:46 rillig Exp $ + +Needed for ISO C90 compliance. + +--- src/gattrib.c.orig Sun Mar 6 00:54:08 2005 ++++ src/gattrib.c Tue Apr 12 02:41:21 2005 +@@ -205,7 +205,7 @@ void gattrib_main(void *closure, int arg + i = argv_index; + while(argv[i] != NULL) { + +- gchar *temp_filename; ++ gchar *temp_filename, *filename; + #ifdef __MINGW32__ + if (argv[i][1] == ':' && (argv[i][2] == G_DIR_SEPARATOR || + argv[i][2] == OTHER_PATH_SEPARATER_CHAR)) +@@ -219,7 +219,7 @@ void gattrib_main(void *closure, int arg + temp_filename = g_build_path (G_DIR_SEPARATOR_S, cwd, argv[i], NULL); + } + +- gchar *filename = f_normalize_filename(temp_filename); ++ filename = f_normalize_filename(temp_filename); + g_free(temp_filename); + + s_log_message("Loading file [%s]\n", filename); |