summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysutils/libvirt/distinfo4
-rw-r--r--sysutils/libvirt/patches/patch-gnulib-lib-fflush.c13
-rw-r--r--sysutils/libvirt/patches/patch-gnulib-lib-fseeko.c13
3 files changed, 29 insertions, 1 deletions
diff --git a/sysutils/libvirt/distinfo b/sysutils/libvirt/distinfo
index 094f332e724..dde4cabf907 100644
--- a/sysutils/libvirt/distinfo
+++ b/sysutils/libvirt/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1.1.1 2011/07/26 06:05:00 agc Exp $
+$NetBSD: distinfo,v 1.2 2012/03/08 01:12:51 joerg Exp $
SHA1 (libvirt-0.9.3.tar.gz) = e25850d270a24441305dd92935209efa993b479d
RMD160 (libvirt-0.9.3.tar.gz) = a01dbe29e23225706afcff74146aa3b224ba04bb
@@ -6,3 +6,5 @@ Size (libvirt-0.9.3.tar.gz) = 15958983 bytes
SHA1 (patch-aa) = 12269e5e0dd650423df5e31dd6f8069af04532c3
SHA1 (patch-ab) = 66757963d769cc7a12c5dfa4fe035ec9417a0512
SHA1 (patch-ac) = af670f3e9af0dc4053c3e8584ed815f03bb7bb56
+SHA1 (patch-gnulib-lib-fflush.c) = dce77a7b18bdf9fb20b31dcf6d473bd51a63dba9
+SHA1 (patch-gnulib-lib-fseeko.c) = d8e4107166baba980e20add7d267510d7da9be9a
diff --git a/sysutils/libvirt/patches/patch-gnulib-lib-fflush.c b/sysutils/libvirt/patches/patch-gnulib-lib-fflush.c
new file mode 100644
index 00000000000..5b1a2af5945
--- /dev/null
+++ b/sysutils/libvirt/patches/patch-gnulib-lib-fflush.c
@@ -0,0 +1,13 @@
+$NetBSD: patch-gnulib-lib-fflush.c,v 1.1 2012/03/08 01:12:52 joerg Exp $
+
+--- gnulib/lib/fflush.c.orig 2011-05-17 06:12:57.000000000 +0000
++++ gnulib/lib/fflush.c
+@@ -93,7 +93,7 @@ static inline void
+ update_fpos_cache (FILE *fp, off_t pos)
+ {
+ #if defined __sferror || defined __DragonFly__ /* FreeBSD, NetBSD, OpenBSD, DragonFly, MacOS X, Cygwin */
+-# if defined __CYGWIN__
++# if defined(__CYGWIN__) || defined(__NetBSD__)
+ /* fp_->_offset is typed as an integer. */
+ fp_->_offset = pos;
+ # else
diff --git a/sysutils/libvirt/patches/patch-gnulib-lib-fseeko.c b/sysutils/libvirt/patches/patch-gnulib-lib-fseeko.c
new file mode 100644
index 00000000000..c667a83a83d
--- /dev/null
+++ b/sysutils/libvirt/patches/patch-gnulib-lib-fseeko.c
@@ -0,0 +1,13 @@
+$NetBSD: patch-gnulib-lib-fseeko.c,v 1.1 2012/03/08 01:12:52 joerg Exp $
+
+--- gnulib/lib/fseeko.c.orig 2011-03-01 07:54:21.000000000 +0000
++++ gnulib/lib/fseeko.c
+@@ -111,7 +111,7 @@ fseeko (FILE *fp, off_t offset, int when
+ #if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
+ fp->_flags &= ~_IO_EOF_SEEN;
+ #elif defined __sferror || defined __DragonFly__ /* FreeBSD, NetBSD, OpenBSD, DragonFly, MacOS X, Cygwin */
+-# if defined __CYGWIN__
++# if defined(__CYGWIN__) || defined(__NetBSD__)
+ /* fp_->_offset is typed as an integer. */
+ fp_->_offset = pos;
+ # else