summaryrefslogtreecommitdiffstats
path: root/package/qlibc/qlibc-0001-remove-absolute-paths.patch
diff options
context:
space:
mode:
authorSagaert Johan <sagaert.johan@skynet.be>2014-10-12 15:12:11 +0200
committerPeter Korsgaard <peter@korsgaard.com>2014-10-12 16:23:46 +0200
commit48d4c312ae3d1aee402d9ad67aaae93267c92336 (patch)
treec89d209d30794e961786a0acc85305c7cf16e59b /package/qlibc/qlibc-0001-remove-absolute-paths.patch
parent2f0748578166a4717bbbb941cf768f4dca75e971 (diff)
downloadbuildroot-48d4c312ae3d1aee402d9ad67aaae93267c92336.tar.gz
buildroot-48d4c312ae3d1aee402d9ad67aaae93267c92336.zip
qlibc : new package
[Thomas: - add dependency on threads, wchar and dynamic librayr - add dependency on libiconv when locale support is not enabled - replace patch hacking includedir by a patch that lets the Makefile obey to $(DESTDIR) - remove optional OpenSSL and MySQL support which simply cannot work due to the usage of AC_CHECK_FILE() in configure.ac, this required an additional patch to fix the bogus AC_ARG_WITH() calls. - move from 'Miscellaneous' to 'Libraries' -> 'Other'. - fixup the licensing information.] Signed-off-by: Sagaert Johan <sagaert.johan@skynet.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/qlibc/qlibc-0001-remove-absolute-paths.patch')
-rw-r--r--package/qlibc/qlibc-0001-remove-absolute-paths.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/qlibc/qlibc-0001-remove-absolute-paths.patch b/package/qlibc/qlibc-0001-remove-absolute-paths.patch
new file mode 100644
index 0000000000..5976c3c4db
--- /dev/null
+++ b/package/qlibc/qlibc-0001-remove-absolute-paths.patch
@@ -0,0 +1,19 @@
+Remove absolute paths to host locations
+
+Signed-off-by: Sagaert Johan <sagaert.johan@skynet.be>
+
+Index: b/configure.ac
+===================================================================
+--- a/configure.ac
++++ b/configure.ac
+@@ -85,10 +85,8 @@
+
+ ## Set path
+ PATH="$PATH:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
+-CPPFLAGS="$CPPFLAGS -I/usr/include -I/usr/local/include"
+ CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
+ CPPFLAGS="$CPPFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
+-LDFLAGS="$LDFLAGS -L/usr/lib -L/usr/local/lib"
+
+ ## Set autoconf setting
+ #AC_CANONICAL_TARGET
OpenPOWER on IntegriCloud