- Update to version 9.0.2

* bugfix release
- supersedes u_autoconf-Don-t-modify-CFLAGS-in-configure-scripts.patch

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/glu?expand=0&rev=23
This commit is contained in:
Stefan Dirsch 2021-06-25 08:56:41 +00:00 committed by Git OBS Bridge
parent d1d79ee53a
commit 62b1b71b26
5 changed files with 13 additions and 67 deletions

View File

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

BIN
glu-9.0.2.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Jun 25 08:39:44 UTC 2021 - Stefan Dirsch <sndirsch@suse.com>
- Update to version 9.0.2
* bugfix release
- supersedes u_autoconf-Don-t-modify-CFLAGS-in-configure-scripts.patch
-------------------------------------------------------------------
Wed Jul 24 10:42:00 UTC 2019 - Stefan Dirsch <sndirsch@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package glu
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,18 +18,17 @@
Name: glu
%define lname libGLU1
Version: 9.0.1
Version: 9.0.2
Release: 0
Summary: OpenGL utility library
License: SUSE-SGI-FreeB-2.0
Group: Development/Libraries/C and C++
Url: http://cgit.freedesktop.org/mesa/glu/
URL: http://cgit.freedesktop.org/mesa/glu/
#Git-Clone: git://anongit.freedesktop.org/mesa/glu
#Git-Web: http://cgit.freedesktop.org/mesa/glu/
Source: https://mesa.freedesktop.org/archive/glu/%{name}-%{version}.tar.xz
Source1: baselibs.conf
Patch1: u_autoconf-Don-t-modify-CFLAGS-in-configure-scripts.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: gcc-c++
BuildRequires: libtool
@ -87,7 +86,6 @@ compiling programs with GLU.
%prep
%setup -q
%patch1 -p1
%build
if [ ! -e configure ]; then

View File

@ -1,59 +0,0 @@
From: Egbert Eich <eich@suse.de>
Date: Tue Jul 12 07:36:18 2016 +0200
Subject: [PATCH]autoconf: Don't modify CFLAGS in configure scripts
Patch-mainline: to be upstreamed
Git-repo: git://anongit.freedesktop.org/git/mesa/glu
Git-commit: 2bc3b2f952c642445d32d7ae4422088d9d2e7619
References:
Signed-off-by: Egbert Eich <eich@suse.com>
CFLAGS (and CXXFLAGS) may be overridden by the user at make time.
Therefore it is not advisable to set them explicitely in the
configure script.
Signed-off-by: Egbert Eich <eich@suse.de>
---
Makefile.am | 4 ++--
configure.ac | 14 ++++++++++----
2 files changed, 12 insertions(+), 6 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 3050df1..834c7e2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -30,8 +30,8 @@ AM_CPPFLAGS = -DLIBRARYBUILD \
-I$(top_srcdir)/src/libnurbs/internals \
-I$(top_srcdir)/src/libnurbs/interface \
-I$(top_srcdir)/src/libnurbs/nurbtess
-AM_CFLAGS = $(GL_CFLAGS) $(OSMESA_CFLAGS) $(WARNCFLAGS) $(VISIBILITY_CFLAGS)
-AM_CXXFLAGS = $(GL_CFLAGS) $(OSMESA_CFLAGS) $(WARNCXXFLAGS) $(VISIBILITY_CXXFLAGS)
+AM_CFLAGS = $(GL_CFLAGS) $(OSMESA_CFLAGS) $(WARNCFLAGS) $(VISIBILITY_CFLAGS) $(DEBUGCFLAGS)
+AM_CXXFLAGS = $(GL_CFLAGS) $(OSMESA_CFLAGS) $(WARNCXXFLAGS) $(VISIBILITY_CXXFLAGS) $(DEBUGCXXFLAGS)
GL_includedir = $(includedir)/GL
GL_include_HEADERS = \
diff --git a/configure.ac b/configure.ac
index 45abf17..ab93d8b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -42,10 +42,16 @@ 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 -DDEBUG"
- CXXFLAGS="$CXXFLAGS -g -O0 -DDEBUG"],
- [CFLAGS="$CFLAGS -DNDEBUG"
- CXXFLAGS="$CXXFLAGS -DNDEBUG"])
+ AS_IF([test "$enableval" = xyes],
+ [DEBUGCFLAGS="-g -O0 -DDEBUG"
+ DEBUGCXXFLAGS="-g -O0 -DDEBUG"],
+ [test "$enableval" = xno],
+ [DEBUGCFLAGS="-DNDEBUG"
+ DEBUGCXXFLAGS="-DNDEBUG"]),
+ [DEBUGCFLAGS="-DNDEBUG"
+ DEBUGCXXFLAGS="-DNDEBUG"])
+AC_SUBST([DEBUGCFLAGS])
+AC_SUBST([DEBUGCXXFLAGS])
dnl Make sure the pkg-config macros are defined
m4_ifndef([PKG_PROG_PKG_CONFIG],