Add patch for src/xalloc.c to fix build on alpha:

s/vfprintf/fprintf/
Fix is already included in the next version upstream.

ok naddy@
This commit is contained in:
merdely 2008-02-20 22:03:10 +00:00
parent 3f911b38c0
commit b552a55bd0
2 changed files with 14 additions and 1 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.7 2007/09/16 13:07:27 mgrimm Exp $ # $OpenBSD: Makefile,v 1.8 2008/02/20 22:03:10 merdely Exp $
COMMENT= streaming source client that uses external en-/decoders COMMENT= streaming source client that uses external en-/decoders
DISTNAME= ezstream-0.5.1 DISTNAME= ezstream-0.5.1
PKGNAME= ${DISTNAME}p0
CATEGORIES= net multimedia CATEGORIES= net multimedia
HOMEPAGE= http://www.icecast.org/ezstream.php HOMEPAGE= http://www.icecast.org/ezstream.php

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_xalloc_c,v 1.1 2008/02/20 22:03:11 merdely Exp $
--- src/xalloc.c.orig Wed Jan 23 07:59:22 2008
+++ src/xalloc.c Wed Jan 23 07:59:40 2008
@@ -172,7 +172,7 @@ _xalloc_error(int errnum, const char *fmt, ...)
if (errnum > 0) {
if (xalloc_initialized)
XALLOC_LOCK(strerror_mutex);
- vfprintf(debug_output, ": %s\n", strerror(errnum));
+ fprintf(debug_output, ": %s\n", strerror(errnum));
if (xalloc_initialized)
XALLOC_UNLOCK(strerror_mutex);
}