packages: opal/opal.spec, opal/opal-ffmpeg06.patch (NEW) - fix building wit...

hawk hawk at pld-linux.org
Wed Aug 25 12:53:43 CEST 2010


Author: hawk                         Date: Wed Aug 25 10:53:43 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix building with ffmpeg 0.6

---- Files affected:
packages/opal:
   opal.spec (1.57 -> 1.58) , opal-ffmpeg06.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/opal/opal.spec
diff -u packages/opal/opal.spec:1.57 packages/opal/opal.spec:1.58
--- packages/opal/opal.spec:1.57	Tue Aug 24 23:32:42 2010
+++ packages/opal/opal.spec	Wed Aug 25 12:53:38 2010
@@ -17,7 +17,7 @@
 Summary(pl.UTF-8):	Biblioteka Open Phone Abstraction Library (aka OpenH323 v2)
 Name:		opal
 Version:	3.6.8
-Release:	2
+Release:	3
 License:	MPL
 Group:		Libraries
 Source0:	http://ftp.gnome.org/pub/gnome/sources/opal/3.6/%{name}-%{version}.tar.bz2
@@ -27,6 +27,7 @@
 Patch1:		%{name}-mak_files.patch
 Patch2:		%{name}-ac.patch
 Patch3:		%{name}-build.patch
+Patch4:		%{name}-ffmpeg06.patch
 URL:		http://www.openh323.org/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -97,6 +98,7 @@
 #patch1 -p1
 #%patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 %build
 PWLIBDIR=%{_prefix}; export PWLIBDIR
@@ -222,6 +224,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.58  2010/08/25 10:53:38  hawk
+- fix building with ffmpeg 0.6
+
 Revision 1.57  2010/08/24 21:32:42  hawk
 - release 2
 

================================================================
Index: packages/opal/opal-ffmpeg06.patch
diff -u /dev/null packages/opal/opal-ffmpeg06.patch:1.1
--- /dev/null	Wed Aug 25 12:53:43 2010
+++ packages/opal/opal-ffmpeg06.patch	Wed Aug 25 12:53:38 2010
@@ -0,0 +1,49 @@
+diff -ur opal-3.6.8.orig//plugins/video/common/dyna.h opal-3.6.8/plugins/video/common/dyna.h
+--- opal-3.6.8.orig//plugins/video/common/dyna.h	2010-05-27 08:52:47.000000000 +0200
++++ opal-3.6.8/plugins/video/common/dyna.h	2010-08-25 12:47:40.040727761 +0200
+@@ -41,6 +41,8 @@
+ #ifndef __DYNA_H__
+ #define __DYNA_H__ 1
+ 
++#define __STDC_CONSTANT_MACROS
++
+ #include "plugin-config.h"
+ 
+ #include <codec/opalplugin.h>
+diff -ur opal-3.6.8.orig//plugins/video/H.263-1998/h263-1998.h opal-3.6.8/plugins/video/H.263-1998/h263-1998.h
+--- opal-3.6.8.orig//plugins/video/H.263-1998/h263-1998.h	2010-05-27 08:52:46.000000000 +0200
++++ opal-3.6.8/plugins/video/H.263-1998/h263-1998.h	2010-08-25 12:48:00.781349611 +0200
+@@ -48,6 +48,9 @@
+ 
+ #ifndef __H263P_1998_H__
+ #define __H263P_1998_H__ 1
++
++#define __STDC_CONSTANT_MACROS
++
+ #include <codec/opalplugin.h>
+ #include "h263pframe.h"
+ #include "rfc2190.h"
+diff -ur opal-3.6.8.orig//plugins/video/H.263-1998/h263pframe.h opal-3.6.8/plugins/video/H.263-1998/h263pframe.h
+--- opal-3.6.8.orig//plugins/video/H.263-1998/h263pframe.h	2010-05-27 08:52:46.000000000 +0200
++++ opal-3.6.8/plugins/video/H.263-1998/h263pframe.h	2010-08-25 12:48:22.311139161 +0200
+@@ -23,6 +23,8 @@
+ #ifndef __H263PFrame_H__
+ #define __H263PFrame_H__ 1
+ 
++#define __STDC_CONSTANT_MACROS
++
+ #include "plugin-config.h"
+ 
+ #include <stdint.h>
+diff -ur opal-3.6.8.orig//plugins/video/H.264/h264-x264.h opal-3.6.8/plugins/video/H.264/h264-x264.h
+--- opal-3.6.8.orig//plugins/video/H.264/h264-x264.h	2010-05-27 08:52:46.000000000 +0200
++++ opal-3.6.8/plugins/video/H.264/h264-x264.h	2010-08-25 12:47:19.218239108 +0200
+@@ -39,6 +39,8 @@
+ #ifndef __H264_X264_H__
+ #define __H264_X264_H__ 1
+ 
++#define __STDC_CONSTANT_MACROS
++
+ #include "plugin-config.h"
+ 
+ #include <stdarg.h>
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/opal/opal.spec?r1=1.57&r2=1.58&f=u



More information about the pld-cvs-commit mailing list