From 2b468d5347ef2b093369bb1634fa8904c5bf2de3 Mon Sep 17 00:00:00 2001 From: mharo Date: Sun, 18 Apr 1999 23:15:11 +0000 Subject: fix so it isn't BROKEN Reviewed by: obrien Obtained from: bento.freebsd.org --- misc/cwish/Makefile | 12 +++--------- misc/cwish/files/patch-03 | 14 ++++++++++++++ 2 files changed, 17 insertions(+), 9 deletions(-) create mode 100644 misc/cwish/files/patch-03 diff --git a/misc/cwish/Makefile b/misc/cwish/Makefile index 5d78f7d..0999e7d 100644 --- a/misc/cwish/Makefile +++ b/misc/cwish/Makefile @@ -4,7 +4,7 @@ # Date created: Thur Sept 25, 1998 # Whom: David O'Brien (obrien@NUXI.com) # -# $Id: Makefile,v 1.1.1.1 1998/09/25 10:57:57 obrien Exp $ +# $Id: Makefile,v 1.2 1998/11/11 05:37:27 asami Exp $ # DISTNAME= cwish @@ -15,15 +15,9 @@ MASTER_SITES= http://www.hcs.de/users/hm/packages/ MAINTAINER= obrien@FreeBSD.org NO_WRKSUBDIR= yes -ALL_TARGET= #emtpy +ALL_TARGET= cwish MAN1= cwish.1 -.include - -.if ${OSVERSION} >= 300000 -BROKEN= "headers problem" -.endif - pre-configure: ${CP} ${WRKSRC}/Makefile.freebsd ${WRKSRC}/Makefile @@ -31,4 +25,4 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/cwish ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/cwish.1 ${PREFIX}/man/man1 -.include +.include diff --git a/misc/cwish/files/patch-03 b/misc/cwish/files/patch-03 new file mode 100644 index 0000000..81c6c71 --- /dev/null +++ b/misc/cwish/files/patch-03 @@ -0,0 +1,14 @@ +--- files.c.orig Sun Apr 18 14:16:10 1999 ++++ files.c Sun Apr 18 14:17:43 1999 +@@ -45,6 +45,11 @@ + + #include "cwish.h" /* global include file */ + ++#ifdef __FreeBSD__ ++#include ++#define MOUNT_CD9660 FS_ISO9660 ++#endif ++ + #ifdef ultrix + + #include -- cgit v1.1