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