diff options
author | David W. Chapman Jr. <dwcjr@FreeBSD.org> | 2001-08-30 19:49:08 +0000 |
---|---|---|
committer | David W. Chapman Jr. <dwcjr@FreeBSD.org> | 2001-08-30 19:49:08 +0000 |
commit | 5dab8f67395e046dc4588aff1102061d4b3827dc (patch) | |
tree | a7dfa3aaed5ddee0a00c4c22668c62b48229301b /archivers | |
parent | vanessa_socket_pipe requires popt library. (diff) |
Add patches to not define putc and getc as a macro
Bump PORTREVISION
PR: 29284
Notes
Notes:
svn path=/head/; revision=47175
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/freeze/Makefile | 1 | ||||
-rw-r--r-- | archivers/freeze/files/patch-freeze.c | 11 | ||||
-rw-r--r-- | archivers/freeze/files/patch-freeze.h | 24 |
3 files changed, 36 insertions, 0 deletions
diff --git a/archivers/freeze/Makefile b/archivers/freeze/Makefile index b3cd5f2a0e78..1df7111a06c9 100644 --- a/archivers/freeze/Makefile +++ b/archivers/freeze/Makefile @@ -7,6 +7,7 @@ PORTNAME= freeze PORTVERSION= 2.5 +PORTREVISION= 1 CATEGORIES= archivers MASTER_SITES= ftp://ftp.freesoftware.com/pub/unixfreeware/archive/ \ ftp://ftp.warwick.ac.uk/pub/compression/ diff --git a/archivers/freeze/files/patch-freeze.c b/archivers/freeze/files/patch-freeze.c new file mode 100644 index 000000000000..a82802e2a64c --- /dev/null +++ b/archivers/freeze/files/patch-freeze.c @@ -0,0 +1,11 @@ +--- freeze.c.orig Thu Aug 30 14:45:31 2001 ++++ freeze.c Thu Aug 30 14:45:37 2001 +@@ -176,7 +176,7 @@ + + /* From compress.c. Replace .Z --> .F etc */ + +-void ++int + main(argc, argv) + register int argc; + char **argv; diff --git a/archivers/freeze/files/patch-freeze.h b/archivers/freeze/files/patch-freeze.h new file mode 100644 index 000000000000..06f7d0a714b8 --- /dev/null +++ b/archivers/freeze/files/patch-freeze.h @@ -0,0 +1,24 @@ +--- freeze.h.orig Thu Aug 30 14:40:37 2001 ++++ freeze.h Thu Aug 30 14:40:54 2001 +@@ -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 |