pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/cad/gattrib Added compatibility patch for ISO C90. App...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/784d3ce60c2b
branches:  trunk
changeset: 493215:784d3ce60c2b
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Fri Apr 29 22:14:46 2005 +0000

description:
Added compatibility patch for ISO C90. Approved by wiz.

diffstat:

 cad/gattrib/distinfo         |   3 ++-
 cad/gattrib/patches/patch-aa |  24 ++++++++++++++++++++++++
 2 files changed, 26 insertions(+), 1 deletions(-)

diffs (39 lines):

diff -r c6f2464da108 -r 784d3ce60c2b cad/gattrib/distinfo
--- a/cad/gattrib/distinfo      Fri Apr 29 19:46:52 2005 +0000
+++ b/cad/gattrib/distinfo      Fri Apr 29 22:14:46 2005 +0000
@@ -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 -r c6f2464da108 -r 784d3ce60c2b cad/gattrib/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/cad/gattrib/patches/patch-aa      Fri Apr 29 22:14:46 2005 +0000
@@ -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);



Home | Main Index | Thread Index | Old Index