summaryrefslogtreecommitdiff
path: root/cleopatre/buildroot/package/rpm/rpm-uclibc-vs-cookie-seek-pointer.patch
diff options
context:
space:
mode:
authorlefranc2008-08-01 09:25:43 +0000
committerlefranc2008-08-01 09:25:43 +0000
commit9a2bcc0b92b392f1f21cd26927515e4d49bc128e (patch)
treed0bd193c764606c4c6e4b4568ef08d0ff3324b72 /cleopatre/buildroot/package/rpm/rpm-uclibc-vs-cookie-seek-pointer.patch
parentd0cc0304ed6eaf72116743e13e5b3b3cbfd878bb (diff)
- import of buildroot original sources (20080729 version)
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@2704 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'cleopatre/buildroot/package/rpm/rpm-uclibc-vs-cookie-seek-pointer.patch')
-rw-r--r--cleopatre/buildroot/package/rpm/rpm-uclibc-vs-cookie-seek-pointer.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/cleopatre/buildroot/package/rpm/rpm-uclibc-vs-cookie-seek-pointer.patch b/cleopatre/buildroot/package/rpm/rpm-uclibc-vs-cookie-seek-pointer.patch
new file mode 100644
index 0000000000..60f1c78cc3
--- /dev/null
+++ b/cleopatre/buildroot/package/rpm/rpm-uclibc-vs-cookie-seek-pointer.patch
@@ -0,0 +1,12 @@
+diff -ru rpm-4.4.9_vanilla/rpmio/rpmio.h rpm-4.4.9_uclibc-vs-cookie-seek-pointer/rpmio/rpmio.h
+--- rpm-4.4.9_vanilla/rpmio/rpmio.h 2007-04-28 15:55:33.000000000 +0000
++++ rpm-4.4.9_uclibc-vs-cookie-seek-pointer/rpmio/rpmio.h 2008-03-22 07:28:07.000000000 +0000
+@@ -31,7 +31,7 @@
+ * typedefs to isolate the lossage.
+ */
+ /*@{*/
+-#if !defined(__LCLINT__) && defined(__GLIBC__) && \
++#if !defined(__LCLINT__) && defined(__GLIBC__) && !defined(__UCLIBC__) && \
+ (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2))
+ #define USE_COOKIE_SEEK_POINTER 1
+ typedef _IO_off64_t _libio_off_t;