summaryrefslogtreecommitdiff
path: root/print/cups/patches
diff options
context:
space:
mode:
authorjmc <jmc>2001-12-10 07:41:23 +0000
committerjmc <jmc>2001-12-10 07:41:23 +0000
commit9668cb9ced79753f473d8a885cf56401fdcd7c43 (patch)
tree139cacd814f37994171b61b1deb62bfa20ca1740 /print/cups/patches
parent57dfac67a8037fdc7893ab865af269c5c4d806b9 (diff)
downloadpkgsrc-9668cb9ced79753f473d8a885cf56401fdcd7c43.tar.gz
Make the patch actually compile..I missed here..
Diffstat (limited to 'print/cups/patches')
-rw-r--r--print/cups/patches/patch-ah13
1 files changed, 4 insertions, 9 deletions
diff --git a/print/cups/patches/patch-ah b/print/cups/patches/patch-ah
index 66eed4987ab..4e066f4604a 100644
--- a/print/cups/patches/patch-ah
+++ b/print/cups/patches/patch-ah
@@ -1,21 +1,16 @@
-$NetBSD: patch-ah,v 1.11 2001/12/09 10:55:44 jmc Exp $
+$NetBSD: patch-ah,v 1.12 2001/12/10 07:41:24 jmc Exp $
--- pstoraster/genarch.c.orig Wed Mar 8 23:14:26 2000
-+++ pstoraster/genarch.c Sun Dec 9 10:51:28 2001
-@@ -154,7 +154,16 @@
++++ pstoraster/genarch.c Mon Dec 10 06:28:12 2001
+@@ -154,7 +154,11 @@
/* Some machines can't handle a variable shift by */
/* the full width of a long. */
fprintf(f, "#define arch_can_shift_full_long %d\n",
-+#ifdef __NetBSD__
-+#include <sys/param.h>
-+#if (MACHINE_ARCH = "powerpc") && (__NetBSD_Version__ <= 105000200)
++#if defined(__NetBSD__) && defined(__powerpc__)
+ (um1 >> (lwidth / 2)) >> (lwidth / 2) == 0);
+#else
um1 >> lwidth == 0);
+#endif
-+#else
-+ um1 >> lwidth == 0);
-+#endif
/* ---------------- Done. ---------------- */