mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 23:47:14 -08:00
net-misc/axel: remove unused patch(es)
Package-Manager: Portage-2.3.98, Repoman-2.3.22 Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/15358 Signed-off-by: Aaron Bauman <bman@gentoo.org>
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
http.c | 2 +-
|
||||
1 files changed, 1 insertions(+), 1 deletions(-)
|
||||
|
||||
diff --git a/http.c b/http.c
|
||||
index 5d64e9b..db91701 100644
|
||||
--- a/http.c
|
||||
+++ b/http.c
|
||||
@@ -164,7 +164,7 @@ int http_exec( http_t *conn )
|
||||
{
|
||||
i ++;
|
||||
}
|
||||
- strncat( conn->headers, s, MAX_QUERY );
|
||||
+ strncat( conn->headers, s, MAX_QUERY - 1);
|
||||
}
|
||||
|
||||
#ifdef DEBUG
|
||||
@@ -1,23 +0,0 @@
|
||||
Makefile | 4 ++--
|
||||
1 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 1c3863a..b43fcff 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -51,13 +51,13 @@ uninstall-etc:
|
||||
### MAIN PROGRAM
|
||||
|
||||
$(OUTFILE): axel.o conf.o conn.o ftp.o http.o search.o tcp.o text.o
|
||||
- $(CC) *.o -o $(OUTFILE) $(LFLAGS)
|
||||
+ $(CC) $(LDFLAGS) *.o -o $(OUTFILE) $(LFLAGS)
|
||||
ifndef DEBUG
|
||||
-$(STRIP) $(OUTFILE)
|
||||
endif
|
||||
|
||||
.c.o:
|
||||
- $(CC) -c $*.c -o $*.o -Wall $(CFLAGS)
|
||||
+ $(CC) $(CPPFLAGS) -c $*.c -o $*.o -Wall $(CFLAGS)
|
||||
|
||||
install-bin:
|
||||
mkdir -p $(DESTDIR)$(BINDIR)/
|
||||
@@ -1,16 +0,0 @@
|
||||
axel.h | 2 +-
|
||||
1 files changed, 1 insertions(+), 1 deletions(-)
|
||||
|
||||
diff --git a/axel.h b/axel.h
|
||||
index e90d30d..f6ebfe8 100644
|
||||
--- a/axel.h
|
||||
+++ b/axel.h
|
||||
@@ -66,7 +66,7 @@
|
||||
/* Compiled-in settings */
|
||||
#define MAX_STRING 1024
|
||||
#define MAX_ADD_HEADERS 10
|
||||
-#define MAX_REDIR 5
|
||||
+#define MAX_REDIR 25
|
||||
#define AXEL_VERSION_STRING "2.4"
|
||||
#define DEFAULT_USER_AGENT "Axel " AXEL_VERSION_STRING " (" ARCH ")"
|
||||
|
||||
Reference in New Issue
Block a user