summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authordanw <danw@pkgsrc.org>2004-05-02 22:24:48 +0000
committerdanw <danw@pkgsrc.org>2004-05-02 22:24:48 +0000
commitd6a5fb63c1399569fc3277580010d2bf5da824a2 (patch)
tree61c98e4b8f6f822c77bcf3fccb3585918330fc72 /archivers
parentbe99df2cccea5e0fbad854098532131d784af343 (diff)
downloadpkgsrc-d6a5fb63c1399569fc3277580010d2bf5da824a2.tar.gz
remove some really awful non-portable stdio assumtions so this builds on
darwin
Diffstat (limited to 'archivers')
-rw-r--r--archivers/freeze/distinfo3
-rw-r--r--archivers/freeze/patches/patch-ae24
2 files changed, 26 insertions, 1 deletions
diff --git a/archivers/freeze/distinfo b/archivers/freeze/distinfo
index f91566dfbbf..305df10786a 100644
--- a/archivers/freeze/distinfo
+++ b/archivers/freeze/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2003/10/06 07:23:55 jlam Exp $
+$NetBSD: distinfo,v 1.6 2004/05/02 22:24:48 danw Exp $
SHA1 (freeze-2.5.tar.gz) = 07b94508fcd95d35236a4090257aa402fd623812
Size (freeze-2.5.tar.gz) = 36402 bytes
@@ -6,3 +6,4 @@ SHA1 (patch-aa) = 659c035cddef121a2e971f82593f67a9a5bc100f
SHA1 (patch-ab) = ee451389539442c392830c7da252ac836d4a5adf
SHA1 (patch-ac) = 17b2b3b5514f7dea67ecfe969d8f6e988b5fad40
SHA1 (patch-ad) = 9f1c797bb45dd76935eed777bd599d6fba87774e
+SHA1 (patch-ae) = 9e2ef755e1ed0b72848f7450f9c8f63b467c7a8e
diff --git a/archivers/freeze/patches/patch-ae b/archivers/freeze/patches/patch-ae
new file mode 100644
index 00000000000..13ae322e7cd
--- /dev/null
+++ b/archivers/freeze/patches/patch-ae
@@ -0,0 +1,24 @@
+--- freeze.h.orig Fri Mar 12 20:57:04 2004
++++ freeze.h Fri Mar 12 20:57:47 2004
+@@ -5,21 +5,6 @@
+ # include <sys/stdtypes.h>
+ #endif
+
+-#ifndef getc
+-# ifdef m88k /* Green Hill C library bug. */
+-# define getc(p) (--(p)->_cnt < 0 ? __filbuf(p) : (int) *(p)->_ptr++)
+-# else
+-# define getc(p) (--(p)->_cnt < 0 ? _filbuf(p) : (int) *(p)->_ptr++)
+-# endif
+-#endif
+-#ifndef putc
+-# ifdef m88k /* Green Hill C library bug. */
+-# define putc(x, p) (--(p)->_cnt < 0 ? __flsbuf((unsigned char) (x), (p)) : (int) (*(p)->_ptr++ = (unsigned char) (x)))
+-# else
+-# define putc(x, p) (--(p)->_cnt < 0 ? _flsbuf((unsigned char) (x), (p)) : (int) (*(p)->_ptr++ = (unsigned char) (x)))
+-# endif
+-#endif
+-
+ #if !defined(MSDOS) && defined(__MSDOS__)
+ # define MSDOS
+ #endif