From 6c482c4d25c06c3caa8b4d4f831bfceb75221e6c Mon Sep 17 00:00:00 2001 From: tnut Date: Thu, 14 Oct 2010 09:09:57 +0200 Subject: freeglut, port nettoyé MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extra/freeglut/Pkgfile | 2 +- extra/freeglut/glut-cursor-inherit.patch | 23 ----------------------- 2 files changed, 1 insertion(+), 24 deletions(-) delete mode 100644 extra/freeglut/glut-cursor-inherit.patch (limited to 'extra/freeglut') diff --git a/extra/freeglut/Pkgfile b/extra/freeglut/Pkgfile index 600492126..1b6492336 100755 --- a/extra/freeglut/Pkgfile +++ b/extra/freeglut/Pkgfile @@ -8,7 +8,7 @@ name=freeglut version=2.4.0 release=1 source=(http://downloads.sourceforge.net/freeglut//$name-$version.tar.gz \ - glut-cursor-inherit.patch) + http://nutyx.meticul.eu/files/patchs/$name/glut-cursor-inherit.patch) build() { cd $name-$version patch -Np1 -i ../glut-cursor-inherit.patch diff --git a/extra/freeglut/glut-cursor-inherit.patch b/extra/freeglut/glut-cursor-inherit.patch deleted file mode 100644 index b56a37cb8..000000000 --- a/extra/freeglut/glut-cursor-inherit.patch +++ /dev/null @@ -1,23 +0,0 @@ ---- freeglut-2.4.0.orig/src/freeglut_cursor.c -+++ freeglut-2.4.0/src/freeglut_cursor.c -@@ -130,7 +130,9 @@ - XCreateFontCursor( fgDisplay.Display, entry->cursorShape ); - } - cursor = entry->cachedCursor; -- } else { -+ if (cursor == None) -+ fgError( "Failed to create cursor" ); -+ } else { - switch( cursorIDToUse ) - { - case GLUT_CURSOR_NONE: -@@ -147,9 +149,6 @@ - } - } - -- if ( ( cursorIDToUse != GLUT_CURSOR_NONE ) && ( cursor == None ) ) { -- fgError( "Failed to create cursor" ); -- } - XDefineCursor( fgDisplay.Display, - window->Window.Handle, cursor ); - } -- cgit v1.2.3-70-g09d2