summaryrefslogtreecommitdiff
path: root/package/rpm/patches/patch-rpmio_rpmio_h.orig
diff options
context:
space:
mode:
Diffstat (limited to 'package/rpm/patches/patch-rpmio_rpmio_h.orig')
-rw-r--r--package/rpm/patches/patch-rpmio_rpmio_h.orig22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/rpm/patches/patch-rpmio_rpmio_h.orig b/package/rpm/patches/patch-rpmio_rpmio_h.orig
new file mode 100644
index 000000000..a2d2d8572
--- /dev/null
+++ b/package/rpm/patches/patch-rpmio_rpmio_h.orig
@@ -0,0 +1,22 @@
+--- rpm-4.7.0.orig/rpmio/rpmio.h 2009-03-03 07:51:52.000000000 +0100
++++ rpm-4.7.0/rpmio/rpmio.h 2009-06-25 19:32:01.343208721 +0200
+@@ -25,15 +25,19 @@ extern "C" {
+ * argument as a pointer rather than as an off_t. The snarl below defines
+ * typedefs to isolate the lossage.
+ */
++/*
+ #if 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;
+ #else
++*/
+ typedef off_t _libio_off_t;
+ typedef off_t _libio_pos_t;
++/*
+ #endif
++*/
+
+ /** \ingroup rpmio
+ */