rpms/vala/devel vala-0.7.4-moduleinit.patch, NONE, 1.1 vala.spec, 1.39, 1.40

Michel Alexandre Salim salimma at fedoraproject.org
Tue Jul 14 08:22:56 UTC 2009


Author: salimma

Update of /cvs/pkgs/rpms/vala/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv21566/devel

Modified Files:
	vala.spec 
Added Files:
	vala-0.7.4-moduleinit.patch 
Log Message:
* Tue Jul 14 2009 Michel Salim <salimma at fedoraproject.org> - 0.7.4-2
- Patch broken ModuleInit attribute (upstream bug 587444)


vala-0.7.4-moduleinit.patch:

--- NEW FILE vala-0.7.4-moduleinit.patch ---
--- vala-0.7.4/codegen/valatyperegisterfunction.vala.moduleinit	2009-05-09 13:22:22.000000000 -0400
+++ vala-0.7.4/codegen/valatyperegisterfunction.vala	2009-07-14 03:34:59.236422291 -0400
@@ -62,7 +62,7 @@
 		if (!plugin) {
 			type_block.add_statement (cdecl);
 		} else {
-			definition_fragment.append (cdecl);
+			declaration_fragment.append (cdecl);
 		}
 
 		CCodeFunction fun;


Index: vala.spec
===================================================================
RCS file: /cvs/pkgs/rpms/vala/devel/vala.spec,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -p -r1.39 -r1.40
--- vala.spec	7 Jul 2009 19:31:09 -0000	1.39
+++ vala.spec	14 Jul 2009 08:22:25 -0000	1.40
@@ -15,7 +15,7 @@
 
 Name:           vala
 Version:        0.7.4
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        A modern programming language for GNOME
 
 Group:          Development/Languages
@@ -25,6 +25,8 @@ URL:            http://live.gnome.org/Va
 Source0:        http://download.gnome.org/sources/vala/0.7/vala-%{version}.tar.bz2
 Source1:	vala-mode.el
 Source2:	vala-init.el
+# http://bugzilla.gnome.org/show_bug.cgi?id=587444
+Patch0:         vala-0.7.4-moduleinit.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  gtk2-devel flex bison devhelp gecko-libs >= 1.9
@@ -114,10 +116,11 @@ An Emacs mode for editing Vala source co
 
 %prep
 %setup -q
+%patch0 -p1 -b .moduleinit
 
 
 %build
-%configure --enable-vapigen --enable-gen-project
+%configure --enable-vapigen
 # Don't use rpath!
 sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
 sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
@@ -184,6 +187,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Tue Jul 14 2009 Michel Salim <salimma at fedoraproject.org> - 0.7.4-2
+- Patch broken ModuleInit attribute (upstream bug 587444)
+
 * Tue Jul  7 2009 Michel Salim <salimma at fedoraproject.org> - 0.7.4-1
 - Update to 0.7.4
 




More information about the fedora-extras-commits mailing list