pkgsrc/x11/xmx/patches/patch-bx
dholland 019aff8e20 Fix the "minor PLIST problems" and unmark this as only for SunOS.
Add proper deps.
Add destdir support.
And, finally, make it build properly. (82 (small) patches later...)
2008-08-31 06:52:29 +00:00

14 lines
556 B
Text

$NetBSD: patch-bx,v 1.1 2008/08/31 06:52:29 dholland Exp $
--- server/zb.h~ 1997-09-29 15:54:22.000000000 -0400
+++ server/zb.h 2008-08-31 01:32:42.000000000 -0400
@@ -65,5 +65,8 @@ extern zb_t zb;
**
** Note, cast here works around absence of buf.pub.h include in
** files that use this macro and no other buf routines.
+**
+** which DOESN'T WORK, silly... copying decl of buf_split instead.
*/
-#define zb_split() (chunk_t *)buf_split(zb.bp, 0)
+extern FUNC( chunk_t *, buf_split, (buffer_t *, uint_t));
+#define zb_split() buf_split(zb.bp, 0)