summaryrefslogtreecommitdiff
path: root/x11-wm/wideriver/files/patch-config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/wideriver/files/patch-config.mk')
-rw-r--r--x11-wm/wideriver/files/patch-config.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/x11-wm/wideriver/files/patch-config.mk b/x11-wm/wideriver/files/patch-config.mk
new file mode 100644
index 000000000000..224402613648
--- /dev/null
+++ b/x11-wm/wideriver/files/patch-config.mk
@@ -0,0 +1,22 @@
+--- config.mk.orig 2025-07-29 04:27:40 UTC
++++ config.mk
+@@ -4,11 +4,11 @@ PREFIX ?= /usr/local
+
+ PREFIX ?= /usr/local
+
+-INCS = -Iinc -Ipro -Ilib/col/inc
++INCS ?= -Iinc -Ipro -Ilib/col/inc
+
+ CPPFLAGS += $(INCS) -D_GNU_SOURCE -DVERSION=\"$(VERSION)\" -DRIVER_LAYOUT_V3_VERSION=$(RIVER_LAYOUT_V3_VERSION)
+
+-OFLAGS = -O3
++#OFLAGS = -O3
+ WFLAGS = -pedantic -Wall -Wextra -Werror -Wimplicit-fallthrough -Wno-unused-parameter -Wno-format-zero-length
+ DFLAGS = -g
+ COMPFLAGS = $(WFLAGS) $(OFLAGS) $(DFLAGS)
+@@ -26,4 +26,4 @@ LDLIBS += $(foreach p,$(PKGS),$(shell $(PKG_CONFIG) --
+ CFLAGS += $(foreach p,$(PKGS),$(shell $(PKG_CONFIG) --cflags $(p)))
+ LDLIBS += $(foreach p,$(PKGS),$(shell $(PKG_CONFIG) --libs $(p)))
+
+-CC = gcc
++CC ?= gcc