From 2f6411fc7f8eaae5920cec43456536c909d62ac1 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 9 Feb 2012 17:45:39 +0100 Subject: [PATCH] proplib: add a patch to fix incorrect usage of zlib's gzFile. --- srcpkgs/proplib/patches/zlib-1.2.6.patch | 11 +++++++++++ srcpkgs/proplib/template | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/proplib/patches/zlib-1.2.6.patch diff --git a/srcpkgs/proplib/patches/zlib-1.2.6.patch b/srcpkgs/proplib/patches/zlib-1.2.6.patch new file mode 100644 index 0000000000..7371dfc6e0 --- /dev/null +++ b/srcpkgs/proplib/patches/zlib-1.2.6.patch @@ -0,0 +1,11 @@ +--- src/prop_object.c.orig 2012-02-08 08:09:57.405867494 +0100 ++++ src/prop_object.c 2012-02-08 08:11:58.244867208 +0100 +@@ -811,7 +811,7 @@ bool + _prop_object_externalize_write_file(const char *fname, const char *xml, + size_t len, bool do_compress) + { +- gzFile *gzf = NULL; ++ gzFile gzf = NULL; + char tname[PATH_MAX], *otname; + int fd; + int save_errno; diff --git a/srcpkgs/proplib/template b/srcpkgs/proplib/template index 67a46a011f..6e401db953 100644 --- a/srcpkgs/proplib/template +++ b/srcpkgs/proplib/template @@ -1,7 +1,7 @@ # Template file for 'proplib' pkgname=proplib version=0.6.0 -revision=1 +revision=2 homepage="http://code.google.com/p/portableproplib" distfiles="http://portableproplib.googlecode.com/files/$pkgname-$version.tar.xz" build_style=gnu-configure