update package vmime

pull/323/merge
Mark Brand 10 years ago
parent 52eb76b8f5
commit 75044f76d3

@ -1,10 +1,10 @@
This file is part of MXE.
See index.html for further information.
From 80a6fbf5170509f5eab94dd36f64ad8a0406e928 Mon Sep 17 00:00:00 2001
From aec914bd8b868924f4b49d861c1e01c61113db48 Mon Sep 17 00:00:00 2001
From: Mark Brand <mabrand@mabrand.nl>
Date: Tue, 14 May 2013 09:21:46 +0200
Subject: [PATCH 1/3] predefine VMIME_STATIC for convenience
Subject: [PATCH 1/2] predefine VMIME_STATIC for convenience
diff --git a/vmime.pc.in b/vmime.pc.in
@ -22,33 +22,10 @@ index fc1103e..11dd0ea 100644
1.8.4.5
From f5b2e83eb4b96c6cd061bcca9249dc40d1ec3fb2 Mon Sep 17 00:00:00 2001
From: Mark Brand <mabrand@mabrand.nl>
Date: Fri, 10 Jan 2014 03:20:11 +0100
Subject: [PATCH 2/3] remove -ansi because it interferes with -std=c++11
diff --git a/CMakeLists.txt b/CMakeLists.txt
index aac379c..9aa0283 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1020,7 +1020,7 @@ ELSE()
SET(
CMAKE_CXX_FLAGS
- "${CMAKE_CXX_FLAGS} -D_REENTRANT=1 -W -Wall -ansi -pedantic -Wpointer-arith -Wold-style-cast -Wconversion -Wcast-align -Wno-long-long"
+ "${CMAKE_CXX_FLAGS} -D_REENTRANT=1 -W -Wall -pedantic -Wpointer-arith -Wold-style-cast -Wconversion -Wcast-align -Wno-long-long"
CACHE STRING
"g++ Compiler Flags"
FORCE
--
1.8.4.5
From 64daad47a33daaf9f5120941a9255be9d40391f0 Mon Sep 17 00:00:00 2001
From 344e0d7bc62adda4e1437b49350a29089d7ce3af Mon Sep 17 00:00:00 2001
From: Mark Brand <mabrand@mabrand.nl>
Date: Wed, 26 Mar 2014 23:45:05 +0100
Subject: [PATCH 3/3] workaround for stricmp decl problem on mingw32
Subject: [PATCH 2/2] workaround for stricmp decl problem on mingw32
(mingw.org)

@ -3,8 +3,8 @@
PKG := vmime
$(PKG)_IGNORE :=
$(PKG)_VERSION := 4cf7e02
$(PKG)_CHECKSUM := 62054750162b4691498c97353c113e9d1de40cec
$(PKG)_VERSION := 8a6b959
$(PKG)_CHECKSUM := 2f15d53be9b691f311c984ca14dc5c965573f213
$(PKG)_SUBDIR := kisli-vmime-$($(PKG)_VERSION)
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
$(PKG)_URL := https://github.com/kisli/vmime/tarball/$($(PKG)_VERSION)/$($(PKG)_FILE)
@ -17,6 +17,9 @@ define $(PKG)_UPDATE
endef
define $(PKG)_BUILD
# The following hint is probably needed for ICU:
# -DICU_LIBRARIES="`'$(TARGET)-pkg-config' --libs-only-l icu-i18n`"
cd '$(1)' && cmake \
-DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \
-DCMAKE_AR='$(PREFIX)/bin/$(TARGET)-ar' \
@ -29,10 +32,11 @@ define $(PKG)_BUILD
-DVMIME_BUILD_SAMPLES=OFF \
-DVMIME_BUILD_DOCUMENTATION=OFF \
-DCMAKE_MODULE_PATH='$(1)/cmake' \
-DICU_LIBRARIES="`'$(TARGET)-pkg-config' --libs-only-l icu-i18n`" \
-DVMIME_CHARSETCONV_LIB_IS_ICONV=OFF \
-DVMIME_CHARSETCONV_LIB_IS_ICU=OFF \
-DVMIME_CHARSETCONV_LIB_IS_WIN=ON \
-DVMIME_TLS_SUPPORT_LIB_IS_GNUTLS=ON \
-DVMIME_TLS_SUPPORT_LIB_IS_OPENSSL=OFF \
-DVMIME_SHARED_PTR_USE_CXX=ON \
-DCXX11_COMPILER_FLAGS=ON \
-C../../src/vmime-TryRunResults.cmake \

Loading…
Cancel
Save