diff options
-rw-r--r-- | packages/vala/files/expose-bytesarray-struct.patch | 18 | ||||
-rw-r--r-- | packages/vala/vala-native_0.5.6.bb | 2 | ||||
-rw-r--r-- | packages/vala/vala.inc | 11 | ||||
-rw-r--r-- | packages/vala/vala_0.5.6.bb | 2 |
4 files changed, 25 insertions, 8 deletions
diff --git a/packages/vala/files/expose-bytesarray-struct.patch b/packages/vala/files/expose-bytesarray-struct.patch new file mode 100644 index 0000000000..ea01208967 --- /dev/null +++ b/packages/vala/files/expose-bytesarray-struct.patch @@ -0,0 +1,18 @@ +# +# Necessary to actually use BytesArray. +# Signed-Off: Michael 'Mickey' Lauer <mlauer@vanille-media.de> +# +Index: vala/vapi/glib-2.0.vapi +=================================================================== +--- vala/vapi/glib-2.0.vapi (Revision 2422) ++++ vala/vapi/glib-2.0.vapi (Arbeitskopie) +@@ -3044,6 +3044,9 @@ + public void sort (CompareFunc compare_func); + public void sort_with_data (CompareDataFunc compare_func); + public void set_size (uint length); ++ ++ public uint len; ++ public uint8[] data; + } + + /* N-ary Trees */ diff --git a/packages/vala/vala-native_0.5.6.bb b/packages/vala/vala-native_0.5.6.bb index 8feab501b4..84ed8359c4 100644 --- a/packages/vala/vala-native_0.5.6.bb +++ b/packages/vala/vala-native_0.5.6.bb @@ -1,5 +1,5 @@ require vala_${PV}.bb -PR = "r0" +PR = "r1" inherit native DEPENDS = "glib-2.0-native" diff --git a/packages/vala/vala.inc b/packages/vala/vala.inc index efe2900e28..c6f5aebbef 100644 --- a/packages/vala/vala.inc +++ b/packages/vala/vala.inc @@ -7,15 +7,14 @@ LICENSE = "LGPL" MAJV = "${@bb.data.getVar('PV',d,1)[:3]}" -SRC_URI = "http://download.gnome.org/sources/vala/${MAJV}/vala-${PV}.tar.bz2" +SRC_URI = "\ + http://download.gnome.org/sources/vala/${MAJV}/vala-${PV}.tar.bz2 \ + file://expose-bytesarray-struct.patch;patch=1 \ +" S = "${WORKDIR}/vala-${PV}" -inherit autotools lib_package +inherit autotools autotools_stage lib_package EXTRA_OECONF = "--enable-vapigen" -do_stage() { - autotools_stage_all -} - FILES_${PN}-doc += ${datadir}/devhelp diff --git a/packages/vala/vala_0.5.6.bb b/packages/vala/vala_0.5.6.bb index 8775f1a407..f6ee943617 100644 --- a/packages/vala/vala_0.5.6.bb +++ b/packages/vala/vala_0.5.6.bb @@ -1,2 +1,2 @@ require vala.inc -PR = "r0" +PR = "r1" |