rev 15004 - krap/mlt/branches/new-binarys/debian/patches

Patrick Matthäi pmatthaei at alioth.debian.org
Thu Jun 25 12:06:51 UTC 2009


Author: pmatthaei
Date: 2009-06-25 12:06:46 +0000 (Thu, 25 Jun 2009)
New Revision: 15004

Added:
   krap/mlt/branches/new-binarys/debian/patches/01_fix_perl_swig_ftbfs.diff
   krap/mlt/branches/new-binarys/debian/patches/02_also_build_swig_modules.diff
Modified:
   krap/mlt/branches/new-binarys/debian/patches/series
Log:
Add patches.


Added: krap/mlt/branches/new-binarys/debian/patches/01_fix_perl_swig_ftbfs.diff
===================================================================
--- krap/mlt/branches/new-binarys/debian/patches/01_fix_perl_swig_ftbfs.diff	                        (rev 0)
+++ krap/mlt/branches/new-binarys/debian/patches/01_fix_perl_swig_ftbfs.diff	2009-06-25 12:06:46 UTC (rev 15004)
@@ -0,0 +1,13 @@
+# Remove static optimizing on i386, so the module can build on != i368.
+
+--- mlt-0.4.2+git20090624.orig/src/swig/perl/Makefile.PL	2009-06-25 14:02:28.000000000 +0200
++++ mlt-0.4.2+git20090624/src/swig/perl/Makefile.PL	2009-06-25 14:02:17.000000000 +0200
+@@ -8,7 +8,7 @@
+ WriteMakefile(
+ 	'NAME'    => 'mlt',
+ 	'CC'      => '${CXX} -I../..',
+-	'OPTIMIZE' => '-O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386',
++	'OPTIMIZE' => '-O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions',
+ 	'LIBS'    => ['-L../../mlt++ -lmlt++'],
+ 	'OBJECT'  => 'mlt_wrap.o',
+ 	'DESTDIR' => $ENV{'DESTDIR'},

Added: krap/mlt/branches/new-binarys/debian/patches/02_also_build_swig_modules.diff
===================================================================
--- krap/mlt/branches/new-binarys/debian/patches/02_also_build_swig_modules.diff	                        (rev 0)
+++ krap/mlt/branches/new-binarys/debian/patches/02_also_build_swig_modules.diff	2009-06-25 12:06:46 UTC (rev 15004)
@@ -0,0 +1,23 @@
+# We also want to build the swig modules.
+
+--- mlt-0.4.2+git20090624.orig/Makefile	2009-06-25 14:02:28.000000000 +0200
++++ mlt-0.4.2+git20090624/Makefile	2009-06-25 14:02:17.000000000 +0200
+@@ -4,12 +4,18 @@
+ 		  src/modules \
+ 		  profiles
+ 
++SWIG= src/swig
++
+ all clean:
+ 	list='$(SUBDIRS)'; \
+ 	for subdir in $$list; do \
+ 		$(MAKE) -s -C $$subdir depend || exit 1; \
+ 		$(MAKE) -C $$subdir $@ || exit 1; \
+ 	done
++	list_swig='$(SWIG)'; \
++	for subdir in $$list_swig; do \
++		$(MAKE) -C $$subdir $@ || exit 1; \
++	done
+ 
+ distclean:
+ 	rm mlt-config packages.dat; \

Modified: krap/mlt/branches/new-binarys/debian/patches/series
===================================================================
--- krap/mlt/branches/new-binarys/debian/patches/series	2009-06-25 11:11:54 UTC (rev 15003)
+++ krap/mlt/branches/new-binarys/debian/patches/series	2009-06-25 12:06:46 UTC (rev 15004)
@@ -1 +1,3 @@
+01_fix_perl_swig_ftbfs.diff
+02_also_build_swig_modules.diff
 10_fix_xine_module_cflags.diff




More information about the pkg-kde-commits mailing list