Add missing include

This commit is contained in:
Sandro Mani 2023-10-03 10:16:12 +02:00
parent d3e3cfb45d
commit 56cc2fad95
2 changed files with 13 additions and 0 deletions

11
mapserver-include.patch Normal file
View File

@ -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 <limits.h>
#include <assert.h>
#include <stdbool.h>
+#include <string.h>
#include "mapserver.h"
#include "mapows.h"

View File

@ -25,6 +25,8 @@ License: MIT
URL: http://www.mapserver.org URL: http://www.mapserver.org
Source0: https://github.com/%{project_owner}/%{project_name}/archive/rel-%{dashver}/%{project_name}-%{version}.tar.gz 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: httpd
Requires: dejavu-sans-fonts Requires: dejavu-sans-fonts