]> git.pld-linux.org Git - packages/transcode.git/commitdiff
- fix build with ffmpeg 20061204
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 11 Dec 2006 23:36:43 +0000 (23:36 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    transcode-ffmpeg.patch -> 1.1

transcode-ffmpeg.patch [new file with mode: 0644]

diff --git a/transcode-ffmpeg.patch b/transcode-ffmpeg.patch
new file mode 100644 (file)
index 0000000..81b75d0
--- /dev/null
@@ -0,0 +1,39 @@
+FFMPEG_VERSION is undefined and actually not used elsewhere than in configure
+
+--- transcode-1.0.2/configure.in~      2006-12-12 01:19:10.469599970 +0200
++++ transcode-1.0.2/configure.in       2006-12-12 01:25:43.288376547 +0200
+@@ -626,17 +626,15 @@
+     printf("install ffmpeg 0.4.9-pre1 or newer, or a cvs version after 20040703");
+     return(1);
+   }
+-  printf("VER=%s\n", FFMPEG_VERSION);
+   printf("BUILD=%d\n", LIBAVCODEC_BUILD);
+   return(0);
+ }
+ ],
+-    [LIBAVCODEC_VERSION="`./conftest$ac_exeext | sed -ne 's,VER=\(.*\),\1,p'`"
++    [
+       LIBAVCODEC_BUILD="`./conftest$ac_exeext | sed -ne 's,BUILD=\(.*\),\1,p'`"],
+     [TC_PKG_ERROR(libavcodec, ffmpeg/avcodec.h, required, FFmpeg, [http://www.ffmpeg.org],
+       [cannot compile ffmpeg/avcodec.h])],
+     [echo $ac_n "cross compiling; assumed OK... $ac_c"
+-      LIBAVCODEC_VERSION=""
+       LIBAVCODEC_BUILD=""])
+   if test x"$enable_libavcodec_static" = x"yes" ; then
+     if test x"$deplibs_check_method" != x"pass_all" ; then
+@@ -657,7 +655,6 @@
+   fi
+   CPPFLAGS="$save_CPPFLAGS"
+ fi
+-AC_SUBST(LIBAVCODEC_VERSION)
+ AC_SUBST(LIBAVCODEC_BUILD)
+ AC_SUBST(LIBAVCODEC_CFLAGS)
+ AC_SUBST(LIBAVCODEC_LIBS)
+@@ -1433,7 +1430,6 @@
+ headers                        $LIBAVCODEC_CFLAGS
+ libraries                      $LIBAVCODEC_LIBS
+ build                          $LIBAVCODEC_BUILD
+-version                        $LIBAVCODEC_VERSION
+ statically linked              $enable_libavcodec_static
+ hardware support
This page took 0.041035 seconds and 4 git commands to generate.