diff options
author | Michael Mair-Keimberger <mmk@levelnine.at> | 2024-03-19 20:20:31 +0100 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2024-03-23 08:05:05 +0200 |
commit | 3b305d92ffdaab6b7703010911dccff204b67571 (patch) | |
tree | a9ee77fcda7979e30fd1e6bc2e87f4c7324db97b /net-analyzer | |
parent | media-video/vlc: remove unused patch (diff) | |
download | gentoo-3b305d92ffdaab6b7703010911dccff204b67571.tar.gz gentoo-3b305d92ffdaab6b7703010911dccff204b67571.tar.bz2 gentoo-3b305d92ffdaab6b7703010911dccff204b67571.zip |
net-analyzer/hydra: remove unused patch
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/35834
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/hydra/files/hydra-9.4-implicit-func-decl.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/net-analyzer/hydra/files/hydra-9.4-implicit-func-decl.patch b/net-analyzer/hydra/files/hydra-9.4-implicit-func-decl.patch deleted file mode 100644 index bf4dd61e33ce..000000000000 --- a/net-analyzer/hydra/files/hydra-9.4-implicit-func-decl.patch +++ /dev/null @@ -1,33 +0,0 @@ -https://github.com/vanhauser-thc/thc-hydra/pull/786 - -From 613bd02264dcc989eeeb77b83603d4c2f48f0bbc Mon Sep 17 00:00:00 2001 -From: Sam James <sam@gentoo.org> -Date: Fri, 9 Sep 2022 04:32:05 +0100 -Subject: [PATCH] Makefile.am: add -D_GNU_SOURCE for strcasestr -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -strcasestr is not a standard function and per -the man page, needs -D_GNU_SOURCE to be visible. - -Fixes a build error: -``` -hydra-rtsp.c:20:7: error: implicit declaration of function ‘strcasestr’; did you mean ‘strcasecmp’? [-Werror=implicit-function-declaration] - 20 | if (strcasestr(s, "401 Unauthorized") != NULL) { - | ^~~~~~~~~~ - | strcasecmp -``` - -Signed-off-by: Sam James <sam@gentoo.org> ---- a/Makefile.am -+++ b/Makefile.am -@@ -5,6 +5,7 @@ WARN_CLANG=-Wformat-nonliteral -Wstrncat-size -Wformat-security -Wsign-conversio - WARN_GCC=-Wformat=2 -Wformat-overflow=2 -Wformat-nonliteral -Wformat-truncation=2 -Wnull-dereference -Wstrict-overflow=2 -Wstringop-overflow=4 -Walloca-larger-than=4096 -Wtype-limits -Wconversion -Wtrampolines -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fno-common -Wcast-align - CFLAGS ?= -g - OPTS=-I. -O3 $(CFLAGS) -fcommon -+CPPFLAGS += -D_GNU_SOURCE - # -Wall -g -pedantic - LIBS=-lm - DESTDIR ?= - |