summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVirgil Dupras <vdupras@gentoo.org>2018-10-06 22:13:03 -0400
committerVirgil Dupras <vdupras@gentoo.org>2018-10-06 22:13:03 -0400
commit63926daea9a8a9b4e5e6f49b5159b5cdd6dd39b7 (patch)
treea5c18b95c2ab2ce4fee018db6c38a68f3ca5c48e /dev-lang/mujs/files
parentprofiles: remove stale mask entry for dev-util/meson (diff)
downloadgentoo-63926daea9a8a9b4e5e6f49b5159b5cdd6dd39b7.tar.gz
gentoo-63926daea9a8a9b4e5e6f49b5159b5cdd6dd39b7.tar.bz2
gentoo-63926daea9a8a9b4e5e6f49b5159b5cdd6dd39b7.zip
dev-lang/mujs: bump to 1.0.4
Bug: https://bugs.gentoo.org/605554 Bug: https://bugs.gentoo.org/646784 Signed-off-by: Virgil Dupras <vdupras@gentoo.org> Package-Manager: Portage-2.3.50, Repoman-2.3.11
Diffstat (limited to 'dev-lang/mujs/files')
-rw-r--r--dev-lang/mujs/files/mujs-1.0.4-gentoo.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/dev-lang/mujs/files/mujs-1.0.4-gentoo.patch b/dev-lang/mujs/files/mujs-1.0.4-gentoo.patch
new file mode 100644
index 000000000000..c05b8787466c
--- /dev/null
+++ b/dev-lang/mujs/files/mujs-1.0.4-gentoo.patch
@@ -0,0 +1,23 @@
+1. Add to user-defined CFLAGS instead of being overwritten by them
+2. Don't strip binaries: it leads to QA warnings
+diff --git a/Makefile b/Makefile
+index 7284f51..7615158 100644
+--- a/Makefile
++++ b/Makefile
+@@ -15,7 +15,7 @@ endif
+
+ # Compiler flags for various configurations:
+
+-CFLAGS := -std=c99 -pedantic -Wall -Wextra -Wno-unused-parameter
++CFLAGS += -std=c99 -pedantic -Wall -Wextra -Wno-unused-parameter
+
+ ifeq "$(CC)" "clang"
+ CFLAGS += -Wunreachable-code
+@@ -32,7 +32,6 @@ else ifeq "$(build)" "sanitize"
+ LDFLAGS += -fsanitize=address
+ else
+ CFLAGS += -Os
+- LDFLAGS += -Wl,-s
+ endif
+
+ ifeq "$(HAVE_READLINE)" "yes"