diff options
author | Patrick Northon | 2023-02-27 06:20:26 -0500 |
---|---|---|
committer | Patrick Northon | 2023-02-27 06:20:26 -0500 |
commit | 78f909287623e7c08707997bc41e521189292805 (patch) | |
tree | 214dc4d5a123a81587e0a7d1d28c2c9caf1943df | |
parent | ce7815679a5985107b83f5e6a78ab99634a01b81 (diff) | |
download | aur-mingw-w64-xalan-c-icu.tar.gz |
Fix source filenames.
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 15 | ||||
-rw-r--r-- | mingw-w64-xalan-c-icu-fix-cross-compile.patch (renamed from fix-cross-compile.patch) | 0 |
3 files changed, 9 insertions, 10 deletions
@@ -17,8 +17,8 @@ pkgbase = mingw-w64-xalan-c-icu options = !buildflags options = staticlibs source = https://github.com/apache/xalan-c/archive/Xalan-C_1_12_0.tar.gz - source = fix-cross-compile.patch - source = https://github.com/apache/xalan-c/pull/36.patch + source = mingw-w64-xalan-c-icu-fix-cross-compile.patch + source = mingw-w64-xalan-c-icu-36.patch::https://github.com/apache/xalan-c/pull/36.patch sha256sums = f3d4f23af7f7914259f2f5dbd9cc1450d3ebe0b8c8163fd50fcac4a39c63fccd sha256sums = bffe4d394b877d7a36c08efd7563ce9ccde3621ae3851dc9c00ce065cd360050 sha256sums = ed5a03ffecb0476aa02e90aba99f12d843bfd90748481d7b1ffc6d524bf4d952 @@ -16,12 +16,11 @@ depends=('mingw-w64-crt' 'mingw-w64-xerces-c-icu' 'mingw-w64-icu') options=('!strip' '!buildflags' 'staticlibs') source=( "https://github.com/apache/xalan-c/archive/Xalan-C_${_filever}.tar.gz" - 'fix-cross-compile.patch' - 'https://github.com/apache/xalan-c/pull/36.patch') -sha256sums=( - 'f3d4f23af7f7914259f2f5dbd9cc1450d3ebe0b8c8163fd50fcac4a39c63fccd' - 'bffe4d394b877d7a36c08efd7563ce9ccde3621ae3851dc9c00ce065cd360050' - 'ed5a03ffecb0476aa02e90aba99f12d843bfd90748481d7b1ffc6d524bf4d952') + "$pkgname-fix-cross-compile.patch" + "$pkgname-36.patch::https://github.com/apache/xalan-c/pull/36.patch") +sha256sums=('f3d4f23af7f7914259f2f5dbd9cc1450d3ebe0b8c8163fd50fcac4a39c63fccd' + 'bffe4d394b877d7a36c08efd7563ce9ccde3621ae3851dc9c00ce065cd360050' + 'ed5a03ffecb0476aa02e90aba99f12d843bfd90748481d7b1ffc6d524bf4d952') _srcdir="${_pkgname}-Xalan-C_${_filever}" _architectures='i686-w64-mingw32 x86_64-w64-mingw32' @@ -29,8 +28,8 @@ _flags=( -Wno-dev -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS_RELEASE='-O2 -DND prepare() { cd "${_srcdir}" - patch -uNp1 -i '../fix-cross-compile.patch' - patch -uNp1 -i '../36.patch' + patch -uNp1 -i "../$pkgname-fix-cross-compile.patch" + patch -uNp1 -i "../$pkgname-36.patch" sed -i 's/if(WIN32)/if(0)/' 'src/xalanc/CMakeLists.txt' } diff --git a/fix-cross-compile.patch b/mingw-w64-xalan-c-icu-fix-cross-compile.patch index f5394782505e..f5394782505e 100644 --- a/fix-cross-compile.patch +++ b/mingw-w64-xalan-c-icu-fix-cross-compile.patch |