glew: bump version.

This commit is contained in:
Jerome Duval
2015-10-01 22:24:06 +00:00
parent ed3188e73f
commit aedc25d26e
2 changed files with 15 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ COPYRIGHT="
"
HOMEPAGE="http://glew.sourceforge.net"
SOURCE_URI="http://downloads.sourceforge.net/project/glew/glew/${portVersion}/glew-${portVersion}.tgz"
CHECKSUM_SHA256="af58103f4824b443e7fa4ed3af593b8edac6f3a7be3b30911edbc7344f48e4bf"
CHECKSUM_SHA256="aa25dc48ed84b0b64b8d41cdd42c8f40f149c37fa2ffa39cd97f42c78d128bc7"
REVISION="1"
ARCHITECTURES="x86 x86_gcc2 x86_64"

View File

@@ -1,9 +1,22 @@
From ce5eed384ec6502f26461579139ee72dd5fc178e Mon Sep 17 00:00:00 2001
From 5cf1b0b434baf6594f44f172c00f1721d6fcc190 Mon Sep 17 00:00:00 2001
From: Jerome Duval <jerome.duval@gmail.com>
Date: Wed, 20 Aug 2014 16:50:24 +0000
Subject: updated Haiku patch
diff --git a/src/glewinfo.c b/src/glewinfo.c
index 3922c1f..6aa38b9 100644
--- a/src/glewinfo.c
+++ b/src/glewinfo.c
@@ -11666,7 +11666,7 @@ int main (int argc, char** argv)
fprintf(f, "GLEW version %s\n", glewGetString(GLEW_VERSION));
#if defined(_WIN32)
fprintf(f, "Reporting capabilities of pixelformat %d\n", params.pixelformat);
-#elif !defined(__APPLE__) || defined(GLEW_APPLE_GLX)
+#elif !defined(__APPLE__) && !defined(__HAIKU__) || defined(GLEW_APPLE_GLX)
fprintf(f, "Reporting capabilities of display %s, visual 0x%x\n",
params.display == NULL ? getenv("DISPLAY") : params.display, params.visual);
#endif
diff --git a/src/glewinfo_haiku.cpp b/src/glewinfo_haiku.cpp
new file mode 100644
index 0000000..3d32d00