summaryrefslogtreecommitdiffhomepage
path: root/patches
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2018-07-20 11:48:34 +0000
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2018-07-20 11:48:34 +0000
commitf227e25980cc9bf928c6c0280f9274a17ef6009e (patch)
tree500f321cdb573265f21799b7c1deaaa56abc38f7 /patches
parentd7f274fd7ea491809bc2b3decdc598b2befaf37c (diff)
downloadmidipix_build-f227e25980cc9bf928c6c0280f9274a17ef6009e.tar.bz2
midipix_build-f227e25980cc9bf928c6c0280f9274a17ef6009e.tar.xz
vars/build.vars:native_packages_deps_x11: adds glew v2.1.0 (via Redfoxmoon.)
patches/glew-2.1.0.local.patch: via Redfoxmoon.
Diffstat (limited to 'patches')
-rw-r--r--patches/glew-2.1.0.local.patch21
1 files changed, 21 insertions, 0 deletions
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