diff --git a/libguestfs.spec b/libguestfs.spec index 4804ecd..48074db 100644 --- a/libguestfs.spec +++ b/libguestfs.spec @@ -42,7 +42,7 @@ Summary: Access and modify virtual machine disk images Name: libguestfs Epoch: 1 Version: 1.0.88 -Release: 4%{?dist} +Release: 5%{?dist} License: LGPLv2+ Group: Development/Libraries URL: http://libguestfs.org/ @@ -459,11 +459,12 @@ export LIBGUESTFS_DEBUG=1 # Workaround #563103 cat > rhbz563103.c <<'EOF' #include +#include #include -static void init () __attribute__((constructor)); -static void init () { write (2, "Enable workaround for incorrect preadv/pwritev emulation in glibc (RHBZ#563103)\n", 80); } ssize_t preadv (int fd,...) { errno = ENOSYS; return -1; } +ssize_t preadv64 (int fd,...) { errno = ENOSYS; return -1; } ssize_t pwritev (int fd,...) { errno = ENOSYS; return -1; } +ssize_t pwritev64 (int fd,...) { errno = ENOSYS; return -1; } EOF gcc -fPIC -c rhbz563103.c gcc -shared -Wl,-soname,rhbz563103.so.1 rhbz563103.o -o rhbz563103.so @@ -679,7 +680,7 @@ rm -rf $RPM_BUILD_ROOT %changelog -* Tue Mar 30 2010 Richard W.M. Jones - 1:1.0.88-4 +* Tue Mar 30 2010 Richard W.M. Jones - 1:1.0.88-5 - Attempted workaround for RHBZ#563103, so we can reenable tests. * Fri Mar 26 2010 Richard W.M. Jones - 1:1.0.88-2