diff options
author | jmc <jmc> | 2001-12-10 07:41:23 +0000 |
---|---|---|
committer | jmc <jmc> | 2001-12-10 07:41:23 +0000 |
commit | 27d0f315504a7844bb5e1c3760264b98544ed279 (patch) | |
tree | 139cacd814f37994171b61b1deb62bfa20ca1740 /print | |
parent | 2793945fdfe2d443c0e25f943143d29c5835ab9c (diff) | |
download | pkgsrc-27d0f315504a7844bb5e1c3760264b98544ed279.tar.gz |
Make the patch actually compile..I missed here..
Diffstat (limited to 'print')
-rw-r--r-- | print/cups/distinfo | 4 | ||||
-rw-r--r-- | print/cups/patches/patch-ah | 13 |
2 files changed, 6 insertions, 11 deletions
diff --git a/print/cups/distinfo b/print/cups/distinfo index 948ea6383be..37d98daf765 100644 --- a/print/cups/distinfo +++ b/print/cups/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.8 2001/12/09 10:55:45 jmc Exp $ +$NetBSD: distinfo,v 1.9 2001/12/10 07:41:23 jmc Exp $ SHA1 (cups-1.1.10-1-source.tar.bz2) = 97c0e36a49df927c1bbe3bb457bb8849b7992c62 Size (cups-1.1.10-1-source.tar.bz2) = 5370979 bytes SHA1 (patch-ab) = 2b58233ac8a5b5cb5cfbdc82abfe78a27678556c SHA1 (patch-ag) = 0fe671d3eb19ccaac53e999cc0bd25016736af5e -SHA1 (patch-ah) = fd08846957116928f7af94f7145af37dcffdde80 +SHA1 (patch-ah) = a7cdf225c7256c3277559d5bd2923df74ee3d26e 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. ---------------- */ |