rpms/vala/F-11 vala-0.7.4-moduleinit.patch,1.1,1.2
Michel Alexandre Salim
salimma at fedoraproject.org
Tue Jul 14 19:22:39 UTC 2009
Author: salimma
Update of /cvs/pkgs/rpms/vala/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25598/F-11
Modified Files:
vala-0.7.4-moduleinit.patch
Log Message:
Modify patch to affect the pregenerated C file, not the original Vala source,
as during build Vala is not installed yet
vala-0.7.4-moduleinit.patch:
Index: vala-0.7.4-moduleinit.patch
===================================================================
RCS file: /cvs/pkgs/rpms/vala/F-11/vala-0.7.4-moduleinit.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- vala-0.7.4-moduleinit.patch 14 Jul 2009 08:22:25 -0000 1.1
+++ vala-0.7.4-moduleinit.patch 14 Jul 2009 19:22:09 -0000 1.2
@@ -1,11 +1,11 @@
---- 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;
+--- vala-0.7.4/codegen/valatyperegisterfunction.c.moduleinit 2009-06-14 12:53:17.000000000 -0400
++++ vala-0.7.4/codegen/valatyperegisterfunction.c 2009-07-14 15:16:16.546338051 -0400
+@@ -238,7 +238,7 @@
+ if (!plugin) {
+ vala_ccode_block_add_statement (type_block, (ValaCCodeNode*) _cdecl_);
+ } else {
+- vala_ccode_fragment_append (self->priv->definition_fragment, (ValaCCodeNode*) _cdecl_);
++ vala_ccode_fragment_append (self->priv->declaration_fragment, (ValaCCodeNode*) _cdecl_);
+ }
+ fun = NULL;
+ if (!plugin) {
More information about the fedora-extras-commits
mailing list