pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/gimp-ufraw Add patch to move variable declara...
details: https://anonhg.NetBSD.org/pkgsrc/rev/566b8d46abf3
branches: trunk
changeset: 500223:566b8d46abf3
user: gdt <gdt%pkgsrc.org@localhost>
date: Tue Oct 04 12:58:13 2005 +0000
description:
Add patch to move variable declaration to beginning of function where
it belongs, and where gcc 2.95.3 insists on it being. Fixes build on
NetBSD 1.6.2.
(I have committed the patch (and the memmem decl patch) to the master
ufraw repository.)
diffstat:
graphics/gimp-ufraw/Makefile | 4 ++--
graphics/gimp-ufraw/distinfo | 3 ++-
graphics/gimp-ufraw/patches/patch-ac | 21 +++++++++++++++++++++
3 files changed, 25 insertions(+), 3 deletions(-)
diffs (52 lines):
diff -r d9e797e0614e -r 566b8d46abf3 graphics/gimp-ufraw/Makefile
--- a/graphics/gimp-ufraw/Makefile Tue Oct 04 12:48:08 2005 +0000
+++ b/graphics/gimp-ufraw/Makefile Tue Oct 04 12:58:13 2005 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.10 2005/09/29 13:20:48 gdt Exp $
+# $NetBSD: Makefile,v 1.11 2005/10/04 12:58:13 gdt Exp $
DISTNAME= ufraw-0.5
PKGNAME= gimp-${DISTNAME}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ufraw/}
diff -r d9e797e0614e -r 566b8d46abf3 graphics/gimp-ufraw/distinfo
--- a/graphics/gimp-ufraw/distinfo Tue Oct 04 12:48:08 2005 +0000
+++ b/graphics/gimp-ufraw/distinfo Tue Oct 04 12:58:13 2005 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.9 2005/09/29 13:20:48 gdt Exp $
+$NetBSD: distinfo,v 1.10 2005/10/04 12:58:13 gdt Exp $
SHA1 (ufraw-0.5.tar.gz) = dc6d89157acd25d84ee48148772d6800dfb4eb1c
RMD160 (ufraw-0.5.tar.gz) = 5cfe6be92507b81996d98fa6ddedc1de34a1ba52
Size (ufraw-0.5.tar.gz) = 284234 bytes
SHA1 (patch-aa) = 1ef87b4f0429b01338957b2e0203fd7cb95f08e1
SHA1 (patch-ab) = ece7b54ed6e2209dd4654bc9c29d07c2c5db3e0a
+SHA1 (patch-ac) = 5ff3907f1683526946f15baa0928facffd5f31d1
diff -r d9e797e0614e -r 566b8d46abf3 graphics/gimp-ufraw/patches/patch-ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/gimp-ufraw/patches/patch-ac Tue Oct 04 12:58:13 2005 +0000
@@ -0,0 +1,21 @@
+$NetBSD: patch-ac,v 1.3 2005/10/04 12:58:13 gdt Exp $
+
+--- ufraw.c.orig 2005-08-29 18:53:28.000000000 -0400
++++ ufraw.c
+@@ -30,6 +30,7 @@ int main (int argc, char **argv)
+ int status;
+ GtkWidget *dummyWindow=NULL;
+ const char *locale;
++ int optInd;
+
+ ufraw_binary = g_path_get_basename(argv[0]);
+
+@@ -65,7 +66,7 @@ int main (int argc, char **argv)
+ g_strlcpy(rc.outputFilename, "", max_path);
+
+ /* Put the command-line options in cmd */
+- int optInd = ufraw_process_args(&argc, &argv, &cmd, &rc);
++ optInd = ufraw_process_args(&argc, &argv, &cmd, &rc);
+ if (strlen(cmd.outputFilename)!=0) {
+ ufraw_message(UFRAW_ERROR,
+ "--output option is valid only in batch mode");
Home |
Main Index |
Thread Index |
Old Index