From e15fb8548c9bcd6ad39fbb47c3e67fd57e074eca Mon Sep 17 00:00:00 2001 From: kmos Date: Wed, 30 Nov 2022 05:36:09 +0000 Subject: [PATCH] Fix Makefile.inc patch. patch swaps from gnu99 to gnu89, except software uses c99 constructs. Fixes build on sparc64 --- x11/jgmenu/patches/patch-Makefile_inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/x11/jgmenu/patches/patch-Makefile_inc b/x11/jgmenu/patches/patch-Makefile_inc index 29668f5d444..14a56896dab 100644 --- a/x11/jgmenu/patches/patch-Makefile_inc +++ b/x11/jgmenu/patches/patch-Makefile_inc @@ -1,4 +1,7 @@ Index: Makefile.inc + +Take out -g and -Os + --- Makefile.inc.orig +++ Makefile.inc @@ -15,7 +15,7 @@ else @@ -6,7 +9,7 @@ Index: Makefile.inc endif -CFLAGS += -g -Wall -Os -std=gnu99 -+CFLAGS += -Wall -std=gnu89 ++CFLAGS += -Wall -std=gnu99 CFLAGS += -Wextra -Wdeclaration-after-statement -Wno-format-zero-length \ -Wold-style-definition -Woverflow -Wpointer-arith \ -Wstrict-prototypes -Wunused -Wvla -Wunused-result