diff options
Diffstat (limited to 'graphics/xv/patches/patch-as')
-rw-r--r-- | graphics/xv/patches/patch-as | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/graphics/xv/patches/patch-as b/graphics/xv/patches/patch-as deleted file mode 100644 index bb57067a215..00000000000 --- a/graphics/xv/patches/patch-as +++ /dev/null @@ -1,52 +0,0 @@ -$NetBSD: patch-as,v 1.2 2002/10/06 16:26:57 he Exp $ - ---- xvmisc.c.orig Fri Aug 9 17:09:23 2002 -+++ xvmisc.c -@@ -28,6 +28,8 @@ - * int xvbcmp (s1, s2, length) - * void xvbzero(s, length) - * char *xv_strstr(s1, s2) -+ * FILE *xv_fopen(str, str) -+ * void xv_mktemp(str) - * void Timer(milliseconds) - */ - -@@ -522,6 +524,10 @@ - - if (pcdW) XDestroyWindow(theDisp, pcdW); - -+#ifdef HAVE_PNG -+ if (pngW) XDestroyWindow(theDisp, pngW); -+#endif -+ - /* if NOT using stdcmap for images, free stdcmap */ - if (colorMapMode != CM_STDCMAP) { - int j; -@@ -718,6 +724,10 @@ - #ifdef HAVE_TIFF - if (tiffW) XDefineCursor(theDisp, tiffW, otherc); - #endif -+ -+#ifdef HAVE_PNG -+ if (pngW) XDefineCursor(theDisp, pngW, otherc); -+#endif - - if (pcdW) XDefineCursor(theDisp, pcdW, otherc); - } -@@ -1070,6 +1080,16 @@ - } - - -+/***************************************************/ -+void xv_mktemp(buf, fname) -+ char *buf, *fname; -+{ -+#ifndef VMS -+ sprintf(buf, "%s/%s", tmpdir, fname); -+#else -+ sprintf(buf, "Sys$Disk:[]%s", fname); -+#endif -+} - - - /*******/ |