From daf318d02febd1c73bd970cf89e492f9d0b4719c Mon Sep 17 00:00:00 2001 From: Matthias Goldhoorn Date: Wed, 12 Nov 2014 15:50:46 +0100 Subject: [PATCH 1/6] Corrected package_config file. On multiarch the librarys got installed in lib64. Therefore take the libpath from the makefile and not assuming the lib directory from the install dir --- glew.pc.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glew.pc.in b/glew.pc.in index d7f30a6..256daab 100644 --- a/glew.pc.in +++ b/glew.pc.in @@ -1,6 +1,6 @@ prefix=@prefix@ exec_prefix=${prefix} -libdir=${exec_prefix}/lib +libdir=@libdir@ includedir=${prefix}/include/GL Name: glew From 5eaf283c705daefb5bb0b9e8386346e07f8b802b Mon Sep 17 00:00:00 2001 From: Nigel Stewart Date: Wed, 7 Jan 2015 19:43:34 +1000 Subject: [PATCH 2/6] #264 FreeBSD: missing -fPIC when linking libglew --- config/Makefile.freebsd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/Makefile.freebsd b/config/Makefile.freebsd index bb66fcc..ca2771d 100644 --- a/config/Makefile.freebsd +++ b/config/Makefile.freebsd @@ -5,7 +5,7 @@ LDFLAGS.EXTRA = -L/usr/X11R6/lib LDFLAGS.GL = -lGL -lX11 LDFLAGS.STATIC = -Wl,-Bstatic LDFLAGS.DYNAMIC = -Wl,-Bdynamic -CFLAGS.EXTRA += -I/usr/X11R6/include +CFLAGS.EXTRA += -I/usr/X11R6/include -fPIC NAME = GLEW WARN = -Wall -W POPT = -O2 From e6a117de9bd0761ab61ba84c1f4d9db2ec8ba613 Mon Sep 17 00:00:00 2001 From: Carsten Neumann Date: Mon, 29 Dec 2014 13:34:43 -0600 Subject: [PATCH 3/6] add missing glGetGraphicsResetStatus function to VERSION_4_5 This function is in OpenGL 4.5, but not part of GL_KHR_robustness extension - it is in GL_ARB_robustness, but there it has the ARB suffix. --- auto/core/gl/GL_VERSION_4_5 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/auto/core/gl/GL_VERSION_4_5 b/auto/core/gl/GL_VERSION_4_5 index c51e936..341abfd 100644 --- a/auto/core/gl/GL_VERSION_4_5 +++ b/auto/core/gl/GL_VERSION_4_5 @@ -1,2 +1,4 @@ GL_VERSION_4_5 https://www.opengl.org/registry/doc/glspec45.compatibility.pdf + + GLenum glGetGraphicsResetStatus (void) From e37f6728fedbfed48846371bed19918e653d1263 Mon Sep 17 00:00:00 2001 From: Nigel Stewart Date: Sat, 24 Jan 2015 17:03:51 +1000 Subject: [PATCH 4/6] Sourceforge Bug 263 - Fixed include path for pkg-config --- glew.pc.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glew.pc.in b/glew.pc.in index 256daab..6d3d070 100644 --- a/glew.pc.in +++ b/glew.pc.in @@ -1,7 +1,7 @@ prefix=@prefix@ exec_prefix=${prefix} libdir=@libdir@ -includedir=${prefix}/include/GL +includedir=${prefix}/include Name: glew Description: The OpenGL Extension Wrangler library From c3e6ce6b61f31412755b8937d0397fc5970fae4f Mon Sep 17 00:00:00 2001 From: Nigel Stewart Date: Sat, 24 Jan 2015 17:08:19 +1000 Subject: [PATCH 5/6] Sourceforge Bug 253 - CFLAGS for Solaris need PIC specified --- config/Makefile.solaris | 2 +- config/Makefile.solaris-gcc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/Makefile.solaris b/config/Makefile.solaris index fe78ca1..96e6d1f 100644 --- a/config/Makefile.solaris +++ b/config/Makefile.solaris @@ -1,7 +1,7 @@ NAME = $(GLEW_NAME) CC = cc LD = ld -CFLAGS.EXTRA = -I/usr/openwin/include +CFLAGS.EXTRA = -I/usr/openwin/include -Kpic LDFLAGS.SO = -G LDFLAGS.EXTRA = -L/usr/openwin/lib LDFLAGS.GL = -lGL -lX11 diff --git a/config/Makefile.solaris-gcc b/config/Makefile.solaris-gcc index e00a95b..d66395b 100644 --- a/config/Makefile.solaris-gcc +++ b/config/Makefile.solaris-gcc @@ -1,7 +1,7 @@ NAME = $(GLEW_NAME) CC = gcc LD = ld -CFLAGS.EXTRA = -I/usr/openwin/include +CFLAGS.EXTRA = -I/usr/openwin/include -fPIC LDFLAGS.SO = -G LDFLAGS.EXTRA = -L/usr/openwin/lib LDFLAGS.GL = -lGL -lX11 From b52fa4654db22d0208643d1052bae8cdd5ba29aa Mon Sep 17 00:00:00 2001 From: Nigel Stewart Date: Sat, 24 Jan 2015 17:21:59 +1000 Subject: [PATCH 6/6] Bump copyright year to 2015 --- auto/src/glew_license.h | 2 +- auto/src/header.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/auto/src/glew_license.h b/auto/src/glew_license.h index 658b307..82a002c 100644 --- a/auto/src/glew_license.h +++ b/auto/src/glew_license.h @@ -1,6 +1,6 @@ /* ** The OpenGL Extension Wrangler Library -** Copyright (C) 2008-2014, Nigel Stewart +** Copyright (C) 2008-2015, Nigel Stewart ** Copyright (C) 2002-2008, Milan Ikits ** Copyright (C) 2002-2008, Marcelo E. Magallon ** Copyright (C) 2002, Lev Povalahev diff --git a/auto/src/header.html b/auto/src/header.html index 2774ce5..771df3f 100644 --- a/auto/src/header.html +++ b/auto/src/header.html @@ -1,7 +1,7 @@