pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/print/gv Define ENODATA (if not defined) in patch-ad.
details: https://anonhg.NetBSD.org/pkgsrc/rev/bc60e69d60a4
branches: trunk
changeset: 489609:bc60e69d60a4
user: reed <reed%pkgsrc.org@localhost>
date: Thu Feb 24 07:43:30 2005 +0000
description:
Define ENODATA (if not defined) in patch-ad.
Also make it work with older gcc (patch-aa).
diffstat:
print/gv/distinfo | 5 +++--
print/gv/patches/patch-aa | 16 +++++++++-------
print/gv/patches/patch-ad | 14 ++++++++++++++
3 files changed, 26 insertions(+), 9 deletions(-)
diffs (64 lines):
diff -r 5bc5e67091c6 -r bc60e69d60a4 print/gv/distinfo
--- a/print/gv/distinfo Thu Feb 24 06:36:18 2005 +0000
+++ b/print/gv/distinfo Thu Feb 24 07:43:30 2005 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.10 2004/12/30 21:04:25 snj Exp $
+$NetBSD: distinfo,v 1.11 2005/02/24 07:43:30 reed Exp $
SHA1 (gv-3.6.1.tar.gz) = a094d019772e11c6003cc8682c945b7b9bc700b7
Size (gv-3.6.1.tar.gz) = 453921 bytes
-SHA1 (patch-aa) = b494958693116143084279e306491fa49cd5386f
+SHA1 (patch-aa) = 2034f06c3297af89bc06b2eba10c1828168b1b33
SHA1 (patch-ab) = 1b97781ebbf51447d0cddd04f6bce30c42187294
SHA1 (patch-ac) = eb1007d4a10b7e9bfcfa22ecd19d2694914ab208
+SHA1 (patch-ad) = 69378625f582e823e6ec0e68fce254f87f61b1d3
diff -r 5bc5e67091c6 -r bc60e69d60a4 print/gv/patches/patch-aa
--- a/print/gv/patches/patch-aa Thu Feb 24 06:36:18 2005 +0000
+++ b/print/gv/patches/patch-aa Thu Feb 24 07:43:30 2005 +0000
@@ -1,19 +1,21 @@
-$NetBSD: patch-aa,v 1.12 2004/12/30 21:04:25 snj Exp $
+$NetBSD: patch-aa,v 1.13 2005/02/24 07:43:30 reed Exp $
---- src/main.c.orig 2004-12-06 15:36:57.000000000 -0800
-+++ src/main.c 2004-12-30 12:32:38.000000000 -0800
-@@ -321,6 +321,7 @@ int main(argc, argv)
+--- src/main.c.orig Mon Dec 6 15:36:57 2004
++++ src/main.c
+@@ -321,6 +321,8 @@ int main(argc, argv)
Dimension maximum_width,maximum_height;
unsigned int gwidth=0,gheight=0;
int dim_forced;
-+ int c;
++ int opt_counter = 0;
++ int c;
/*### initializing global variables ####################################*/
-@@ -420,7 +421,6 @@ int main(argc, argv)
+@@ -419,8 +421,6 @@ int main(argc, argv)
+ }
/*### Manage GNU command line arguments ########################*/
- int opt_counter = 0;
+- int opt_counter = 0;
- int c;
while ((c = getopt_long (argc, argv, "vhu", GNU_longOptions, NULL))
!= -1)
diff -r 5bc5e67091c6 -r bc60e69d60a4 print/gv/patches/patch-ad
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/gv/patches/patch-ad Thu Feb 24 07:43:30 2005 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-ad,v 1.4 2005/02/24 07:43:30 reed Exp $
+
+--- src/file.c.orig Tue Dec 7 15:37:40 2004
++++ src/file.c
+@@ -296,6 +296,9 @@ file_fileIsNotUseful(fn)
+ errno = EISDIR;
+ } else if (s.st_size == 0) {
+ r = 1;
++#ifndef ENODATA
++#define ENODATA ENOMSG
++#endif
+ errno = ENODATA;
+ }
+ IMESSAGE(r)
Home |
Main Index |
Thread Index |
Old Index