muparser: Update to 2.2.6
This commit is contained in:
11
mingw-w64-muparser/001-exports.patch
Normal file
11
mingw-w64-muparser/001-exports.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- muparser-2.2.6/include/muParserFixes.h.orig 2018-11-09 05:56:09.885150900 +0300
|
||||
+++ muparser-2.2.6/include/muParserFixes.h 2018-11-09 05:56:33.250487300 +0300
|
||||
@@ -81,7 +81,7 @@
|
||||
* MUPARSER_LOCAL is used for non-api symbols. */
|
||||
|
||||
#ifndef MUPARSER_STATIC /* defined if muParser is compiled as a DLL */
|
||||
-#ifdef MUPARSERLIB_EXPORTS /* defined if we are building the muParser DLL (instead of using it) */
|
||||
+#if defined(MUPARSERLIB_EXPORTS) || defined(muparser_EXPORTS) /* defined if we are building the muParser DLL (instead of using it) */
|
||||
#define API_EXPORT_CXX MUPARSER_HELPER_DLL_EXPORT
|
||||
#else
|
||||
#define API_EXPORT_CXX MUPARSER_HELPER_DLL_IMPORT
|
||||
@@ -3,8 +3,8 @@
|
||||
_realname=muparser
|
||||
pkgbase=mingw-w64-${_realname}
|
||||
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
|
||||
pkgver=2.2.5
|
||||
pkgrel=2
|
||||
pkgver=2.2.6
|
||||
pkgrel=1
|
||||
pkgdesc="A fast math parser library (mingw-w64)"
|
||||
arch=('any')
|
||||
url="http://muparser.beltoforion.de/"
|
||||
@@ -12,13 +12,16 @@ license=('custom')
|
||||
makedepends=("${MINGW_PACKAGE_PREFIX}-cmake")
|
||||
options=('!makeflags')
|
||||
source=("${_realname}-${pkgver}.tar.gz"::https://github.com/beltoforion/muparser/archive/v${pkgver}.tar.gz
|
||||
"CMakeLists.txt")
|
||||
sha256sums=('0666ef55da72c3e356ca85b6a0084d56b05dd740c3c21d26d372085aa2c6e708'
|
||||
'dba41d1ed5b7b0aadcacd6e7f2433df844e5e9e7cabdfa7142fb7c13acae8162')
|
||||
"CMakeLists.txt"
|
||||
"001-exports.patch")
|
||||
sha256sums=('c124a00e73356204efa21bd2223db4b2a2b8a93cc25d16bae09e4fcaa82b620c'
|
||||
'dba41d1ed5b7b0aadcacd6e7f2433df844e5e9e7cabdfa7142fb7c13acae8162'
|
||||
'450e8d51c55c1e2bd9282ca4529cf1875ff0f8f149c04ea5a8d2577759d0479b')
|
||||
|
||||
prepare() {
|
||||
cd ${srcdir}/${_realname}-${pkgver}
|
||||
cp "${srcdir}/CMakeLists.txt" .
|
||||
patch -p1 -i ${srcdir}/001-exports.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
@@ -44,4 +47,3 @@ package() {
|
||||
install -D -m644 ${srcdir}/${_realname}-${pkgver}/License.txt \
|
||||
${pkgdir}${MINGW_PREFIX}/share/licenses/${_realname}/LICENSE
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user