summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2023-08-16 23:50:04 +0200
committerBernard Cafarelli <voyageur@gentoo.org>2023-08-16 23:50:04 +0200
commit64664507e8311690d16bec79324880f1bd261ebd (patch)
treea6d33c83767d11b00c929b188269abcbf1f5c22f /net-misc/wget2/files
parentnet-misc/wget2: drop 2.0.1, 2.0.1-r2 (diff)
downloadgentoo-64664507e8311690d16bec79324880f1bd261ebd.tar.gz
gentoo-64664507e8311690d16bec79324880f1bd261ebd.tar.bz2
gentoo-64664507e8311690d16bec79324880f1bd261ebd.zip
net-misc/wget2: fix compilation with USE=lzip
Closes: https://bugs.gentoo.org/822057 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'net-misc/wget2/files')
-rw-r--r--net-misc/wget2/files/wget2-2.0.1-stdint.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/net-misc/wget2/files/wget2-2.0.1-stdint.patch b/net-misc/wget2/files/wget2-2.0.1-stdint.patch
new file mode 100644
index 000000000000..984cf52c1fc0
--- /dev/null
+++ b/net-misc/wget2/files/wget2-2.0.1-stdint.patch
@@ -0,0 +1,24 @@
+From 96fda91da2df356a7e0897187822e27125a3e40b Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Tim=20R=C3=BChsen?= <tim.ruehsen@gmx.de>
+Date: Mon, 22 May 2023 19:56:35 +0200
+Subject: * libwget/decompressor.c: Explicitly include stdint.h before lzlib.h
+
+---
+ libwget/decompressor.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/libwget/decompressor.c b/libwget/decompressor.c
+index 53ed884..69ce5dd 100644
+--- a/libwget/decompressor.c
++++ b/libwget/decompressor.c
+@@ -60,6 +60,7 @@
+ #endif
+
+ #ifdef WITH_LZIP
++#include <stdint.h>
+ #include <lzlib.h>
+ #endif
+
+--
+cgit v1.1
+