exiv2: Update to 0.27.2
This commit is contained in:
@@ -1,31 +0,0 @@
|
||||
--- exiv2-0.27.1/include/exiv2/error.hpp.orig 2019-05-30 15:17:39.230103600 +0300
|
||||
+++ exiv2-0.27.1/include/exiv2/error.hpp 2019-05-30 15:17:41.930107400 +0300
|
||||
@@ -304,7 +304,7 @@
|
||||
//! @name Manipulators
|
||||
//@{
|
||||
//! Assemble the error message from the arguments
|
||||
- EXIV2API void setMsg();
|
||||
+ void setMsg();
|
||||
//@}
|
||||
|
||||
// DATA
|
||||
--- exiv2-0.27.1/src/error.cpp.orig 2019-05-30 15:17:25.840084900 +0300
|
||||
+++ exiv2-0.27.1/src/error.cpp 2019-05-30 15:17:29.910090600 +0300
|
||||
@@ -225,7 +225,7 @@
|
||||
}
|
||||
|
||||
template<>
|
||||
- void BasicError<char>::setMsg()
|
||||
+ EXIV2API void BasicError<char>::setMsg()
|
||||
{
|
||||
std::string msg = _(errMsg(code_));
|
||||
std::string::size_type pos;
|
||||
@@ -262,7 +262,7 @@
|
||||
|
||||
#ifdef EXV_UNICODE_PATH
|
||||
template<>
|
||||
- void BasicError<wchar_t>::setMsg()
|
||||
+ EXIV2API void BasicError<wchar_t>::setMsg()
|
||||
{
|
||||
std::string s = _(errMsg(code_));
|
||||
std::wstring wmsg(s.begin(), s.end());
|
||||
@@ -4,7 +4,7 @@
|
||||
_realname=exiv2
|
||||
pkgbase=mingw-w64-${_realname}
|
||||
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
|
||||
pkgver=0.27.1
|
||||
pkgver=0.27.2
|
||||
pkgrel=1
|
||||
pkgdesc="Exif and Iptc metadata manipulation library and tools (mingw-w64)"
|
||||
arch=('any')
|
||||
@@ -20,21 +20,17 @@ depends=("${MINGW_PACKAGE_PREFIX}-expat"
|
||||
"${MINGW_PACKAGE_PREFIX}-libssh2"
|
||||
"${MINGW_PACKAGE_PREFIX}-zlib")
|
||||
options=('strip' 'staticlibs')
|
||||
source=(${_realname}-${pkgver}.tar.gz::"https://github.com/Exiv2/${_realname}/archive/${pkgver}.tar.gz"
|
||||
0001-fix-tests.patch
|
||||
0002-fix-exports.patch)
|
||||
sha256sums=('1b3766b2c203ce213a4195de14d61694017ec1a69d15d4575bccecef130990fe'
|
||||
'8d6928e9657554a0ba306bfc931dc3a5fc08422c8552fed1bbe00b512e69eae4'
|
||||
'23cfdebf2a6432be81fd493fe4bdcf6725cf00951c8b969128629e2aae159383')
|
||||
source=(${_realname}-${pkgver}.tar.gz::"https://github.com/Exiv2/${_realname}/archive/v${pkgver}.tar.gz"
|
||||
0001-fix-tests.patch)
|
||||
sha256sums=('3dbcaf01fbc5b98d42f091d1ff0d4b6cd9750dc724de3d9c0d113948570b2934'
|
||||
'8d6928e9657554a0ba306bfc931dc3a5fc08422c8552fed1bbe00b512e69eae4')
|
||||
|
||||
prepare() {
|
||||
cd ${srcdir}/${_realname}-${pkgver}
|
||||
patch -p1 -i ${srcdir}/0001-fix-tests.patch
|
||||
patch -p1 -i ${srcdir}/0002-fix-exports.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
|
||||
[[ -d ${srcdir}/build-${MINGW_CHOST} ]] && rm -rf ${srcdir}/build-${MINGW_CHOST}
|
||||
cp -rf ${srcdir}/${_realname}-${pkgver} ${srcdir}/build-${MINGW_CHOST}
|
||||
cd ${srcdir}/build-${MINGW_CHOST}
|
||||
|
||||
Reference in New Issue
Block a user