Date: Tuesday, April 30, 2013 @ 17:36:41 Author: foutrelis Revision: 89628
upgpkg: cinelerra-cv 1:2.2-15 libpng 1.6 rebuild. Added: cinelerra-cv/trunk/cinelerra-std_and_str_h.patch Modified: cinelerra-cv/trunk/PKGBUILD -------------------------------+ PKGBUILD | 6 ++ cinelerra-std_and_str_h.patch | 81 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 86 insertions(+), 1 deletion(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2013-04-30 15:00:40 UTC (rev 89627) +++ PKGBUILD 2013-04-30 15:36:41 UTC (rev 89628) @@ -7,7 +7,7 @@ pkgname=cinelerra-cv pkgver=2.2 _gitrel=2.2.0 -pkgrel=14 +pkgrel=15 epoch=1 pkgdesc="Professional video editing and compositing environment" arch=('x86_64' 'i686') @@ -20,9 +20,11 @@ options=('!libtool') source=("$pkgname::git+git://git.cinelerra.org/CinelerraCV.git#branch=rel$_gitrel" 'v4l1_removal.patch' + 'cinelerra-std_and_str_h.patch' 'ffmpeg_api.patch') md5sums=('SKIP' 'bfa85e20809429d88eba4ab83e569612' + '02d8222e596133bbc05eaad15bef242c' 'b05ec2fb54e7d02f6167525417802111') _confit() { @@ -39,6 +41,8 @@ # v4l1 removal patch patch -Np1 -i "$srcdir/v4l1_removal.patch" + patch -Np0 -i "$srcdir/cinelerra-std_and_str_h.patch" + # new ffmpeg api patch patch -Np1 -i "$srcdir/ffmpeg_api.patch" Added: cinelerra-std_and_str_h.patch =================================================================== --- cinelerra-std_and_str_h.patch (rev 0) +++ cinelerra-std_and_str_h.patch 2013-04-30 15:36:41 UTC (rev 89628) @@ -0,0 +1,81 @@ +Include required headers for free(), memcpy(), strcpy(), bcopy(), and more +Thanks to Martin von Gagern for reporting and initial patch +See, http://bugs.gentoo.org/show_bug.cgi?id=465478 + +--- cinelerra/vdevicebuz.C ++++ cinelerra/vdevicebuz.C +@@ -49,6 +49,8 @@ + #include <sys/ioctl.h> + #include <sys/mman.h> + #include <unistd.h> ++#include <string.h> ++#include <strings.h> + + #define BASE_VIDIOCPRIVATE 192 + +--- cinelerra/videodevice.C ++++ cinelerra/videodevice.C +@@ -53,6 +53,7 @@ + + #include <unistd.h> + #include <fcntl.h> ++#include <string.h> + + KeepaliveThread::KeepaliveThread(VideoDevice *device) + : Thread() +--- libmpeg3/audio/ac3.c ++++ libmpeg3/audio/ac3.c +@@ -1,3 +1,4 @@ ++#include <stdlib.h> + #include <stdint.h> + #include <stdio.h> + +--- libmpeg3/audio/layer3.c ++++ libmpeg3/audio/layer3.c +@@ -4,6 +4,7 @@ + #include "tables.h" + + #include <stdio.h> ++#include <stdlib.h> + #include <string.h> + + struct gr_info_s +--- mplexlo/mplex.c ++++ mplexlo/mplex.c +@@ -1,6 +1,6 @@ + #include <stdio.h> + #include <stdlib.h> +- ++#include <string.h> + + #include "libmpeg3.h" + #include "mpeg3protos.h" +--- quicktime/graphics.c ++++ quicktime/graphics.c +@@ -1,5 +1,6 @@ + #include "graphics.h" + ++#include <stdlib.h> + #include <string.h> + + /* Graphics acceleration routines */ +--- quicktime/libmjpeg.c ++++ quicktime/libmjpeg.c +@@ -17,6 +17,7 @@ + + #include <stdio.h> + #include <stdlib.h> ++#include <string.h> + #include "colormodels.h" + #include "libmjpeg.h" + +--- quicktime/qtpng.c ++++ quicktime/qtpng.c +@@ -1,6 +1,7 @@ + #include "colormodels.h" + #include "funcprotos.h" + #include <png.h> ++#include <string.h> + #include "quicktime.h" + #include "qtpng.h" +