Add this patch to disalbe building tests/scanner to workaround core dump gnome-2-30
authordavelam
Wed, 30 Jun 2010 03:46:22 +0000
branchgnome-2-30
changeset 18338 d47911796855
parent 18337 a540efd3b7dd
child 18339 ca68b22933c2
Add this patch to disalbe building tests/scanner to workaround core dump
ChangeLog
base-specs/gobject-introspection.spec
patches/gobject-introspection-02-test-scanner.diff
--- a/ChangeLog	Wed Jun 30 03:36:34 2010 +0000
+++ b/ChangeLog	Wed Jun 30 03:46:22 2010 +0000
@@ -1,3 +1,9 @@
+2010-06-30  Dave Lin <[email protected]>
+
+	* patches/gobject-introspection-02-test-scanner.diff: Added.
+	* base-specs/gobject-introspection.spec: Add this patch to disalbe
+	  building tests/scanner to workaround core dump
+
 2010-06-28  Dave Lin <[email protected]>
 
 	* specs/SUNWgnome-calculator.spec: Removed useless l10n files.
--- a/base-specs/gobject-introspection.spec	Wed Jun 30 03:36:34 2010 +0000
+++ b/base-specs/gobject-introspection.spec	Wed Jun 30 03:46:22 2010 +0000
@@ -26,6 +26,9 @@
 # /usr/bin/amd64/g-ir-scanner to point to the right python files.
 # date:2010-04-09 owner:yippi type:feature
 Patch1:       gobject-introspection-01-amd64.diff
+# Add this patch to disalbe building tests/scanner to workaround core dump
+# date:2010-06-30 owner:davelam type:bug
+Patch2:       gobject-introspection-02-test-scanner.diff
 
 BuildRequires:  autoconf >= 2.59
 BuildRequires:  automake >= 1:1.8
@@ -60,6 +63,7 @@
 %prep
 %setup -q
 %patch1 -p1
+%patch2 -p1
 
 #FIXME: When #590802 fixed in next release, remove following lines 
 rm -f m4/lt~obsolete.m4
@@ -99,7 +103,8 @@
             --libdir=%{_libdir}         \
             --includedir=%{_includedir} \
             --sysconfdir=%{_sysconfdir} \
-            --mandir=%{_mandir}
+            --mandir=%{_mandir} \
+            --disable-tests
 
 # disable parallel builds as it's broken for 0.6.10
 #gmake -j $CPU
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/gobject-introspection-02-test-scanner.diff	Wed Jun 30 03:46:22 2010 +0000
@@ -0,0 +1,5 @@
+--- gobject-introspection-0.6.14/tests/Makefile.am.ori	2010-06-29 09:12:30.729474800 +0100
++++ gobject-introspection-0.6.14/tests/Makefile.am	2010-06-29 09:12:46.557429500 +0100
+@@ -1 +1 @@
+-SUBDIRS = . scanner repository invoke offsets
++SUBDIRS = . repository invoke offsets