From 01857cba4c0dc5c51c86603e1faf463285df5536dca52ed1ccf1949dc6d2b13a Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Tue, 3 Mar 2009 17:34:28 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libzio?expand=0&rev=18 --- libzio-0.93.diff | 55 --------------------------------------------- libzio-0.93.tar.bz2 | 3 --- libzio-0.99.tar.bz2 | 3 +++ libzio.changes | 6 +++++ libzio.spec | 10 ++++----- 5 files changed, 14 insertions(+), 63 deletions(-) delete mode 100644 libzio-0.93.diff delete mode 100644 libzio-0.93.tar.bz2 create mode 100644 libzio-0.99.tar.bz2 diff --git a/libzio-0.93.diff b/libzio-0.93.diff deleted file mode 100644 index 502402a..0000000 --- a/libzio-0.93.diff +++ /dev/null @@ -1,55 +0,0 @@ ---- zio.c -+++ zio.c -@@ -62,7 +62,7 @@ static ssize_t bzwrite(void *cookie, c - return (ssize_t)BZ2_bzwrite((BZFILE*)cookie, (void*)buf, count); - } - --static zio_int_t bzseek(void *cookie __unused, zio_off_t *poffset __unused, int whence __unused) -+static zio_int_t bzseek(void *cookie unused, zio_off_t *poffset unused, int whence unused) - { - errno = ESPIPE; - return -1; -@@ -327,7 +327,7 @@ static ssize_t lzwwrite(void *cookie, - return -1; - } - --static zio_int_t lzwseek(void *cookie __unused, zio_off_t *poffset __unused, int whence __unused) -+static zio_int_t lzwseek(void *cookie unused, zio_off_t *poffset unused, int whence unused) - { - errno = ESPIPE; - return -1; ---- zioP.h -+++ zioP.h -@@ -33,14 +33,14 @@ - #include - #include - --#ifndef __unused --# define __unused __attribute__((__unused__)) -+#ifndef unused -+# define unused __attribute__((__unused__)) - #endif --#ifndef __nonnull --# define __nonnull(parm) __attribute__((__nonnull__ parm)) -+#ifndef nonnull -+# define nonnull(parm) __attribute__((__nonnull__ parm)) - #endif --#ifndef __wur --# define __wur __attribute__((__warn_unused_result__)) -+#ifndef wur -+# define wur __attribute__((__warn_unused_result__)) - #endif - - #if !defined(HAVE_FOPENCOOKIE) && !defined(HAVE_FUNOPEN) -@@ -161,9 +161,9 @@ __extension__ typedef struct - } cookie_io_functions_t; - static __inline__ FILE *fopencookie(void *__restrict, - const char *__restrict, -- cookie_io_functions_t) __nonnull((1,2)) __wur; -+ cookie_io_functions_t) nonnull((1,2)) wur; - static __inline__ FILE *fopencookie(void *__restrict cookie, -- const char *__restrict mode __unused, -+ const char *__restrict mode unused, - cookie_io_functions_t io_funcs) - { - return funopen(cookie, io_funcs.read, io_funcs.write, io_funcs.seek, io_funcs.close); diff --git a/libzio-0.93.tar.bz2 b/libzio-0.93.tar.bz2 deleted file mode 100644 index 14ac1ba..0000000 --- a/libzio-0.93.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:95ae2ba76dbfc9c03caa70cc52b5b1a522e41f811336bf7e6c5e16b2fc7e1b78 -size 20596 diff --git a/libzio-0.99.tar.bz2 b/libzio-0.99.tar.bz2 new file mode 100644 index 0000000..67de409 --- /dev/null +++ b/libzio-0.99.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:05dc10958d91bb90404eaef843183117e38cd3fda531755edffc28d86cdfd24d +size 21389 diff --git a/libzio.changes b/libzio.changes index 6bc088a..5d9059e 100644 --- a/libzio.changes +++ b/libzio.changes @@ -1,9 +1,15 @@ +------------------------------------------------------------------- +Mon Feb 23 16:01:17 CET 2009 - werner@suse.de + +- Add fseek(3) support for bzip and LZW files + ------------------------------------------------------------------- Mon Feb 23 11:05:37 CET 2009 - schwab@suse.de - Fix namespace violations. ------------------------------------------------------------------- + Fri Feb 13 14:05:11 CET 2009 - werner@suse.de - Use liblzma from xz package if available diff --git a/libzio.spec b/libzio.spec index deb5911..f451fb1 100644 --- a/libzio.spec +++ b/libzio.spec @@ -1,5 +1,5 @@ # -# spec file for package libzio (Version 0.93) +# spec file for package libzio (Version 0.99) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -33,12 +33,11 @@ AutoReqProv: on Obsoletes: libzio-64bit %endif # -Version: 0.93 -Release: 2 +Version: 0.99 +Release: 1 Summary: A Library for Accessing Compressed Text Files BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: libzio-%{version}.tar.bz2 -Patch: libzio-%{version}.diff %description Libzio provides a wrapper function for reading or writing gzip or bzip2 @@ -74,7 +73,6 @@ Authors: %prep %setup -q -%patch %build make @@ -114,6 +112,8 @@ make DESTDIR=$RPM_BUILD_ROOT install libdir=%{_libdir} mandir=%{_mandir} /usr/include/zio.h %changelog +* Mon Feb 23 2009 werner@suse.de +- Add fseek(3) support for bzip and LZW files * Mon Feb 23 2009 schwab@suse.de - Fix namespace violations. * Fri Feb 13 2009 werner@suse.de