From 8799b07538c91559e0c91047751055294b976d48f90e1f1cb784be7802c0a0ec Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Wed, 24 Jul 2019 10:50:00 +0000 Subject: [PATCH 1/3] - 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/package/show/X11:XOrg/glu?expand=0&rev=19 --- glu-9.0.0.tar.gz | 3 --- glu-9.0.1.tar.xz | 3 +++ glu.changes | 12 ++++++++++++ glu.spec | 10 ++++------ 4 files changed, 19 insertions(+), 9 deletions(-) delete mode 100644 glu-9.0.0.tar.gz create mode 100644 glu-9.0.1.tar.xz diff --git a/glu-9.0.0.tar.gz b/glu-9.0.0.tar.gz deleted file mode 100644 index 4dcf42d..0000000 --- a/glu-9.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f01bcf03e1b1991b5bdde03640e741fdd20d88d0b569abe744718bab7cef073b -size 303961 diff --git a/glu-9.0.1.tar.xz b/glu-9.0.1.tar.xz new file mode 100644 index 0000000..311ab36 --- /dev/null +++ b/glu-9.0.1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fb5a4c2dd6ba6d1c21ab7c05129b0769544e1d68e1e3b0ffecb18e73c93055bc +size 434632 diff --git a/glu.changes b/glu.changes index 81c6cfb..6009f79 100644 --- a/glu.changes +++ b/glu.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Wed Jul 24 10:42:00 UTC 2019 - Stefan Dirsch + +- 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 diff --git a/glu.spec b/glu.spec index b605da4..f95038a 100644 --- a/glu.spec +++ b/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: http://cgit.freedesktop.org/mesa/glu/snapshot/%{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 From 727a785ca2f6aa5c50f3d0583d65d10ab381e06263fcbb38eaa167830e2e86c8 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Wed, 24 Jul 2019 13:08:44 +0000 Subject: [PATCH 2/3] removed U_Add-D-N-DEBUG-to-CFLAGS-dependent-on-enable-debug.patch for real OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/glu?expand=0&rev=20 --- ...-to-CFLAGS-dependent-on-enable-debug.patch | 33 ------------------- 1 file changed, 33 deletions(-) delete mode 100644 U_Add-D-N-DEBUG-to-CFLAGS-dependent-on-enable-debug.patch diff --git a/U_Add-D-N-DEBUG-to-CFLAGS-dependent-on-enable-debug.patch b/U_Add-D-N-DEBUG-to-CFLAGS-dependent-on-enable-debug.patch deleted file mode 100644 index 966a7af..0000000 --- a/U_Add-D-N-DEBUG-to-CFLAGS-dependent-on-enable-debug.patch +++ /dev/null @@ -1,33 +0,0 @@ -From: Matt Turner -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 - -Tested-by: Blaž Hrastnik -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], From d1d79ee53a5250ec1193fbca35332876b8930110adff2b881c93722ce3a31be6 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Wed, 24 Jul 2019 13:17:04 +0000 Subject: [PATCH 3/3] fixed URL for sources OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/glu?expand=0&rev=21 --- glu.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glu.spec b/glu.spec index f95038a..94ed26f 100644 --- a/glu.spec +++ b/glu.spec @@ -27,7 +27,7 @@ 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.xz +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