Thank you Joerg! Bump PKREVISION for these. Also use --without-forced-embedded-ffmpeg (even though it is the default when the ffmpeg is detected). TODO: just use a common patches directory for these two packages.
27 lines
863 B
Text
27 lines
863 B
Text
$NetBSD: patch-af,v 1.2 2006/05/17 01:53:17 reed Exp $
|
|
|
|
--- src/mngutil.c.orig 2004-02-14 11:55:36.000000000 +0100
|
|
+++ src/mngutil.c
|
|
@@ -30,13 +30,6 @@
|
|
#include <png.h>
|
|
#include "mngutil.h"
|
|
|
|
-extern void png_write_data (png_structp png_ptr,
|
|
- png_bytep data,png_size_t length);
|
|
-extern void png_save_uint_32 (png_bytep buf, png_uint_32 i);
|
|
-extern void png_save_uint_16 (png_bytep buf, png_uint_16 i);
|
|
-extern void png_write_chunk (png_structp png_ptr,
|
|
- png_bytep chunk_name, png_bytep data, png_size_t length);
|
|
-
|
|
png_byte mng_sig[8] = {138, 77, 78, 71, 13, 10, 26, 10};
|
|
|
|
/*
|
|
@@ -46,7 +39,7 @@ void
|
|
mng_write_sig (png_structp png_ptr)
|
|
{
|
|
/* write the rest of the 8 byte signature */
|
|
- png_write_data (png_ptr, &mng_sig[png_ptr->sig_bytes],
|
|
+ png_write_chunk_data (png_ptr, &mng_sig[png_ptr->sig_bytes],
|
|
(png_size_t)8 - png_ptr->sig_bytes);
|
|
}
|
|
|