From 7288c6e5fa05acddbf692a5187d925ef85662b46 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 18 Apr 2023 11:55:01 +0100 Subject: gentoo auto-resync : 18:04:2023 - 11:55:01 --- net-misc/trurl/files/trurl-0.5-fix-makefile.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 net-misc/trurl/files/trurl-0.5-fix-makefile.patch (limited to 'net-misc/trurl/files') diff --git a/net-misc/trurl/files/trurl-0.5-fix-makefile.patch b/net-misc/trurl/files/trurl-0.5-fix-makefile.patch new file mode 100644 index 000000000000..66a152991ca4 --- /dev/null +++ b/net-misc/trurl/files/trurl-0.5-fix-makefile.patch @@ -0,0 +1,22 @@ +See https://github.com/curl/trurl/pull/158#issuecomment-1512397801. +--- a/Makefile ++++ b/Makefile +@@ -1,8 +1,6 @@ + TARGET = trurl + OBJS = trurl.o +-LDLIBS != curl-config --libs +-CFLAGS != curl-config --cflags +-CFLAGS += -W -Wall -pedantic -g ++LDLIBS = $(shell curl-config --libs) + MANUAL = trurl.1 + + PREFIX ?= /usr/local +@@ -13,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