summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerhard Bräunlich <wippbox@gmx.net>2016-09-06 16:48:43 +0200
committerDavid Seifert <soap@gentoo.org>2016-09-06 22:04:02 +0200
commit5d7c81be8900a8f0c8e482a0c77852b08d71a5ad (patch)
treeb5654b6f57f436d83cefd447f11f69ec9bfe34b2 /sci-mathematics/gsl-shell/files/gsl-shell-2.3.0-gdt-cflags.patch
parentmedia-video/subliminal: verbump to 2.0.5 (diff)
downloadgentoo-5d7c81be8900a8f0c8e482a0c77852b08d71a5ad.tar.gz
gentoo-5d7c81be8900a8f0c8e482a0c77852b08d71a5ad.tar.bz2
gentoo-5d7c81be8900a8f0c8e482a0c77852b08d71a5ad.zip
sci-mathematics/gsl-shell: Version bump to 2.3.0_beta1
* EAPI=6 Package-Manager: portage-2.2.28 Closes: https://github.com/gentoo/gentoo/pull/2257 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-mathematics/gsl-shell/files/gsl-shell-2.3.0-gdt-cflags.patch')
-rw-r--r--sci-mathematics/gsl-shell/files/gsl-shell-2.3.0-gdt-cflags.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/sci-mathematics/gsl-shell/files/gsl-shell-2.3.0-gdt-cflags.patch b/sci-mathematics/gsl-shell/files/gsl-shell-2.3.0-gdt-cflags.patch
new file mode 100644
index 000000000000..388fa003f0ff
--- /dev/null
+++ b/sci-mathematics/gsl-shell/files/gsl-shell-2.3.0-gdt-cflags.patch
@@ -0,0 +1,20 @@
+--- a/gdt/Makefile
++++ b/gdt/Makefile
+@@ -27,7 +27,7 @@ include $(GSH_BASE_DIR)/makedefs
+
+ INCLUDES += -I$(GSH_BASE_DIR)
+
+-CFLAGS += -std=c99
++GDT_CFLAGS = $(CFLAGS) -std=c99
+
+ GDT_SRC_FILES = char_buffer.c gdt_index.c gdt_table.c
+ GDT_OBJ_FILES := $(GDT_SRC_FILES:%.c=%.o)
+@@ -36,7 +36,7 @@ DEP_FILES := $(GDT_SRC_FILES:%.c=.deps/%.P)
+
+ DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
+
+-COMPILE = $(CC) $(CFLAGS) $(LUA_CFLAGS) $(DEFS) $(INCLUDES)
++COMPILE = $(CC) $(GDT_CFLAGS) $(LUA_CFLAGS) $(DEFS) $(INCLUDES)
+
+ TARGETS = libgdt.a
+