From c6b995c8c53474289bd0e389e9372d73fa6594d7 Mon Sep 17 00:00:00 2001 From: Holger Freyther Date: Fri, 19 May 2006 21:28:13 +0000 Subject: packages/libxsettings-client: Do not put -I/usr/include to the compile line Do not put -I$(includedir) into the Compile flags --- packages/libxsettings-client/libxsettings-client_0.17.bb | 1 + packages/libxsettings-client/no-host-includes.patch | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 packages/libxsettings-client/no-host-includes.patch 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) + -- cgit v1.2.3