Compare commits
No commits in common. "factory" and "factory" have entirely different histories.
@ -1,50 +0,0 @@
|
||||
From 2cea5a12a35b396800296cb1c3ea08eb00b29760 Mon Sep 17 00:00:00 2001
|
||||
From: Even Rouault <even.rouault@spatialys.com>
|
||||
Date: Sat, 18 Nov 2023 22:13:46 +0100
|
||||
Subject: [PATCH] Fix compilation errors with libxml2 2.12
|
||||
|
||||
---
|
||||
mapows.c | 2 +-
|
||||
mapwcs.cpp | 2 +-
|
||||
mapwcs20.cpp | 2 +-
|
||||
3 files changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
Index: mapserver-8.0.1/mapows.c
|
||||
===================================================================
|
||||
--- mapserver-8.0.1.orig/mapows.c
|
||||
+++ mapserver-8.0.1/mapows.c
|
||||
@@ -168,7 +168,7 @@ static int msOWSPreParseRequest(cgiReque
|
||||
#endif
|
||||
if (ows_request->document == NULL
|
||||
|| (root = xmlDocGetRootElement(ows_request->document)) == NULL) {
|
||||
- xmlErrorPtr error = xmlGetLastError();
|
||||
+ const xmlError *error = xmlGetLastError();
|
||||
msSetError(MS_OWSERR, "XML parsing error: %s",
|
||||
"msOWSPreParseRequest()", error->message);
|
||||
return MS_FAILURE;
|
||||
Index: mapserver-8.0.1/mapwcs.cpp
|
||||
===================================================================
|
||||
--- mapserver-8.0.1.orig/mapwcs.cpp
|
||||
+++ mapserver-8.0.1/mapwcs.cpp
|
||||
@@ -362,7 +362,7 @@ static int msWCSParseRequest(cgiRequestO
|
||||
/* parse to DOM-Structure and get root element */
|
||||
if((doc = xmlParseMemory(request->postrequest, strlen(request->postrequest)))
|
||||
== NULL) {
|
||||
- xmlErrorPtr error = xmlGetLastError();
|
||||
+ const xmlError *error = xmlGetLastError();
|
||||
msSetError(MS_WCSERR, "XML parsing error: %s",
|
||||
"msWCSParseRequest()", error->message);
|
||||
return MS_FAILURE;
|
||||
Index: mapserver-8.0.1/mapwcs20.cpp
|
||||
===================================================================
|
||||
--- mapserver-8.0.1.orig/mapwcs20.cpp
|
||||
+++ mapserver-8.0.1/mapwcs20.cpp
|
||||
@@ -1446,7 +1446,7 @@ int msWCSParseRequest20(mapObj *map,
|
||||
|
||||
/* parse to DOM-Structure and get root element */
|
||||
if(doc == NULL) {
|
||||
- xmlErrorPtr error = xmlGetLastError();
|
||||
+ const xmlError *error = xmlGetLastError();
|
||||
msSetError(MS_WCSERR, "XML parsing error: %s",
|
||||
"msWCSParseRequest20()", error->message);
|
||||
return MS_FAILURE;
|
@ -1,4 +0,0 @@
|
||||
mtime: 1724099836
|
||||
commit: 07d681639e5e67c724dc128237ee247c2fd2484ad005a7c9875aefcb70f99a09
|
||||
url: https://src.opensuse.org/jengelh/mapserver
|
||||
revision: master
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a4d7cc1de98f4c39d57a8658062b5eebb153a7ecc06996b523a5c283f5d5c02b
|
||||
size 256
|
@ -1,8 +1,3 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 19 20:30:15 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Add 0001-Fix-compilation-errors-with-libxml2-2.12.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 1 07:34:53 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
|
@ -40,7 +40,6 @@ Group: Productivity/Networking/Web/Servers
|
||||
URL: https://www.mapserver.org/
|
||||
Source: https://download.osgeo.org/mapserver/%{name}-%{version}.tar.gz
|
||||
Source9: %{name}-rpmlintrc
|
||||
Patch1: 0001-Fix-compilation-errors-with-libxml2-2.12.patch
|
||||
BuildRequires: FastCGI-devel
|
||||
BuildRequires: apache2-devel
|
||||
BuildRequires: autoconf
|
||||
|
Loading…
Reference in New Issue
Block a user