From 441510fa20665b7920b149994e72b3a1cd62a813 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 31 May 2023 09:23:01 +0100 Subject: gentoo auto-resync : 31:05:2023 - 09:23:01 --- net-misc/trurl/files/trurl-0.7-fix-makefile.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 net-misc/trurl/files/trurl-0.7-fix-makefile.patch (limited to 'net-misc/trurl/files') diff --git a/net-misc/trurl/files/trurl-0.7-fix-makefile.patch b/net-misc/trurl/files/trurl-0.7-fix-makefile.patch new file mode 100644 index 000000000000..f1ecb28d3aaa --- /dev/null +++ b/net-misc/trurl/files/trurl-0.7-fix-makefile.patch @@ -0,0 +1,21 @@ +See https://github.com/curl/trurl/pull/158#issuecomment-1512397801. +--- a/Makefile ++++ b/Makefile +@@ -1,7 +1,6 @@ + TARGET = trurl + OBJS = trurl.o +-LDLIBS = $$(curl-config --libs) +-CFLAGS = $$(curl-config --cflags) -W -Wall -Wshadow -Werror -pedantic -g ++LDLIBS = $(shell curl-config --libs) + MANUAL = trurl.1 + + PREFIX ?= /usr/local +@@ -12,7 +11,7 @@ INSTALL ?= install + PYTHON3 ?= python3 + + $(TARGET): $(OBJS) +- $(CC) $(OBJS) -o $(TARGET) $(LDLIBS) $(LDFLAGS) ++ $(CC) $(CPPFLAGS) $(CFLAGS) -Wall $(shell curl-config --cflags) $(LDFLAGS) $(OBJS) -o $(TARGET) $(LDLIBS) + + trurl.o:trurl.c version.h + -- cgit v1.2.3