summaryrefslogtreecommitdiff
path: root/graphics/xv/patches/patch-ao
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/xv/patches/patch-ao')
-rw-r--r--graphics/xv/patches/patch-ao19
1 files changed, 11 insertions, 8 deletions
diff --git a/graphics/xv/patches/patch-ao b/graphics/xv/patches/patch-ao
index c3fb63b1358..de9aed5b99a 100644
--- a/graphics/xv/patches/patch-ao
+++ b/graphics/xv/patches/patch-ao
@@ -1,15 +1,18 @@
-$NetBSD: patch-ao,v 1.1 2001/04/05 13:57:17 wiz Exp $
+$NetBSD: patch-ao,v 1.2 2004/03/29 00:50:41 dillo Exp $
This patch is based on
http://www.mit.edu/afs/athena/contrib/graphics/src/xv/patches/png/xvpng.diff
It was edited to fit into the NetBSD Packages Collection! - HF
+It is also based on
+ftp://ftp.trilon.com/pub/xv/patches/longname.patch
+
---------------------------------------------------------------------------
---- xvdir.c.patched Sun Jun 13 03:27:12 1999
-+++ xvdir.c Sun Jun 13 03:33:01 1999
-@@ -62,6 +62,9 @@
+--- xvdir.c.orig Sun Mar 21 21:18:09 2004
++++ xvdir.c
+@@ -62,6 +62,9 @@ static char *saveFormats[] = { "GIF",
#ifdef HAVE_TIFF
"TIFF",
#endif
@@ -19,7 +22,7 @@ It was edited to fit into the NetBSD Packages Collection! - HF
"PostScript",
"PBM/PGM/PPM (raw)",
"PBM/PGM/PPM (ascii)",
-@@ -1123,6 +1126,14 @@
+@@ -1123,6 +1126,14 @@ int DoSave()
}
#endif
@@ -34,7 +37,7 @@ It was edited to fit into the NetBSD Packages Collection! - HF
-@@ -1181,6 +1192,7 @@
+@@ -1181,6 +1192,7 @@ int DoSave()
case F_FITS:
rv = WriteFITS (fp, thepic, ptype, w, h, rp, gp, bp, nc, col,
picComments);
@@ -42,7 +45,7 @@ It was edited to fit into the NetBSD Packages Collection! - HF
case F_MAG:
rv = WriteMAG (fp, thepic, ptype, w, h, rp, gp, bp, nc, col,
picComments); break;
-@@ -1415,19 +1427,26 @@
+@@ -1416,19 +1428,26 @@ static void changeSuffix()
(strcmp(lowsuf,"eps" )==0) ||
(strcmp(lowsuf,"rgb" )==0) ||
(strcmp(lowsuf,"tga" )==0) ||
@@ -71,7 +74,7 @@ It was edited to fit into the NetBSD Packages Collection! - HF
/* found one. set lowsuf = to the new suffix, and tack on to filename */
-@@ -1462,6 +1481,9 @@
+@@ -1463,6 +1482,9 @@ static void changeSuffix()
#ifdef HAVE_TIFF
case F_TIFF: strcpy(lowsuf,"tif"); break;