summaryrefslogtreecommitdiff
path: root/x11/fvwm1
diff options
context:
space:
mode:
authorgarbled <garbled>1998-09-16 18:05:05 +0000
committergarbled <garbled>1998-09-16 18:05:05 +0000
commitd320ab8096bb0e60e124a71b3b73a24757bd60d1 (patch)
tree556bb8dd90ee3ac32dfc7098a49dd256fae75c7d /x11/fvwm1
parent4614356b772fa45a0f701627cfff539a9f453f89 (diff)
downloadpkgsrc-d320ab8096bb0e60e124a71b3b73a24757bd60d1.tar.gz
Make this pkg run on alpha, slay author.
Diffstat (limited to 'x11/fvwm1')
-rw-r--r--x11/fvwm1/Makefile8
-rw-r--r--x11/fvwm1/patches/patch-ac14
-rw-r--r--x11/fvwm1/patches/patch-ad12
3 files changed, 32 insertions, 2 deletions
diff --git a/x11/fvwm1/Makefile b/x11/fvwm1/Makefile
index 1177ff4411d..0844bbcabfe 100644
--- a/x11/fvwm1/Makefile
+++ b/x11/fvwm1/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 1998/08/20 15:17:33 tsarna Exp $
+# $NetBSD: Makefile,v 1.12 1998/09/16 18:05:05 garbled Exp $
# FreeBSD Id: Makefile,v 1.12 1997/10/11 10:42:43 jkh Exp
#
@@ -20,9 +20,13 @@ post-extract:
cd ${WRKSRC}/modules; \
for FILE in Fvwm*/Imakefile; do \
${MV} $${FILE} $${FILE}.orig; \
- ${SED} s/ComplexProgramTarget/ComplexProgramTargetNoMan/ \
+ ${SED} -e 's/ComplexProgramTarget/ComplexProgramTargetNoMan/' \
+ -e 's@#ifdef AlphaArchitecture@#if defined(AlphaArchitecture) \&\& !defined(NetBSDArchitecture)@' \
<$${FILE}.orig >$${FILE}; \
done
+ ${MV} ${WRKSRC}/modules/GoodStuff/Imakefile ${WRKSRC}/modules/GoodStuff/Imakefile.orig
+ ${SED} -e 's@#ifdef AlphaArchitecture@#if defined(AlphaArchitecture) \&\& !defined(NetBSDArchitecture)@' \
+ <${WRKSRC}/modules/GoodStuff/Imakefile.orig >${WRKSRC}/modules/GoodStuff/Imakefile
post-install:
@${MKDIR} ${PREFIX}/lib/X11/fvwm/pixmaps
diff --git a/x11/fvwm1/patches/patch-ac b/x11/fvwm1/patches/patch-ac
new file mode 100644
index 00000000000..b455ba395c6
--- /dev/null
+++ b/x11/fvwm1/patches/patch-ac
@@ -0,0 +1,14 @@
+$NetBSD: patch-ac,v 1.1 1998/09/16 18:05:06 garbled Exp $
+--- fvwm/alpha_header.h.orig Wed Sep 16 08:30:50 1998
++++ fvwm/alpha_header.h Wed Sep 16 08:31:22 1998
+@@ -11,8 +11,9 @@
+ #ifdef __GNUC__
+ extern size_t strlen(char *);
+ #endif
+-
++/*
+ extern int bzero(char *, int);
+ extern int gethostname (char *, int);
++*/
+ /**************************************************************************/
+
diff --git a/x11/fvwm1/patches/patch-ad b/x11/fvwm1/patches/patch-ad
new file mode 100644
index 00000000000..22b14d0cbf6
--- /dev/null
+++ b/x11/fvwm1/patches/patch-ad
@@ -0,0 +1,12 @@
+$NetBSD: patch-ad,v 1.1 1998/09/16 18:05:06 garbled Exp $
+--- fvwm/Imakefile.orig Wed Sep 16 08:37:29 1998
++++ fvwm/Imakefile Wed Sep 16 08:38:08 1998
+@@ -16,7 +16,7 @@
+
+ DEPLIBS = $(DEPXLIB) ../libs/libfvwmlib.a
+
+-#ifdef AlphaArchitecture
++#if defined(AlphaArchitecture) && !defined(NetBSDArchitecture)
+ LOCAL_LIBRARIES = $(XPMLIB) $(XLIB) -ldnet_stub -L../libs -lfvwmlib
+ #else
+ #ifdef HPArchitecture