head	1.1;
access;
symbols
	RELEASE_8_3_0:1.1
	RELEASE_9_0_0:1.1
	RELEASE_7_4_0:1.1
	RELEASE_8_2_0:1.1
	RELEASE_6_EOL:1.1
	RELEASE_8_1_0:1.1
	RELEASE_7_3_0:1.1
	RELEASE_8_0_0:1.1
	RELEASE_7_2_0:1.1
	RELEASE_7_1_0:1.1
	RELEASE_6_4_0:1.1
	RELEASE_5_EOL:1.1
	RELEASE_7_0_0:1.1
	RELEASE_6_3_0:1.1
	PRE_XORG_7:1.1
	RELEASE_4_EOL:1.1
	RELEASE_6_2_0:1.1
	RELEASE_6_1_0:1.1
	RELEASE_5_5_0:1.1
	RELEASE_6_0_0:1.1
	RELEASE_5_4_0:1.1
	RELEASE_4_11_0:1.1
	RELEASE_5_3_0:1.1
	RELEASE_4_10_0:1.1
	RELEASE_5_2_1:1.1
	RELEASE_5_2_0:1.1
	RELEASE_4_9_0:1.1;
locks; strict;
comment	@# @;


1.1
date	2003.08.31.13.09.30;	author edwin;	state Exp;
branches;
next	;


desc
@@


1.1
log
@[patch] Unbreak port: archivers/libcabinet

	This port did not build with gcc 3.3.1. I also fixed a
	possible buffer overflow (they used gets() to read from
	stdin).

	Please review the patch file ``patch-cftypes.cpp'' with
	extra care, since I am not sure whether this makes sense
	(2 positions in the file, marked with ``TODO'' - thanks.

Also added some lines in cftypes.cpp to overcome the absence of
values.h on -current.

PR:		ports/55767
Submitted by:	Simon Barner <barner@@in.tum.de>
@
text
@--- Makefile.orig	Tue Aug 19 18:15:11 2003
+++ Makefile	Tue Aug 19 18:33:06 2003
@@@@ -0,0 +1,16 @@@@
+NOPROFILE=	true
+CXXFLAGS+=	-Wno-deprecated 
+LIB=		cabinet
+LIBDIR=		${PREFIX}/lib
+INCSDIR=	${PREFIX}/include/cabinet
+INCDIR=		${INCSDIR}		# for pre-bsd.incs.mk API
+SHLIB_MAJOR=	1
+SHLIB_MINOR=	0
+SRCS=		bstring.cpp cfcreate.cpp cfdblock.cpp cffdrmgr.cpp cffile.cpp \
+		cffolder.cpp cfheader.cpp cfreader.cpp cftypes.cpp object.cpp
+INCS=		bstring.h cfcreate.h cfdblock.h cffdrmgr.h cffile.h cffolder.h \
+		cfheader.h cfreader.h cftypes.h darray.h dos_comp.h object.hpp \
+		queue.hpp
+LDADD=		-lz
+
+.include <bsd.lib.mk>
@
