From 56cc2fad95b0c73574ecc0c8aed2d624160c930b Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Tue, 3 Oct 2023 10:16:12 +0200 Subject: [PATCH] Add missing include --- mapserver-include.patch | 11 +++++++++++ mapserver.spec | 2 ++ 2 files changed, 13 insertions(+) create mode 100644 mapserver-include.patch diff --git a/mapserver-include.patch b/mapserver-include.patch new file mode 100644 index 0000000..1d235ac --- /dev/null +++ b/mapserver-include.patch @@ -0,0 +1,11 @@ +diff -rupN MapServer-rel-8-0-1/mapshape.c MapServer-rel-8-0-1-new/mapshape.c +--- MapServer-rel-8-0-1/mapshape.c 2023-04-17 19:26:04.000000000 +0200 ++++ MapServer-rel-8-0-1-new/mapshape.c 2023-10-03 10:12:03.001133881 +0200 +@@ -39,6 +39,7 @@ + #include + #include + #include ++#include + #include "mapserver.h" + #include "mapows.h" + diff --git a/mapserver.spec b/mapserver.spec index b05b2ef..8b1dd90 100644 --- a/mapserver.spec +++ b/mapserver.spec @@ -25,6 +25,8 @@ License: MIT URL: http://www.mapserver.org Source0: https://github.com/%{project_owner}/%{project_name}/archive/rel-%{dashver}/%{project_name}-%{version}.tar.gz +# Add missing include +Patch0: mapserver-include.patch Requires: httpd Requires: dejavu-sans-fonts