[Lunar-commits] <moonbase> mjpegtools: add a patch to compile with gcc 4.4.x.

Florin Braescu florin at lunar-linux.org
Mon Aug 3 16:38:58 CEST 2009


commit 1ba02629581bf5a3a26df8dd5dd96b243eb37040
Author: Florin Braescu <florin at lunar-linux.org>
Date:   Mon Aug 3 17:38:58 2009 +0300

    mjpegtools: add a patch to compile with gcc 4.4.x.
---
 video/mjpegtools/BUILD          |    2 ++
 video/mjpegtools/BUILD.x86_64   |    2 ++
 video/mjpegtools/DETAILS        |    7 +++++--
 video/mjpegtools/DETAILS.x86_64 |   16 ----------------
 4 files changed, 9 insertions(+), 18 deletions(-)

diff --git a/video/mjpegtools/BUILD b/video/mjpegtools/BUILD
index 95e58fa..1fa72a3 100644
--- a/video/mjpegtools/BUILD
+++ b/video/mjpegtools/BUILD
@@ -6,6 +6,8 @@
 # This is a temp fix to address an API change with libquicktime-0.9.9 
 # and above. Re-evaluate on the next version bump of mjpegtools.
 
+  patch_it $SOURCE_CACHE/$SOURCE2 1  &&
+
   sedit "s/fileno(((quicktime_t \*)lav_file->qt_fd)->stream);/lqt_fileno((quicktime_t \*)lav_file->qt_fd);/" lavtools/lav_io.c
 
   default_build
diff --git a/video/mjpegtools/BUILD.x86_64 b/video/mjpegtools/BUILD.x86_64
index 6a454b4..87d9e7a 100644
--- a/video/mjpegtools/BUILD.x86_64
+++ b/video/mjpegtools/BUILD.x86_64
@@ -6,6 +6,8 @@
 # This is a temp fix to address an API change with libquicktime-0.9.9
 # and above. Re-evaluate on the next version bump of mjpegtools.
 
+  patch_it $SOURCE_CACHE/$SOURCE2 1  &&
+
   sedit "s/fileno(((quicktime_t \*)lav_file->qt_fd)->stream);/lqt_fileno((quicktime_t \*)lav_file->qt_fd);/" lavtools/lav_io.c
 
   default_build
diff --git a/video/mjpegtools/DETAILS b/video/mjpegtools/DETAILS
index a7a4982..0690296 100644
--- a/video/mjpegtools/DETAILS
+++ b/video/mjpegtools/DETAILS
@@ -1,11 +1,14 @@
           MODULE=mjpegtools
          VERSION=1.9.0
-          SOURCE=${MODULE}-$VERSION.tar.gz
+          SOURCE=$MODULE-$VERSION.tar.gz
+         SOURCE2=$MODULE-$VERSION-glibc-2.10.patch.bz2
       SOURCE_URL=$SFORGE_URL/mjpeg
+     SOURCE2_URL=$PATCH_URL
       SOURCE_VFY=sha1:1701233354c7ea86b5b7808c4dd5d03a71118e48
+     SOURCE2_VFY=sha1:a7bc4c20526c01bfb9fc1a8ce52350c324459a64
         WEB_SITE=http://mjpeg.sourceforge.net
          ENTERED=20021207
-         UPDATED=20090109
+         UPDATED=20090803
            PSAFE=no
            SHORT="Tools for working with MJPEG/MPEG files"
 
diff --git a/video/mjpegtools/DETAILS.x86_64 b/video/mjpegtools/DETAILS.x86_64
deleted file mode 100644
index a7a4982..0000000
--- a/video/mjpegtools/DETAILS.x86_64
+++ /dev/null
@@ -1,16 +0,0 @@
-          MODULE=mjpegtools
-         VERSION=1.9.0
-          SOURCE=${MODULE}-$VERSION.tar.gz
-      SOURCE_URL=$SFORGE_URL/mjpeg
-      SOURCE_VFY=sha1:1701233354c7ea86b5b7808c4dd5d03a71118e48
-        WEB_SITE=http://mjpeg.sourceforge.net
-         ENTERED=20021207
-         UPDATED=20090109
-           PSAFE=no
-           SHORT="Tools for working with MJPEG/MPEG files"
-
-cat << EOF
-The mjpeg programs are a set of tools that can do recording of videos
-and playback, simple cut-and-paste editing and the MPEG compression of
-audio and video under Linux.
-EOF


More information about the Lunar-commits mailing list