summaryrefslogtreecommitdiff
path: root/archivers/squsq
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2001-09-15 21:44:45 +0000
committerwiz <wiz@pkgsrc.org>2001-09-15 21:44:45 +0000
commit29aa131f715d1e703641a5afdb45386d75fb113f (patch)
tree061c135edd31b4a40837eb7ee10429f8ef6b588f /archivers/squsq
parent1ba69ddfafe684f731b91285f7873587efd2ffce (diff)
downloadpkgsrc-29aa131f715d1e703641a5afdb45386d75fb113f.tar.gz
Correct #ifdef usage, as reported in pkg/13958 by Don Yuniskis, slightly
differently than in the patch there.
Diffstat (limited to 'archivers/squsq')
-rw-r--r--archivers/squsq/distinfo3
-rw-r--r--archivers/squsq/patches/patch-aa22
2 files changed, 24 insertions, 1 deletions
diff --git a/archivers/squsq/distinfo b/archivers/squsq/distinfo
index c0bb3302194..c9061d0d864 100644
--- a/archivers/squsq/distinfo
+++ b/archivers/squsq/distinfo
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.2 2001/04/18 11:21:08 agc Exp $
+$NetBSD: distinfo,v 1.3 2001/09/15 21:44:45 wiz Exp $
SHA1 (t20-squsq-3.3.tar.gz) = f27ab585803e97f17aa778893606c140ca26ed8b
Size (t20-squsq-3.3.tar.gz) = 14654 bytes
+SHA1 (patch-aa) = 3939106f89c5b0848f712de9b1768634b5c15285
diff --git a/archivers/squsq/patches/patch-aa b/archivers/squsq/patches/patch-aa
new file mode 100644
index 00000000000..6c08acc3424
--- /dev/null
+++ b/archivers/squsq/patches/patch-aa
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1 2001/09/15 21:44:45 wiz Exp $
+
+--- usq.c.orig Sun Jan 17 01:54:04 1988
++++ usq.c
+@@ -215,7 +215,7 @@
+ goto closein;
+ }
+
+-#ifdef C70 | TOPS20
++#if defined(C70) || defined(TOPS20)
+ filecrc = getx16(inbuff);
+ #else
+ filecrc = getw16(inbuff);
+@@ -239,7 +239,7 @@
+ printf("%s -> %s: ", infile, outfile);
+ #endif
+
+-#ifdef C70 | TOPS20
++#if defined(C70) || defined(TOPS20)
+ numnodes = getx16(inbuff);
+ #else
+ numnodes = getw16(inbuff);