OBS User unknown 2009-03-03 17:19:58 +00:00 committed by Git OBS Bridge
parent d2762e7f36
commit f8ceba4fba
6 changed files with 15 additions and 49 deletions

View File

@ -1,11 +0,0 @@
--- configure.ac.orig 2005-06-09 23:11:11.361441477 +0200
+++ configure.ac 2005-06-09 23:12:19.786468132 +0200
@@ -58,7 +58,7 @@
[AS_HELP_STRING([--enable-warnings],
[use all gcc compiler warnings @<:@default=yes@:>@])])
if test "x$enable_warnings" != xno -a "x$GCC" = xyes; then
- CFLAGS="$CFLAGS -Wall -pedantic -Werror"
+ CFLAGS="$CFLAGS -Wall -pedantic"
fi
# Generate output.

View File

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

3
freeglut-090301.tar.bz2 Normal file
View File

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

View File

@ -1,28 +0,0 @@
Index: src/freeglut_window.c
===================================================================
--- src/freeglut_window.c (revision 761)
+++ src/freeglut_window.c (working copy)
@@ -458,10 +458,9 @@ void fgSetWindow ( SFG_Window *window )
{
#if TARGET_HOST_POSIX_X11
if ( window )
- glXMakeContextCurrent(
+ glXMakeCurrent(
fgDisplay.Display,
window->Window.Handle,
- window->Window.Handle,
window->Window.Context
);
#elif TARGET_HOST_MS_WINDOWS
@@ -755,10 +754,9 @@ void fgOpenWindow( SFG_Window* window, const char*
XSetWMProtocols( fgDisplay.Display, window->Window.Handle,
&fgDisplay.DeleteWindow, 1 );
- glXMakeContextCurrent(
+ glXMakeCurrent(
fgDisplay.Display,
window->Window.Handle,
- window->Window.Handle,
window->Window.Context
);

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Mar 3 12:37:15 CET 2009 - sndirsch@suse.de
- switched to current freeglut sources in SVN (2009-03-01)
- obsoletes freeglut-080721.diff, freeglut-sig11-bug466806.diff
-------------------------------------------------------------------
Tue Jan 20 18:36:46 CET 2009 - mhopf@suse.de

View File

@ -1,5 +1,5 @@
#
# spec file for package freeglut (Version 080721)
# spec file for package freeglut (Version 090301)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -21,8 +21,8 @@
Name: freeglut
BuildRequires: Mesa-devel gcc-c++ libdrm-devel pkgconfig xorg-x11-devel
Summary: Freely licensed alternative to the GLUT library
Version: 080721
Release: 23
Version: 090301
Release: 1
Url: http://freeglut.sourceforge.net/
%define USE_EXTERNAL_MESA 1
Source0: freeglut-%{version}.tar.bz2
@ -30,9 +30,7 @@ Source1: glutman.tar.bz2
Source2: glxdemos.tar.bz2
Source3: xdriinfo-1.0.2.tar.bz2
Source4: compat70.tar.bz2
Patch: freeglut-%{version}.diff
Patch1: glxdemos.diff
Patch2: freeglut-sig11-bug466806.diff
Patch10: freeglut-glxgears-notify.diff
Patch11: freeglut-glxinfo-notify.diff
License: X11/MIT
@ -99,8 +97,6 @@ joystick functions on a wide range of platforms.
%prep
%setup -q -b1 -b2 -b3 -b4 -n freeglut
%patch
%patch2
%if %USE_EXTERNAL_MESA
pushd ..
%patch1
@ -200,6 +196,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/*
%changelog
* Tue Mar 03 2009 sndirsch@suse.de
- switched to current freeglut sources in SVN (2009-03-01)
- obsoletes freeglut-080721.diff, freeglut-sig11-bug466806.diff
* Tue Jan 20 2009 mhopf@suse.de
- freeglut-glxgears-notify.diff, freeglut-glxinfo-notify.diff
* Notify user if direct rendering or hardware acceleration