Sophie

Sophie

distrib > Mageia > 1 > i586 > by-pkgid > 34f62bcd934f66a6dc9fe8bc70fbcf76 > files > 2

easytag-2.1.6-11.mga1.src.rpm

diff -ur easytag-2.1.6.orig/configure easytag-2.1.6/configure
--- easytag-2.1.6.orig/configure	2008-07-12 17:57:44.000000000 +0300
+++ easytag-2.1.6/configure	2009-07-10 16:44:39.000000000 +0300
@@ -22418,12 +22418,12 @@
 /* end confdefs.h.  */
 
                 #include <stdio.h>
-                #include <mpeg4ip_config.h>
+                #include <mp4v2/mp4v2.h>
                 int main (void)
                 {
                     FILE *output;
                     output=fopen("conftest.mp4v2","w");
-                    fprintf(output,"LIBMP4V2_NAME=%s\nLIBMP4V2_VERSION=%s\n",PACKAGE_TARNAME,PACKAGE_VERSION);
+                    fprintf(output,"MP4V2_PROJECT_name=%s\nMP4V2_PROJECT_version=%s\n",PACKAGE_TARNAME,PACKAGE_VERSION);
                     fclose(output);
                     exit(0);
                 }
@@ -22471,7 +22471,7 @@
 
                 cat >conftest.$ac_ext <<_ACEOF
 
-           #include <mp4.h>
+           #include <mp4v2/mp4v2.h>
            main () {
            MP4FileHandle hFile;
            MP4GetMetadataCoverArt(hFile, NULL, NULL,0); }
diff -ur easytag-2.1.6.orig/src/mp4_header.c easytag-2.1.6/src/mp4_header.c
--- easytag-2.1.6.orig/src/mp4_header.c	2007-11-28 10:54:35.000000000 +0200
+++ easytag-2.1.6/src/mp4_header.c	2009-07-10 16:44:54.000000000 +0300
@@ -44,7 +44,7 @@
 #undef PACKAGE_STRING
 #undef PACKAGE_TARNAME
 #undef PACKAGE_VERSION
-#include <mp4.h>
+#include <mp4v2/mp4v2.h>
 
 
 /****************
diff -ur easytag-2.1.6.orig/src/mp4_tag.c easytag-2.1.6/src/mp4_tag.c
--- easytag-2.1.6.orig/src/mp4_tag.c	2007-12-11 00:08:11.000000000 +0200
+++ easytag-2.1.6/src/mp4_tag.c	2009-07-10 16:45:08.000000000 +0300
@@ -50,7 +50,7 @@
 #undef PACKAGE_STRING
 #undef PACKAGE_TARNAME
 #undef PACKAGE_VERSION
-#include <mp4.h>
+#include <mp4v2/mp4v2.h>
 
 
 /****************
diff -p -up easytag-2.1.6/configure.in~ easytag-2.1.6/configure.in
--- easytag-2.1.6/configure.in~	2008-05-07 22:45:32.000000000 +0200
+++ easytag-2.1.6/configure.in	2009-07-13 12:14:51.000000000 +0200
@@ -339,7 +339,7 @@ if test "x$enable_mp4" = "xyes"; then
         AC_MSG_CHECKING(for libmp4v2 version)
             AC_TRY_RUN([
                 #include <stdio.h>
-                #include <mpeg4ip_config.h>
+                #include <mp4v2/mp4v2.h>
                 int main (void)
                 {
                     FILE *output;
@@ -357,7 +357,7 @@ if test "x$enable_mp4" = "xyes"; then
 
         dnl Version 1.6 of libmp4v2 introduces an index argument for MP4GetMetadataCoverart. So we define 'NEWMP4' if it is the case
         AC_COMPILE_IFELSE([
-           #include <mp4.h>
+           #include <mp4v2/mp4v2.h>
            main () {
            MP4FileHandle hFile;
            MP4GetMetadataCoverArt(hFile, NULL, NULL,0); }