diff options
author | Patrick Northon | 2021-06-04 04:31:15 -0400 |
---|---|---|
committer | Patrick Northon | 2021-06-04 04:31:15 -0400 |
commit | 13a581d69179234104134157cbfb924dbc279076 (patch) | |
tree | 538cbdca2e5e8f041286b9745b05977e92997448 | |
parent | fa823c0d7ec3c5ee03ec106cf2e4fc7d4ac24a9c (diff) | |
download | aur-13a581d69179234104134157cbfb924dbc279076.tar.gz |
Add patch to fix dllimport error.
-rw-r--r-- | .SRCINFO | 9 | ||||
-rw-r--r-- | PKGBUILD | 10 | ||||
-rw-r--r-- | keycode.patch | 11 |
3 files changed, 23 insertions, 7 deletions
@@ -1,6 +1,6 @@ pkgbase = mingw-w64-openexr pkgdesc = An high dynamic-range image file format library (mingw-w64) - pkgver = 3.0.3 + pkgver = 3.0.4 pkgrel = 2 url = http://www.openexr.com/ arch = any @@ -13,8 +13,9 @@ pkgbase = mingw-w64-openexr options = staticlibs options = !buildflags options = !strip - source = https://github.com/AcademySoftwareFoundation/openexr/archive/v3.0.3.tar.gz - sha256sums = d3526a3ccdca78a94658d5208e1963e4686181087004edd5bb98290e1fd0f389 + source = https://github.com/AcademySoftwareFoundation/openexr/archive/v3.0.4.tar.gz + source = keycode.patch + sha256sums = 64daae95d406fe3f59ee11ad8586d03fe7df2552b9630eac1a4f9152b8015fb9 + sha256sums = 499b6a59993a362fdbed46d8328f7aa2e6b81e153d2844b27ada67e109b63f63 pkgname = mingw-w64-openexr - @@ -1,7 +1,7 @@ # Maintainer: Patrick Northon <northon_patrick3@yahoo.ca> pkgname=mingw-w64-openexr -pkgver=3.0.3 +pkgver=3.0.4 pkgrel=2 pkgdesc="An high dynamic-range image file format library (mingw-w64)" url="http://www.openexr.com/" @@ -13,9 +13,11 @@ checkdepends=('mingw-w64-wine') options=('staticlibs' '!buildflags' '!strip') source=( "https://github.com/AcademySoftwareFoundation/openexr/archive/v${pkgver}.tar.gz" + "keycode.patch" ) sha256sums=( - "d3526a3ccdca78a94658d5208e1963e4686181087004edd5bb98290e1fd0f389" + '64daae95d406fe3f59ee11ad8586d03fe7df2552b9630eac1a4f9152b8015fb9' + '499b6a59993a362fdbed46d8328f7aa2e6b81e153d2844b27ada67e109b63f63' ) _architectures="i686-w64-mingw32 x86_64-w64-mingw32" @@ -25,7 +27,9 @@ _srcdir="openexr-${pkgver}" prepare() { cd "${_srcdir}" - find . -name "CMakeLists.txt" -print0 | xargs -0 sed -i -r 's/COMMAND \$<TARGET_FILE/COMMAND \${CMAKE_CROSSCOMPILING_EMULATOR} \$<TARGET_FILE/' + find . -name 'CMakeLists.txt' -print0 | xargs -0 sed -i -r 's/COMMAND \$<TARGET_FILE/COMMAND \${CMAKE_CROSSCOMPILING_EMULATOR} \$<TARGET_FILE/' + cd 'src/lib/OpenEXR' + patch -N -i "${srcdir}/keycode.patch" } build() { diff --git a/keycode.patch b/keycode.patch new file mode 100644 index 000000000000..7ec42e25d38a --- /dev/null +++ b/keycode.patch @@ -0,0 +1,11 @@ +--- ImfKeyCode.h.orig 2021-06-04 04:20:36.907223980 -0400 ++++ ImfKeyCode.h 2021-06-04 04:20:58.563426122 -0400 +@@ -90,7 +90,7 @@ + + IMF_EXPORT + KeyCode (const KeyCode &other); +- IMF_EXPORT ++ //IMF_EXPORT + ~KeyCode() = default; + IMF_EXPORT + KeyCode & operator = (const KeyCode &other); |