pkgsrc/sysutils/xentools20/patches/patch-ba
seb 9ab4a5acbe Fix build with libcurl-7.6.10.
Fix build with NetBSD's current gcc 4.1.2.
Bump PKGREVISION to 9.

Approved by maintainer.
2006-11-22 00:12:34 +00:00

13 lines
418 B
Text

$NetBSD: patch-ba,v 1.1 2006/11/22 00:12:34 seb Exp $
--- xfrd/xdr.c.orig 2005-08-03 23:57:58.000000000 +0000
+++ xfrd/xdr.c
@@ -283,7 +283,7 @@ int unpack_sxpr(IOStream *io, Sxpr *x){
err = unpack_cons(io, &val);
break;
case T_BOOL:
- err = unpack_bool(io, &u);
+ err = unpack_bool(io, (int *)&u);
if(err) goto exit;
val = (u ? OTRUE : OFALSE);
break;