pkgsrc/multimedia/libmp4v2/patches/patch-al
dillo bda29e210e Add define of new type to mpeg4ip.h replacement.
Bump revision, since depending packages failed to compile.
2007-11-19 09:48:43 +00:00

27 lines
722 B
Text

$NetBSD: patch-al,v 1.4 2007/11/19 09:48:43 dillo Exp $
--- lib/mp4v2/mp4.h.orig 2007-09-28 22:45:11.000000000 +0200
+++ lib/mp4v2/mp4.h
@@ -31,8 +31,22 @@
#ifndef __MP4_INCLUDED__
#define __MP4_INCLUDED__
+#ifdef MPEG4IP
/* include system and project specific headers */
#include "mpeg4ip.h"
+#else
+#include <sys/types.h>
+#include <strings.h>
+#include <stdio.h>
+#include <stdbool.h>
+#include <stdint.h>
+
+typedef void (*lib_message_func_t)(int loglevel,
+ const char *lib,
+ const char *fmt,
+ ...);
+#endif
+
#include <math.h> /* to define float HUGE_VAL and/or NAN */
#ifndef NAN
#define NAN HUGE_VAL