proplib: add a patch to fix incorrect usage of zlib's gzFile.
This commit is contained in:
11
srcpkgs/proplib/patches/zlib-1.2.6.patch
Normal file
11
srcpkgs/proplib/patches/zlib-1.2.6.patch
Normal 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;
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user