aboutsummaryrefslogtreecommitdiff
path: root/ports/libzip/fix-attribute.patch
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2018-01-25 13:09:15 -0800
committerGitHub <noreply@github.com>2018-01-25 13:09:15 -0800
commit7722798ecb3a49b46f494058c58ff41d9e31d2c4 (patch)
tree53938b741409f22fbe2ad7c335e003ca0a9cc643 /ports/libzip/fix-attribute.patch
parent9e0e0ebe6232303a9de41d0ae5f2167ad4a7382f (diff)
parentf04a4aee91babba8f9924f859bfd959fe34c2445 (diff)
downloadvcpkg-7722798ecb3a49b46f494058c58ff41d9e31d2c4.tar.gz
vcpkg-7722798ecb3a49b46f494058c58ff41d9e31d2c4.zip
Merge pull request #2633 from tobiaskohlbau/libzip
[libzip] bump to 1.4.0
Diffstat (limited to 'ports/libzip/fix-attribute.patch')
-rw-r--r--ports/libzip/fix-attribute.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/ports/libzip/fix-attribute.patch b/ports/libzip/fix-attribute.patch
new file mode 100644
index 000000000..0669d75d6
--- /dev/null
+++ b/ports/libzip/fix-attribute.patch
@@ -0,0 +1,12 @@
+diff --git a/lib/zip_algorithm_bzip2.c b/lib/zip_algorithm_bzip2.c
+index 1748fd4..fd74503 100644
+--- a/lib/zip_algorithm_bzip2.c
++++ b/lib/zip_algorithm_bzip2.c
+@@ -270,6 +270,6 @@ zip_compression_algorithm_t zip_algorithm_bzip2_decompress = {
+
+ #else
+
+-static int dummy __attribute__((used));
++static int dummy;
+
+ #endif /* HAVE_LIBBZ2 */