Modify patch to affect the pregenerated C file, not the original Vala
source, as during build Vala is not installed yet
This commit is contained in:
parent
26820d6c73
commit
c54902ccf1
@ -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.c.moduleinit 2009-06-14 12:53:17.000000000 -0400
|
||||||
+++ vala-0.7.4/codegen/valatyperegisterfunction.vala 2009-07-14 03:34:59.236422291 -0400
|
+++ vala-0.7.4/codegen/valatyperegisterfunction.c 2009-07-14 15:16:16.546338051 -0400
|
||||||
@@ -62,7 +62,7 @@
|
@@ -238,7 +238,7 @@
|
||||||
if (!plugin) {
|
if (!plugin) {
|
||||||
type_block.add_statement (cdecl);
|
vala_ccode_block_add_statement (type_block, (ValaCCodeNode*) _cdecl_);
|
||||||
} else {
|
} else {
|
||||||
- definition_fragment.append (cdecl);
|
- vala_ccode_fragment_append (self->priv->definition_fragment, (ValaCCodeNode*) _cdecl_);
|
||||||
+ declaration_fragment.append (cdecl);
|
+ vala_ccode_fragment_append (self->priv->declaration_fragment, (ValaCCodeNode*) _cdecl_);
|
||||||
}
|
}
|
||||||
|
fun = NULL;
|
||||||
CCodeFunction fun;
|
if (!plugin) {
|
||||||
|
Loading…
Reference in New Issue
Block a user