Yet another libz misuse.
This commit is contained in:
parent
7698e28763
commit
4c049c59dc
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.16 2003/11/16 21:11:10 todd Exp $
|
||||
# $OpenBSD: Makefile,v 1.17 2003/12/19 00:11:48 espie Exp $
|
||||
|
||||
COMMENT= "OpenCM change management system"
|
||||
COMMENT-docs= "OpenCM Documentation"
|
||||
@ -29,7 +29,7 @@ USE_GMAKE= Yes
|
||||
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}
|
||||
CONFIGURE_STYLE= autoconf
|
||||
CONFIGURE_ENV= LDFLAGS="${LDFLAGS}" \
|
||||
CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
|
||||
CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -DUSE_SYSTEM_ZLIB" \
|
||||
vl_cv_lib_kerberos=1
|
||||
|
||||
LDFLAGS=-L${LOCALBASE}/lib
|
||||
|
15
devel/opencm/patches/patch-base_src_common_Buffer_c
Normal file
15
devel/opencm/patches/patch-base_src_common_Buffer_c
Normal file
@ -0,0 +1,15 @@
|
||||
$OpenBSD: patch-base_src_common_Buffer_c,v 1.1 2003/12/19 00:11:48 espie Exp $
|
||||
--- base/src/common/Buffer.c.orig 2003-12-19 01:05:55.000000000 +0100
|
||||
+++ base/src/common/Buffer.c 2003-12-19 01:06:19.000000000 +0100
|
||||
@@ -39,7 +39,11 @@
|
||||
*/
|
||||
|
||||
#include <opencm.h>
|
||||
+#ifdef USE_SYSTEM_ZLIB
|
||||
+#include <zlib.h>
|
||||
+#else
|
||||
#include "../../zlib/zlib.h"
|
||||
+#endif
|
||||
|
||||
#define BUFFER_BLOCK_SIZE 1024
|
||||
#define ZLIB_BUFFER_SIZE 1024
|
Loading…
Reference in New Issue
Block a user