backport neon.mak Replace GX with EHsc
From: Chun-wei Fan <fanchunwei@src.gnome.org> Signed-off-by: Guangzhong Yao <yaoguangzhong@xfusion.com>
This commit is contained in:
parent
9ded978bcf
commit
1c23c7d101
32
neon-0.30.2-backport-mak-Replace-GX-with-EHsc.patch
Normal file
32
neon-0.30.2-backport-mak-Replace-GX-with-EHsc.patch
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
From 6d33a725679c2fca903621c67db03d1b4857cfe3 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Chun-wei Fan <fanchunwei@src.gnome.org>
|
||||||
|
Date: Wed, 23 Mar 2022 11:18:04 +0800
|
||||||
|
Subject: [PATCH] neon.mak: Replace /GX with /EHsc
|
||||||
|
|
||||||
|
The /GX option has been deprecated and replaced with /EHsc, so use that to
|
||||||
|
eliminate a cl.exe command line warning.
|
||||||
|
---
|
||||||
|
neon.mak | 4 ++--
|
||||||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/neon.mak b/neon.mak
|
||||||
|
index ce53a30..1d26d3b 100644
|
||||||
|
--- a/neon.mak
|
||||||
|
+++ b/neon.mak
|
||||||
|
@@ -12,11 +12,11 @@ NULL=nul
|
||||||
|
# Debug vs. Release build
|
||||||
|
!IF "$(DEBUG_BUILD)" == ""
|
||||||
|
INTDIR = Release
|
||||||
|
-CFLAGS = /MD /W3 /GX /O2 /D "NDEBUG"
|
||||||
|
+CFLAGS = /MD /W3 /EHsc /O2 /D "NDEBUG"
|
||||||
|
TARGET = .\libneon.lib
|
||||||
|
!ELSE
|
||||||
|
INTDIR = Debug
|
||||||
|
-CFLAGS = /MDd /W3 /Gm /GX /Zi /Od /D "_DEBUG"
|
||||||
|
+CFLAGS = /MDd /W3 /Gm /EHsc /Zi /Od /D "_DEBUG"
|
||||||
|
TARGET = .\libneonD.lib
|
||||||
|
!ENDIF
|
||||||
|
|
||||||
|
--
|
||||||
|
2.27.0
|
||||||
|
|
||||||
@ -1,6 +1,6 @@
|
|||||||
Name: neon
|
Name: neon
|
||||||
Version: 0.30.2
|
Version: 0.30.2
|
||||||
Release: 12
|
Release: 13
|
||||||
Summary: An HTTP and WebDAV client library
|
Summary: An HTTP and WebDAV client library
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: http://www.webdav.org/neon/
|
URL: http://www.webdav.org/neon/
|
||||||
@ -11,6 +11,7 @@ Patch0: neon-0.27.0-multilib.patch
|
|||||||
Patch1: neon-0.30.2-sysuioh.patch
|
Patch1: neon-0.30.2-sysuioh.patch
|
||||||
Patch2: neon-0.30.2-lockprintf.patch
|
Patch2: neon-0.30.2-lockprintf.patch
|
||||||
Patch3: neon-0.30.2-test-.c-Switch-to-destroy_and_wait-in-various-places.patch
|
Patch3: neon-0.30.2-test-.c-Switch-to-destroy_and_wait-in-various-places.patch
|
||||||
|
Patch4: neon-0.30.2-backport-mak-Replace-GX-with-EHsc.patch
|
||||||
|
|
||||||
BuildRequires: gcc git openssl-devel expat-devel gdb-headless
|
BuildRequires: gcc git openssl-devel expat-devel gdb-headless
|
||||||
Requires: ca-certificates
|
Requires: ca-certificates
|
||||||
@ -84,6 +85,9 @@ sed -ri "/^dependency_libs/{s,-l[^ ']*,,g}" \
|
|||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Dec 29 2022 Guangzhong Yao <yaoguangzhong@xfusion.com> - 0.30.2-13
|
||||||
|
- DESC: backport neon.mak Replace GX with EHsc
|
||||||
|
|
||||||
* Thu Dec 29 2022 Guangzhong Yao <yaoguangzhong@xfusion.com> - 0.30.2-12
|
* Thu Dec 29 2022 Guangzhong Yao <yaoguangzhong@xfusion.com> - 0.30.2-12
|
||||||
- DESC: backport Switch to destroy_and_wait() in various places
|
- DESC: backport Switch to destroy_and_wait() in various places
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user