forked from pool/freeglut
Accepting request 163025 from devel:libraries:c_c++
- 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/request/show/163025 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/freeglut?expand=0&rev=33
This commit is contained in:
commit
d20b8e11c3
@ -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
3
freeglut-2.8.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:dde46626a62a1cd9cf48a11951cdd592e7067c345cffe193a149dfd47aef999a
|
||||||
|
size 1005343
|
@ -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);
|
|
@ -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
|
Sun Mar 24 18:33:39 UTC 2013 - jengelh@inai.de
|
||||||
|
|
||||||
|
@ -19,16 +19,14 @@
|
|||||||
%define debug 0
|
%define debug 0
|
||||||
|
|
||||||
Name: freeglut
|
Name: freeglut
|
||||||
Version: 2.8.0
|
Version: 2.8.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Freely licensed alternative to the GLUT library
|
Summary: Freely licensed alternative to the GLUT library
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Url: http://freeglut.sourceforge.net/
|
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
|
Source1: glutman.tar.bz2
|
||||||
# PATCH-FIX-UPSTREAM conflicting types with GLext - coolo@suse.de
|
|
||||||
Patch0: freeglut-glextconflict.patch
|
|
||||||
BuildRequires: Mesa-devel
|
BuildRequires: Mesa-devel
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: libdrm-devel
|
BuildRequires: libdrm-devel
|
||||||
@ -129,7 +127,6 @@ joystick functions on a wide range of platforms.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -b0 -b1 -n %{name}-%{version}
|
%setup -q -b0 -b1 -n %{name}-%{version}
|
||||||
%patch0 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
|
Loading…
x
Reference in New Issue
Block a user