summaryrefslogtreecommitdiff
path: root/package/rpm/patches/patch-rpmio_rpmio_h.orig
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-06-25 21:04:37 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-06-25 21:04:37 +0200
commitb5b277f51439e52bec1ecdb1f6f1d19a3aed448a (patch)
tree124fcb970c087a739eeb10385fb97fc8287cee9d /package/rpm/patches/patch-rpmio_rpmio_h.orig
parent975f9ccb8c9a3896941e02c2bca538853adf60df (diff)
add some packages
- add make/patch/rpm and dependencies - update ar7 port a little bit
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
+ */