summaryrefslogtreecommitdiff
path: root/graphics/pixmap/patches
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2008-11-30 08:43:16 +0000
committerobache <obache@pkgsrc.org>2008-11-30 08:43:16 +0000
commitdca0625c6bf96ac928483683443d51f94d7a63ec (patch)
tree3980d2685c5e13a2c40469c6392cce302304c6fe /graphics/pixmap/patches
parent13ad1a8f4bdc5041b10dfb443983623cda15327b (diff)
downloadpkgsrc-dca0625c6bf96ac928483683443d51f94d7a63ec.tar.gz
Various fixes:
* Remove copy of X11 header files for old X11, it may cause build failure with recent X, like a PR 39975. * Need rgb.txt, add dependency on x11/rgb for X11_TYPE=modular. And fix path for the file (SUBST.rgb and patch-ac). * Add DESTDIR support. it seems that rules of imake deal spaces after cammna as part of the argument (patch-ac). * Replace IMAKE_MANNEWSUFFIX with IMAKE_MAN_SUFFIX in PLIST. * hard coded errno and sys_errlist is not portable these days (patch-ab) * sort PLIST * regen patches with unfied diff. Bump PKGREVISION.
Diffstat (limited to 'graphics/pixmap/patches')
-rw-r--r--graphics/pixmap/patches/patch-aa32
-rw-r--r--graphics/pixmap/patches/patch-ab34
-rw-r--r--graphics/pixmap/patches/patch-ac23
3 files changed, 43 insertions, 46 deletions
diff --git a/graphics/pixmap/patches/patch-aa b/graphics/pixmap/patches/patch-aa
index 5841d875b91..f1c906970f6 100644
--- a/graphics/pixmap/patches/patch-aa
+++ b/graphics/pixmap/patches/patch-aa
@@ -1,21 +1,13 @@
-$NetBSD: patch-aa,v 1.2 1998/08/07 10:40:52 agc Exp $
+$NetBSD: patch-aa,v 1.3 2008/11/30 08:43:16 obache Exp $
-*** Pixmap.h~ Fri May 13 04:03:29 1994
---- Pixmap.h Sun Feb 19 03:35:48 1995
-***************
-*** 69,75 ****
- #include <X11/Xmu/Converters.h>
- #include <X11/Xos.h>
- #include <X11/Xfuncproto.h>
-! #include "xpm.h"
-
- /* Resources:
-
---- 69,75 ----
- #include <X11/Xmu/Converters.h>
- #include <X11/Xos.h>
- #include <X11/Xfuncproto.h>
-! #include <X11/xpm.h>
-
- /* Resources:
-
+--- Pixmap.h.orig 2008-11-30 06:21:45.000000000 +0000
++++ Pixmap.h
+@@ -69,7 +69,7 @@
+ #include <X11/Xmu/Converters.h>
+ #include <X11/Xos.h>
+ #include <X11/Xfuncproto.h>
+-#include "xpm.h"
++#include <X11/xpm.h>
+
+ /* Resources:
+
diff --git a/graphics/pixmap/patches/patch-ab b/graphics/pixmap/patches/patch-ab
index c5986260fb5..54f02ef80b6 100644
--- a/graphics/pixmap/patches/patch-ab
+++ b/graphics/pixmap/patches/patch-ab
@@ -1,21 +1,15 @@
-$NetBSD: patch-ab,v 1.2 1998/08/07 10:40:53 agc Exp $
+$NetBSD: patch-ab,v 1.3 2008/11/30 08:43:16 obache Exp $
-*** SelFile/SelFile.c~ Mon May 30 04:02:59 1994
---- SelFile/SelFile.c Sun Feb 19 03:40:43 1995
-***************
-*** 46,52 ****
- /* BSD 4.3 errno.h does not declare errno */
- extern int errno;
- extern int sys_nerr;
-! extern char *sys_errlist[];
-
- #include <sys/param.h>
- #include <X11/cursorfont.h>
---- 46,52 ----
- /* BSD 4.3 errno.h does not declare errno */
- extern int errno;
- extern int sys_nerr;
-! /* extern char *sys_errlist[];*/
-
- #include <sys/param.h>
- #include <X11/cursorfont.h>
+--- SelFile/SelFile.c.orig 1993-12-27 12:14:20.000000000 +0000
++++ SelFile/SelFile.c
+@@ -43,10 +43,6 @@
+
+ #include <stdio.h>
+ #include <errno.h>
+-/* BSD 4.3 errno.h does not declare errno */
+-extern int errno;
+-extern int sys_nerr;
+-extern char *sys_errlist[];
+
+ #include <sys/param.h>
+ #include <X11/cursorfont.h>
diff --git a/graphics/pixmap/patches/patch-ac b/graphics/pixmap/patches/patch-ac
index d4fda76fa66..b827cab397f 100644
--- a/graphics/pixmap/patches/patch-ac
+++ b/graphics/pixmap/patches/patch-ac
@@ -1,8 +1,8 @@
-$NetBSD: patch-ac,v 1.5 2002/10/08 12:38:26 jlam Exp $
+$NetBSD: patch-ac,v 1.6 2008/11/30 08:43:16 obache Exp $
---- Imakefile.orig Fri May 13 06:04:38 1994
+--- Imakefile.orig 1994-05-13 11:04:38.000000000 +0000
+++ Imakefile
-@@ -8,7 +8,7 @@
+@@ -8,7 +8,7 @@ XCOMM Created: April 20, 1991.
XCOMM
XCOMM def/undef USE_MOTIF there if you want Pixmap to use Motif or not.
@@ -11,12 +11,12 @@ $NetBSD: patch-ac,v 1.5 2002/10/08 12:38:26 jlam Exp $
#ifdef HPArchitecture
CCOPTIONS = -Aa -D_HPUX_SOURCE -DNO_EDITRES
#if ProjectX > 4
-@@ -21,22 +21,20 @@
+@@ -21,22 +21,20 @@ R5EXT = -I.
#endif
XCOMM Where you have rgb.txt
-RGBTXT = $(LIBDIR)/rgb.txt
-+RGBTXT = ${X11BASE}/lib/X11/rgb.txt
++RGBTXT = @RGBTXT@
XCOMM LUCS extra variable for where bitmaps go
PIXMAPDIR = $(LIBDIR)/Pixmap
@@ -39,7 +39,18 @@ $NetBSD: patch-ac,v 1.5 2002/10/08 12:38:26 jlam Exp $
BITMAPS = MDown MFlipHoriz MFlipVert MFold MLeft MRight MRotateLeft \
MRotateRight Stipple MUp
#else
-@@ -89,7 +87,7 @@
+@@ -70,8 +68,8 @@ LOCAL_LIBRARIES = -L$(XPM_LIBDIR) -lXpm
+
+ ComplexProgramTarget(pixmap)
+ InstallAppDefaults(Pixmap)
+-MakeDirectories(install, $(PIXMAPDIR))
+-InstallMultipleFlags($(BITMAPS), $(PIXMAPDIR), $(INSTDATFLAGS))
++MakeDirectories(install,$(PIXMAPDIR))
++InstallMultipleFlags($(BITMAPS),$(PIXMAPDIR),$(INSTDATFLAGS))
+
+ AllTarget(dotpixmap)
+
+@@ -89,7 +87,7 @@ NamedMakeSubdirs(Xgnu, SelFile)
Pixmap.ad: APixmap.ad
@echo Pixmap compiled with Athena.