2923403c64
Copy config.h to faad2-config.h. Modify systems.h to refer to faad2-config.h, and install faad2-config.h. This situation is discussed here: http://lists.gnu.org/archive/html/automake/2000-10/msg00114.html Remove the undef of PACKAGE and VERSION, and add a 3rd non-empty argument to AM_INIT_AUTOMAKE. This situation is discussed here: http://lists.gnu.org/archive/html/automake/2000-10/msg00108.html Modify the condition from HAVE_GLIB_H to __G_LIB_H__, which was easier because faad2 doesn't depend on glib. Bump pkgrevision.
25 lines
594 B
Text
25 lines
594 B
Text
$NetBSD: patch-al,v 1.1 2005/10/09 03:23:11 ben Exp $
|
|
|
|
--- common/mp4v2/systems.h.orig 2003-06-29 14:41:00.000000000 -0700
|
|
+++ common/mp4v2/systems.h
|
|
@@ -29,9 +29,7 @@
|
|
#include <win32_ver.h>
|
|
#define NEED_SDL_VIDEO_IN_MAIN_THREAD
|
|
#else
|
|
-#undef PACKAGE
|
|
-#undef VERSION
|
|
-#include <config.h>
|
|
+#include <faad2-config.h>
|
|
#endif
|
|
|
|
|
|
@@ -269,7 +267,8 @@ char *strsep(char **strp, const char *de
|
|
|
|
#define NUM_ELEMENTS_IN_ARRAY(name) ((sizeof((name))) / (sizeof(*(name))))
|
|
|
|
-#ifndef HAVE_GLIB_H
|
|
+#ifndef __G_LIB_H__
|
|
+/* #ifndef HAVE_GLIB_H */
|
|
typedef char gchar;
|
|
typedef unsigned char guchar;
|
|
|