summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/libxsettings-client/libxsettings-client_0.17.bb1
-rw-r--r--packages/libxsettings-client/no-host-includes.patch13
2 files changed, 14 insertions, 0 deletions
diff --git a/packages/libxsettings-client/libxsettings-client_0.17.bb b/packages/libxsettings-client/libxsettings-client_0.17.bb
index c424ddd677..cb3e63bac0 100644
--- a/packages/libxsettings-client/libxsettings-client_0.17.bb
+++ b/packages/libxsettings-client/libxsettings-client_0.17.bb
@@ -10,6 +10,7 @@ PR="r0"
GPE_TARBALL_SUFFIX = "bz2"
inherit autotools pkgconfig gpe
+SRC_URI += "file://no-host-includes.patch;patch=1 "
headers = "xsettings-client.h xsettings-common.h"
do_stage () {
diff --git a/packages/libxsettings-client/no-host-includes.patch b/packages/libxsettings-client/no-host-includes.patch
new file mode 100644
index 0000000000..137c5269f1
--- /dev/null
+++ b/packages/libxsettings-client/no-host-includes.patch
@@ -0,0 +1,13 @@
+Index: libxsettings-client-0.17/Makefile.am
+===================================================================
+--- libxsettings-client-0.17.orig/Makefile.am 2006-05-19 23:14:46.557360552 +0200
++++ libxsettings-client-0.17/Makefile.am 2006-05-19 23:14:56.010923392 +0200
+@@ -3,7 +3,7 @@
+ source_h = xsettings-client.h xsettings-common.h
+ source_c = xsettings-client.c xsettings-common.c
+
+-INCLUDES = -I $(includedir) $(X_CFLAGS)
++INCLUDES = $(X_CFLAGS)
+
+ libxsincludedir = $(includedir)
+