From f227e25980cc9bf928c6c0280f9274a17ef6009e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz?= Date: Fri, 20 Jul 2018 11:48:34 +0000 Subject: vars/build.vars:native_packages_deps_x11: adds glew v2.1.0 (via Redfoxmoon.) patches/glew-2.1.0.local.patch: via Redfoxmoon. --- patches/glew-2.1.0.local.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 patches/glew-2.1.0.local.patch (limited to 'patches') diff --git a/patches/glew-2.1.0.local.patch b/patches/glew-2.1.0.local.patch new file mode 100644 index 00000000..4221c9c5 --- /dev/null +++ b/patches/glew-2.1.0.local.patch @@ -0,0 +1,21 @@ +diff -Nru glew-2.1.0.orig/config/Makefile.midipix glew-2.1.0/config/Makefile.midipix +--- glew-2.1.0.orig/config/Makefile.midipix 1970-01-01 01:00:00.000000000 +0100 ++++ glew-2.1.0/config/Makefile.midipix 2018-07-19 22:26:01.674783470 +0200 +@@ -0,0 +1,17 @@ ++NAME = $(GLEW_NAME) ++CC = gcc ++LD = gcc ++LDFLAGS.GL = -lGL -lX11 ++NAME = GLEW ++WARN = -Wall -W ++POPT = -O2 ++CFLAGS.EXTRA += -fPIC -I./include ++CFLAGS.EXTRA += -Wcast-qual ++CFLAGS.EXTRA += -ansi -pedantic ++CFLAGS.EXTRA += -fno-stack-protector ++BIN.SUFFIX = ++LIB.SONAME = lib$(NAME).so.$(SO_MAJOR) ++LIB.DEVLNK = lib$(NAME).so ++LIB.SHARED = lib$(NAME).so.$(SO_VERSION) ++LIB.STATIC = lib$(NAME).a ++LDFLAGS.SO = -shared -Wl,-soname=$(LIB.SONAME) -Wl,--out-dsolib,lib/lib$(NAME).lib.a -- cgit v1.2.3