diff options
| author | Saul Wold <sgw@linux.intel.com> | 2012-05-04 17:56:16 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-05-07 16:42:46 +0100 |
| commit | 7903a285eefaa9e62bbe9e399233627b330dc9bb (patch) | |
| tree | 1df836ec44845a8ce219bce2ba0358445a4111ce /meta/recipes-support | |
| parent | 22f682b85742942fc8c096fb3e21a830af21a879 (diff) | |
| download | poky-7903a285eefaa9e62bbe9e399233627b330dc9bb.tar.gz | |
libsoup: Fix for glib-2.0 2.32.2
(From OE-Core rev: d3efcf15cee6734b4bf2277346ceba9a991fbd0f)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support')
| -rw-r--r-- | meta/recipes-support/libsoup/libsoup-2.2.105/fix-for-new-glib.patch | 85 | ||||
| -rw-r--r-- | meta/recipes-support/libsoup/libsoup_2.2.105.bb | 5 |
2 files changed, 88 insertions, 2 deletions
diff --git a/meta/recipes-support/libsoup/libsoup-2.2.105/fix-for-new-glib.patch b/meta/recipes-support/libsoup/libsoup-2.2.105/fix-for-new-glib.patch new file mode 100644 index 0000000000..c85ec149a2 --- /dev/null +++ b/meta/recipes-support/libsoup/libsoup-2.2.105/fix-for-new-glib.patch | |||
| @@ -0,0 +1,85 @@ | |||
| 1 | Fix for glib-2.0 version 2.32.2 | ||
| 2 | |||
| 3 | Upstream-Status: Pending | ||
| 4 | |||
| 5 | Signed-off-by: Saul Wold <sgw@linux.intel.com> | ||
| 6 | |||
| 7 | |||
| 8 | Index: libsoup-2.2.105/libsoup/soup-date.h | ||
| 9 | =================================================================== | ||
| 10 | --- libsoup-2.2.105.orig/libsoup/soup-date.h | ||
| 11 | +++ libsoup-2.2.105/libsoup/soup-date.h | ||
| 12 | @@ -7,7 +7,7 @@ | ||
| 13 | #define SOUP_DATE_H 1 | ||
| 14 | |||
| 15 | #include <time.h> | ||
| 16 | -#include <glib/gmacros.h> | ||
| 17 | +#include <glib.h> | ||
| 18 | |||
| 19 | G_BEGIN_DECLS | ||
| 20 | |||
| 21 | Index: libsoup-2.2.105/libsoup/soup-method.h | ||
| 22 | =================================================================== | ||
| 23 | --- libsoup-2.2.105.orig/libsoup/soup-method.h | ||
| 24 | +++ libsoup-2.2.105/libsoup/soup-method.h | ||
| 25 | @@ -6,7 +6,7 @@ | ||
| 26 | #ifndef SOUP_METHOD_H | ||
| 27 | #define SOUP_METHOD_H 1 | ||
| 28 | |||
| 29 | -#include <glib/gmacros.h> | ||
| 30 | +#include <glib.h> | ||
| 31 | |||
| 32 | G_BEGIN_DECLS | ||
| 33 | |||
| 34 | Index: libsoup-2.2.105/libsoup/soup-portability.h | ||
| 35 | =================================================================== | ||
| 36 | --- libsoup-2.2.105.orig/libsoup/soup-portability.h | ||
| 37 | +++ libsoup-2.2.105/libsoup/soup-portability.h | ||
| 38 | @@ -6,7 +6,7 @@ | ||
| 39 | #ifndef SOUP_PORTABILITY_H | ||
| 40 | #define SOUP_PORTABILITY_H | ||
| 41 | |||
| 42 | -#include <glibconfig.h> | ||
| 43 | +#include <glib.h> | ||
| 44 | |||
| 45 | #ifdef G_OS_WIN32 | ||
| 46 | |||
| 47 | Index: libsoup-2.2.105/libsoup/soup-status.h | ||
| 48 | =================================================================== | ||
| 49 | --- libsoup-2.2.105.orig/libsoup/soup-status.h | ||
| 50 | +++ libsoup-2.2.105/libsoup/soup-status.h | ||
| 51 | @@ -8,7 +8,7 @@ | ||
| 52 | #ifndef SOUP_STATUS_H | ||
| 53 | #define SOUP_STATUS_H 1 | ||
| 54 | |||
| 55 | -#include <glib/gmacros.h> | ||
| 56 | +#include <glib.h> | ||
| 57 | |||
| 58 | G_BEGIN_DECLS | ||
| 59 | |||
| 60 | Index: libsoup-2.2.105/libsoup/soup-types.h | ||
| 61 | =================================================================== | ||
| 62 | --- libsoup-2.2.105.orig/libsoup/soup-types.h | ||
| 63 | +++ libsoup-2.2.105/libsoup/soup-types.h | ||
| 64 | @@ -6,7 +6,7 @@ | ||
| 65 | #ifndef SOUP_TYPES_H | ||
| 66 | #define SOUP_TYPES_H 1 | ||
| 67 | |||
| 68 | -#include <glib/gtypes.h> | ||
| 69 | +#include <glib.h> | ||
| 70 | #include <glib-object.h> | ||
| 71 | |||
| 72 | #include <libsoup/soup-status.h> | ||
| 73 | Index: libsoup-2.2.105/tests/revserver.c | ||
| 74 | =================================================================== | ||
| 75 | --- libsoup-2.2.105.orig/tests/revserver.c | ||
| 76 | +++ libsoup-2.2.105/tests/revserver.c | ||
| 77 | @@ -11,7 +11,7 @@ | ||
| 78 | #include <libsoup/soup-address.h> | ||
| 79 | #include <libsoup/soup-socket.h> | ||
| 80 | |||
| 81 | -#include <glib/gthread.h> | ||
| 82 | +#include <glib.h> | ||
| 83 | |||
| 84 | static void rev_read (SoupSocket *sock, GString *buf); | ||
| 85 | static void rev_write (SoupSocket *sock, GString *buf); | ||
diff --git a/meta/recipes-support/libsoup/libsoup_2.2.105.bb b/meta/recipes-support/libsoup/libsoup_2.2.105.bb index 697caaa08b..9b5d4f8174 100644 --- a/meta/recipes-support/libsoup/libsoup_2.2.105.bb +++ b/meta/recipes-support/libsoup/libsoup_2.2.105.bb | |||
| @@ -2,12 +2,13 @@ DESCRIPTION = "An HTTP library implementation in C" | |||
| 2 | SECTION = "x11/gnome/libs" | 2 | SECTION = "x11/gnome/libs" |
| 3 | LICENSE = "LGPLv2+" | 3 | LICENSE = "LGPLv2+" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605" |
| 5 | PR = "r3" | 5 | PR = "r4" |
| 6 | 6 | ||
| 7 | DEPENDS = "glib-2.0 gnutls libxml2" | 7 | DEPENDS = "glib-2.0 gnutls libxml2" |
| 8 | 8 | ||
| 9 | SRC_URI = "${GNOME_MIRROR}/${BPN}/2.2/${BPN}-${PV}.tar.bz2 \ | 9 | SRC_URI = "${GNOME_MIRROR}/${BPN}/2.2/${BPN}-${PV}.tar.bz2 \ |
| 10 | file://dprintf_conflict_with_eglibc.patch" | 10 | file://dprintf_conflict_with_eglibc.patch \ |
| 11 | file://fix-for-new-glib.patch" | ||
| 11 | 12 | ||
| 12 | SRC_URI[md5sum] = "7fa48b06a0e2b0ff3d2fa45cf331f169" | 13 | SRC_URI[md5sum] = "7fa48b06a0e2b0ff3d2fa45cf331f169" |
| 13 | SRC_URI[sha256sum] = "3760a127ee810cfd0fda257ff615d19a2dd8aeece199dad0d18690446df72e8f" | 14 | SRC_URI[sha256sum] = "3760a127ee810cfd0fda257ff615d19a2dd8aeece199dad0d18690446df72e8f" |
