summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Jones <cretin@gentoo.org>2003-02-28 09:50:58 +0000
committerStefan Jones <cretin@gentoo.org>2003-02-28 09:50:58 +0000
commit642512f3662403fbae61358ea63f34404e347138 (patch)
tree4429a9c5ae09809e113a7e96d8838a111e9855a3 /app-arch/rpm/files
parentversion bump. (diff)
downloadgentoo-2-642512f3662403fbae61358ea63f34404e347138.tar.gz
gentoo-2-642512f3662403fbae61358ea63f34404e347138.tar.bz2
gentoo-2-642512f3662403fbae61358ea63f34404e347138.zip
Bug fix, 15621, plz test
Diffstat (limited to 'app-arch/rpm/files')
-rw-r--r--app-arch/rpm/files/rpm-4.0.4-glibc2.3.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/app-arch/rpm/files/rpm-4.0.4-glibc2.3.diff b/app-arch/rpm/files/rpm-4.0.4-glibc2.3.diff
new file mode 100644
index 000000000000..8138fcdd7010
--- /dev/null
+++ b/app-arch/rpm/files/rpm-4.0.4-glibc2.3.diff
@@ -0,0 +1,11 @@
+--- rpm-4.0.4/rpmio/rpmio.h.jj 2003-02-28 09:32:38.000000000 +0000
++++ rpm-4.0.4/rpmio/rpmio.h 2003-02-28 09:35:04.000000000 +0000
+@@ -30,7 +30,7 @@
+ * API unchanged.
+ */
+ /*@{*/
+-#if !defined(__LCLINT__) && defined(__GLIBC__) && __GLIBC__ == 2 && __GLIBC_MINOR__ == 2
++#if !defined(__LCLINT__) && defined(__GLIBC__) && ( __GLIBC__ > 2 || ( __GLIBC__ == 2 && __GLIBC_MINOR__ >= 2 ) )
+ #define USE_COOKIE_SEEK_POINTER 1
+ typedef _IO_off64_t _libio_off_t;
+ typedef _libio_off_t * _libio_pos_t;