mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-10 13:50:08 +02:00
* Add recipe for 1.1.3 but call configure with --disable-static. This is OK since there are currently no recipes depending on libzip. * "make install" puts zipconf.h in lib/libzip/include/ so we need to move it to develop/headers/libzip/ and fix libzip.pc. * Change "LN=ln -f" into "LN=ln -frs" in man/Makefile.am to make ln create relative symlinks. This works fine and also saves space.
31 lines
782 B
Plaintext
31 lines
782 B
Plaintext
From 83469244d644593a2ef27f179102b0b4e1975caf Mon Sep 17 00:00:00 2001
|
|
From: fbrosson <fbrosson@localhost>
|
|
Date: Sat, 28 May 2016 09:50:37 +0000
|
|
Subject: gcc2 patch
|
|
|
|
|
|
diff --git a/src/zipcmp.c b/src/zipcmp.c
|
|
index cf9b572..032c838 100644
|
|
--- a/src/zipcmp.c
|
|
+++ b/src/zipcmp.c
|
|
@@ -313,6 +313,7 @@ list_directory(const char *name, struct archive *a)
|
|
FTS *fts;
|
|
FTSENT *ent;
|
|
zip_uint64_t nalloc;
|
|
+ size_t prefix_length;
|
|
|
|
char * const names[2] = { (char *)name, NULL };
|
|
|
|
@@ -321,7 +322,7 @@ list_directory(const char *name, struct archive *a)
|
|
fprintf(stderr, "%s: can't open directory '%s': %s\n", prg, name, strerror(errno));
|
|
return -1;
|
|
}
|
|
- size_t prefix_length = strlen(name)+1;
|
|
+ prefix_length = strlen(name)+1;
|
|
|
|
nalloc = 0;
|
|
|
|
--
|
|
2.7.0
|
|
|