proplib: add a patch to fix incorrect usage of zlib's gzFile.

This commit is contained in:
Juan RP 2012-02-09 17:45:39 +01:00
parent a67ed10ec1
commit 2f6411fc7f
2 changed files with 12 additions and 1 deletions

View file

@ -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;

View file

@ -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