diff --git a/media-libs/glew/glew-1.12.0.recipe b/media-libs/glew/glew-1.13.0.recipe similarity index 96% rename from media-libs/glew/glew-1.12.0.recipe rename to media-libs/glew/glew-1.13.0.recipe index 02ca95f07..6ab08486a 100644 --- a/media-libs/glew/glew-1.12.0.recipe +++ b/media-libs/glew/glew-1.13.0.recipe @@ -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" diff --git a/media-libs/glew/patches/glew-1.12.0.patchset b/media-libs/glew/patches/glew-1.13.0.patchset similarity index 74% rename from media-libs/glew/patches/glew-1.12.0.patchset rename to media-libs/glew/patches/glew-1.13.0.patchset index 34b7cace2..f3f2d4444 100644 --- a/media-libs/glew/patches/glew-1.12.0.patchset +++ b/media-libs/glew/patches/glew-1.13.0.patchset @@ -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 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