summaryrefslogtreecommitdiff
path: root/meta-openmoko/packages/libspiff/files/autofoo.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openmoko/packages/libspiff/files/autofoo.patch')
-rw-r--r--meta-openmoko/packages/libspiff/files/autofoo.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-openmoko/packages/libspiff/files/autofoo.patch b/meta-openmoko/packages/libspiff/files/autofoo.patch
new file mode 100644
index 0000000000..5f96a2c217
--- /dev/null
+++ b/meta-openmoko/packages/libspiff/files/autofoo.patch
@@ -0,0 +1,29 @@
+Index: libspiff-0.8.2/configure.in
+===================================================================
+--- libspiff-0.8.2.orig/configure.in
++++ libspiff-0.8.2/configure.in
+@@ -80,24 +80,6 @@ AC_ARG_WITH(uriparser-lib, [ --with-uri
+
+
+
+-# Local headers must come very first. Otherwise we
+-# risk including headers of an already installed
+-# libSpiff version if its path is in CPPFLAGS
+-CPPFLAGS="-I${srcdir}/include ${CPPFLAGS}"
+-
+-
+-
+-# Append $prefix as a fallback at the very end
+-if test "x${prefix}" != "xNONE"; then
+- WORKING_PREFIX=${prefix}
+-else
+- WORKING_PREFIX=${ac_default_prefix}
+-fi
+-LDFLAGS="${LDFLAGS} -L${WORKING_PREFIX}/lib"
+-CPPFLAGS="${CPPFLAGS} -I${WORKING_PREFIX}/include"
+-
+-
+-
+ # Check presence
+ EXPAT_MISSING="Please install libexpat 1.95.8 or later.
+ On Ubuntu enter 'sudo apt-get install libexpat-dev'."