Add patch: libutil: Include stddef.h for NULL
This commit is contained in:
parent
b2989960f1
commit
0247e5e185
19
SOURCES/include_stddef.patch
Normal file
19
SOURCES/include_stddef.patch
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
diff --git a/glu.pc.in b/glu.pc.in
|
||||||
|
index 939740d..8bb957a 100644
|
||||||
|
--- a/glu.pc.in
|
||||||
|
+++ b/glu.pc.in
|
||||||
|
@@ -9,3 +9,4 @@ Requires: @GLU_REQUIRES@
|
||||||
|
Version: @VERSION@
|
||||||
|
Libs: -L${libdir} -lGLU
|
||||||
|
Libs.private: -lm
|
||||||
|
+Cflags: -I${includedir}
|
||||||
|
diff --git a/src/libutil/error.c b/src/libutil/error.c
|
||||||
|
index 7212748..d3b2666 100644
|
||||||
|
--- a/src/libutil/error.c
|
||||||
|
+++ b/src/libutil/error.c
|
||||||
|
@@ -30,6 +30,7 @@
|
||||||
|
|
||||||
|
#include "gluos.h"
|
||||||
|
#include "gluint.h"
|
||||||
|
+#include <stddef.h>
|
||||||
|
#include <GL/glu.h>
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: mesa-libGLU
|
Name: mesa-libGLU
|
||||||
Version: 9.0.0
|
Version: 9.0.0
|
||||||
Release: 15%{?dist}
|
Release: 15%{?dist}.alma
|
||||||
Summary: Mesa libGLU library
|
Summary: Mesa libGLU library
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -13,6 +13,9 @@ Source2: make-git-snapshot.sh
|
|||||||
Patch1: 0001-glu-initialize-PriorityQ-order-field-to-NULL-in-pqNe.patch
|
Patch1: 0001-glu-initialize-PriorityQ-order-field-to-NULL-in-pqNe.patch
|
||||||
Patch2: 0002-Add-D-N-DEBUG-to-CFLAGS-dependent-on-enable-debug.patch
|
Patch2: 0002-Add-D-N-DEBUG-to-CFLAGS-dependent-on-enable-debug.patch
|
||||||
|
|
||||||
|
# Fixed in the 9.0.1 version
|
||||||
|
Patch9999: include_stddef.patch
|
||||||
|
|
||||||
BuildRequires: autoconf automake libtool
|
BuildRequires: autoconf automake libtool
|
||||||
BuildRequires: mesa-libGL-devel
|
BuildRequires: mesa-libGL-devel
|
||||||
#Requires:
|
#Requires:
|
||||||
@ -36,6 +39,8 @@ developing applications that use %{name}.
|
|||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
|
|
||||||
|
%patch9999 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -v -i -f
|
autoreconf -v -i -f
|
||||||
%configure --disable-static
|
%configure --disable-static
|
||||||
@ -61,6 +66,9 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/man/man3/gl[A-Z]*
|
|||||||
%{_libdir}/pkgconfig/glu.pc
|
%{_libdir}/pkgconfig/glu.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Nov 02 2021 Eduard Abdullin <eabdullin@almalinux.org> - 9.0.0-15.alma
|
||||||
|
- Add patch: Include stddef.h for NULL
|
||||||
|
|
||||||
* Fri Jun 29 2018 Adam Jackson <ajax@redhat.com> - 9.0.0-15
|
* Fri Jun 29 2018 Adam Jackson <ajax@redhat.com> - 9.0.0-15
|
||||||
- Use ldconfig scriptlet macros
|
- Use ldconfig scriptlet macros
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user