Added #include <stddef.h> in error.c for successful build

i8 changed/i8/mesa-libGLU-9.0.0-15.el8.inferit
Sergey Cherevko 10 months ago
parent 5cf9889a53
commit 0b3fc58e5f
Signed by: scherevko
GPG Key ID: D87CBBC16D2E4A72

@ -0,0 +1,25 @@
From 6b4c55d80dd64ca850159d8497178bc70f8ec51c Mon Sep 17 00:00:00 2001
From: Sergey Cherevko <s.cherevko@msvsphere-os.ru>
Date: Tue, 28 Nov 2023 13:01:49 +0300
Subject: [PATCH] MSVSphere include stddef.h
---
src/libutil/error.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libutil/error.c b/src/libutil/error.c
index 7212748..c71ffdf 100644
--- a/src/libutil/error.c
+++ b/src/libutil/error.c
@@ -31,7 +31,7 @@
#include "gluos.h"
#include "gluint.h"
#include <GL/glu.h>
-
+#include <stddef.h>
struct token_string
{
--
2.39.3

@ -2,7 +2,7 @@
Name: mesa-libGLU
Version: 9.0.0
Release: 15%{?dist}
Release: 15%{?dist}.inferit
Summary: Mesa libGLU library
License: MIT
@ -12,6 +12,8 @@ Source2: make-git-snapshot.sh
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
# MSVSphere
Patch100: 0001-MSVSphere-include-stddef.h.patch
BuildRequires: autoconf automake libtool
BuildRequires: mesa-libGL-devel
@ -35,6 +37,7 @@ developing applications that use %{name}.
%setup -q -n glu-%{?gitdate:%{gitdate}}%{?!gitdate:%{version}}
%patch1 -p1
%patch2 -p1
%patch100 -p1
%build
autoreconf -v -i -f
@ -61,7 +64,8 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/man/man3/gl[A-Z]*
%{_libdir}/pkgconfig/glu.pc
%changelog
* Wed Jul 26 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 9.0.0-15
* Tue Nov 28 2023 Sergey Cherevko <s.cherevko@msvsphere-os.ru> - 9.0.0-15.inferit
- Added #include <stddef.h> in error.c for successful build
- Rebuilt for MSVSphere 8.8
* Fri Jun 29 2018 Adam Jackson <ajax@redhat.com> - 9.0.0-15

Loading…
Cancel
Save