pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/archivers/freeze remove some really awful non-portable...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7a6ccf95170d
branches:  trunk
changeset: 474604:7a6ccf95170d
user:      danw <danw%pkgsrc.org@localhost>
date:      Sun May 02 22:24:48 2004 +0000

description:
remove some really awful non-portable stdio assumtions so this builds on
darwin

diffstat:

 archivers/freeze/distinfo         |   3 ++-
 archivers/freeze/patches/patch-ae |  24 ++++++++++++++++++++++++
 2 files changed, 26 insertions(+), 1 deletions(-)

diffs (42 lines):

diff -r 676f4cb2d5e2 -r 7a6ccf95170d archivers/freeze/distinfo
--- a/archivers/freeze/distinfo Sun May 02 22:23:58 2004 +0000
+++ b/archivers/freeze/distinfo Sun May 02 22:24:48 2004 +0000
@@ -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-ab) = ee451389539442c392830c7da252ac836d4a5adf
 SHA1 (patch-ac) = 17b2b3b5514f7dea67ecfe969d8f6e988b5fad40
 SHA1 (patch-ad) = 9f1c797bb45dd76935eed777bd599d6fba87774e
+SHA1 (patch-ae) = 9e2ef755e1ed0b72848f7450f9c8f63b467c7a8e
diff -r 676f4cb2d5e2 -r 7a6ccf95170d archivers/freeze/patches/patch-ae
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/freeze/patches/patch-ae Sun May 02 22:24:48 2004 +0000
@@ -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



Home | Main Index | Thread Index | Old Index