pkgsrc/multimedia/handbrake/patches/patch-ae
2009-04-28 11:57:54 +00:00

13 lines
466 B
Text

$NetBSD: patch-ae,v 1.2 2009/04/28 11:57:55 hasso Exp $
--- libhb/fifo.c.orig 2009-01-20 20:53:21.000000000 -0500
+++ libhb/fifo.c
@@ -147,7 +147,7 @@ hb_buffer_t * hb_buffer_init( int size )
if (size)
{
-#if defined( SYS_DARWIN ) || defined( SYS_FREEBSD )
+#if defined( SYS_DARWIN ) || defined( SYS_FREEBSD ) || defined( SYS_NETBSD ) || defined( SYS_DRAGONFLY )
b->data = malloc( b->alloc );
#elif defined( SYS_CYGWIN )
/* FIXME */