Accepting request 718250 from X11:XOrg
- Update to version 9.0.1 * libutils/mipmap.c: Fixed possible memory leak * pkgconfig: Include -I path for glu itself * Remove all uses of the register keyword. * Add -D(N)DEBUG to CFLAGS dependent on --enable-debug * libutil: Include stddef.h for NULL * glu: initialize PriorityQ::order field to NULL in pqNewPriorityQ() - supersedes U_Add-D-N-DEBUG-to-CFLAGS-dependent-on-enable-debug.patch OBS-URL: https://build.opensuse.org/request/show/718250 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glu?expand=0&rev=11
This commit is contained in:
commit
7c574e3f31
@ -1,33 +0,0 @@
|
||||
From: Matt Turner <mattst88@gmail.com>
|
||||
Date: Thu Feb 21 20:40:31 2013 -0800
|
||||
Subject: [PATCH]Add -D(N)DEBUG to CFLAGS dependent on --enable-debug
|
||||
Patch-mainline: to be upstreamed
|
||||
Git-repo: git://anongit.freedesktop.org/git/mesa/glu
|
||||
Git-commit: 069211570c32a8d5848e127975a2943e9d8fc6b9
|
||||
References:
|
||||
Signed-off-by: Egbert Eich <eich@suse.com>
|
||||
|
||||
Tested-by: Blaž Hrastnik <speed.the.bboy@gmail.com>
|
||||
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=61003
|
||||
---
|
||||
configure.ac | 7 ++++---
|
||||
1 file changed, 4 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index cbfd047..45abf17 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -42,9 +42,10 @@ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
|
||||
AC_ARG_ENABLE(debug,
|
||||
AS_HELP_STRING([--enable-debug],
|
||||
[Enable debugging information]),
|
||||
- [CFLAGS="$CFLAGS -g -O0"
|
||||
- CXXFLAGS="$CXXFLAGS -g -O0"],
|
||||
- [])
|
||||
+ [CFLAGS="$CFLAGS -g -O0 -DDEBUG"
|
||||
+ CXXFLAGS="$CXXFLAGS -g -O0 -DDEBUG"],
|
||||
+ [CFLAGS="$CFLAGS -DNDEBUG"
|
||||
+ CXXFLAGS="$CXXFLAGS -DNDEBUG"])
|
||||
|
||||
dnl Make sure the pkg-config macros are defined
|
||||
m4_ifndef([PKG_PROG_PKG_CONFIG],
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f01bcf03e1b1991b5bdde03640e741fdd20d88d0b569abe744718bab7cef073b
|
||||
size 303961
|
3
glu-9.0.1.tar.xz
Normal file
3
glu-9.0.1.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fb5a4c2dd6ba6d1c21ab7c05129b0769544e1d68e1e3b0ffecb18e73c93055bc
|
||||
size 434632
|
12
glu.changes
12
glu.changes
@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 24 10:42:00 UTC 2019 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- Update to version 9.0.1
|
||||
* libutils/mipmap.c: Fixed possible memory leak
|
||||
* pkgconfig: Include -I path for glu itself
|
||||
* Remove all uses of the register keyword.
|
||||
* Add -D(N)DEBUG to CFLAGS dependent on --enable-debug
|
||||
* libutil: Include stddef.h for NULL
|
||||
* glu: initialize PriorityQ::order field to NULL in pqNewPriorityQ()
|
||||
- supersedes U_Add-D-N-DEBUG-to-CFLAGS-dependent-on-enable-debug.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 29 14:36:30 UTC 2017 - sndirsch@suse.com
|
||||
|
||||
|
10
glu.spec
10
glu.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package glu
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -12,13 +12,13 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: glu
|
||||
%define lname libGLU1
|
||||
Version: 9.0.0
|
||||
Version: 9.0.1
|
||||
Release: 0
|
||||
Summary: OpenGL utility library
|
||||
License: SUSE-SGI-FreeB-2.0
|
||||
@ -27,9 +27,8 @@ Url: http://cgit.freedesktop.org/mesa/glu/
|
||||
|
||||
#Git-Clone: git://anongit.freedesktop.org/mesa/glu
|
||||
#Git-Web: http://cgit.freedesktop.org/mesa/glu/
|
||||
Source: http://cgit.freedesktop.org/mesa/glu/snapshot/%{name}-%{version}.tar.gz
|
||||
Source: https://mesa.freedesktop.org/archive/glu/%{name}-%{version}.tar.xz
|
||||
Source1: baselibs.conf
|
||||
Patch0: U_Add-D-N-DEBUG-to-CFLAGS-dependent-on-enable-debug.patch
|
||||
Patch1: u_autoconf-Don-t-modify-CFLAGS-in-configure-scripts.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: gcc-c++
|
||||
@ -88,7 +87,6 @@ compiling programs with GLU.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
|
Loading…
Reference in New Issue
Block a user