- Update to 2.8.1

- bugfixes mostly, covering MacOS, Windows and also regular 
    UNIX X code.
- use source url
- dropped upstreamed freeglut-glextconflict.patch

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/freeglut?expand=0&rev=17
This commit is contained in:
Marcus Meissner 2013-04-06 05:54:38 +00:00 committed by Git OBS Bridge
parent d6c991fd60
commit dff56ec9e5
5 changed files with 14 additions and 23 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:17afa6469f6ecb01b384c5f70b50563be0f56eb9a0231a32672c4e89bb3239f7
size 728297

3
freeglut-2.8.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dde46626a62a1cd9cf48a11951cdd592e7067c345cffe193a149dfd47aef999a
size 1005343

View File

@ -1,15 +0,0 @@
From 4504d201fa35ca2936cb475b59e50bfae93f1650 Mon Sep 17 00:00:00 2001
From: Peter Robinson <pbrobinson@gmail.com>
Date: Fri, 03 Aug 2012 10:46:16 +0000
Subject: Add patch for conflicting types found in GLext to fix FTBFS
--- freeglut-2.8.0/progs/demos/smooth_opengl3/smooth_opengl3.c.orig 2012-08-02 18:52:39.007793150 -0400
+++ freeglut-2.8.0/progs/demos/smooth_opengl3/smooth_opengl3.c 2012-08-02 18:52:41.387901801 -0400
@@ -102,7 +102,6 @@
typedef void (APIENTRY *PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer);
typedef void (APIENTRY *PFNGLBUFFERDATAPROC) (GLenum target, ourGLsizeiptr size, const GLvoid *data, GLenum usage);
typedef GLuint (APIENTRY *PFNGLCREATESHADERPROC) (GLenum type);
-typedef void (APIENTRY *PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const ourGLchar **string, const GLint *length);
typedef void (APIENTRY *PFNGLCOMPILESHADERPROC) (GLuint shader);
typedef GLuint (APIENTRY *PFNGLCREATEPROGRAMPROC) (void);
typedef void (APIENTRY *PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader);

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Sat Apr 6 05:48:39 UTC 2013 - meissner@suse.com
- Update to 2.8.1
- bugfixes mostly, covering MacOS, Windows and also regular
UNIX X code.
- use source url
- dropped upstreamed freeglut-glextconflict.patch
-------------------------------------------------------------------
Sun Mar 24 18:33:39 UTC 2013 - jengelh@inai.de

View File

@ -19,16 +19,14 @@
%define debug 0
Name: freeglut
Version: 2.8.0
Version: 2.8.1
Release: 0
Summary: Freely licensed alternative to the GLUT library
License: MIT
Group: System/Libraries
Url: http://freeglut.sourceforge.net/
Source: %{name}-%{version}.tar.bz2
Source: https://downloads.sourceforge.net/project/freeglut/%{name}/%{version}/%{name}-%{version}.tar.gz
Source1: glutman.tar.bz2
# PATCH-FIX-UPSTREAM conflicting types with GLext - coolo@suse.de
Patch0: freeglut-glextconflict.patch
BuildRequires: Mesa-devel
BuildRequires: gcc-c++
BuildRequires: libdrm-devel
@ -129,7 +127,6 @@ joystick functions on a wide range of platforms.
%prep
%setup -q -b0 -b1 -n %{name}-%{version}
%patch0 -p1
%build
./autogen.sh