diff options
author | Balló György | 2022-12-10 10:20:12 +0000 |
---|---|---|
committer | Balló György | 2022-12-10 10:20:12 +0000 |
commit | 65c2b1f8c809fe75550e4abd85c8d1873080b1d0 (patch) | |
tree | 0420fddc16fa3724f05f90bb6c6800bb0a9ef13f | |
parent | 726133b01d498734612e0f93fe20b2eda1480644 (diff) | |
download | aur-65c2b1f8c809fe75550e4abd85c8d1873080b1d0.tar.gz |
Fix build
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 12 | ||||
-rw-r--r-- | fix-build.patch | 12 |
3 files changed, 22 insertions, 7 deletions
@@ -13,19 +13,20 @@ pkgbase = textosaurus license = GPL3 makedepends = git makedepends = qt5-tools + depends = hicolor-icon-theme depends = qt5-base depends = qt5-svg - replaces = textilosaurus source = git+https://github.com/martinrotter/textosaurus.git#commit=6e2e86d45eebc37ca6992ab17b3acbc3840f5967 source = git+https://github.com/martinrotter/transka.git source = git+https://github.com/martinrotter/7za.git source = git+https://github.com/martinrotter/nsis.git source = git+https://github.com/martinrotter/sed.git + source = fix-build.patch sha256sums = SKIP sha256sums = SKIP sha256sums = SKIP sha256sums = SKIP sha256sums = SKIP + sha256sums = b41a0538e3da266c8e7bd67eca2dd6e8c2495521596fced4d3d3d496cfd135bc pkgname = textosaurus - @@ -8,19 +8,20 @@ pkgdesc="Simple cross-platform text editor based on Qt and Scintilla" arch=(x86_64 i686 arm armv6h armv7h aarch64) url="https://github.com/martinrotter/textosaurus" license=(GPL3) -depends=(qt5-base qt5-svg) +depends=(hicolor-icon-theme qt5-base qt5-svg) makedepends=(git qt5-tools) -replaces=(textilosaurus) source=("git+https://github.com/martinrotter/textosaurus.git#commit=6e2e86d45eebc37ca6992ab17b3acbc3840f5967" "git+https://github.com/martinrotter/transka.git" "git+https://github.com/martinrotter/7za.git" "git+https://github.com/martinrotter/nsis.git" - "git+https://github.com/martinrotter/sed.git") + "git+https://github.com/martinrotter/sed.git" + "fix-build.patch") sha256sums=('SKIP' 'SKIP' 'SKIP' 'SKIP' - 'SKIP') + 'SKIP' + 'b41a0538e3da266c8e7bd67eca2dd6e8c2495521596fced4d3d3d496cfd135bc') pkgver() { cd "${srcdir}/${pkgname}" @@ -35,7 +36,8 @@ prepare() { git config 'submodule.resources/scripts/7za.url' "${srcdir}/7za" git config 'submodule.resources/scripts/nsis.url' "${srcdir}/nsis" git config 'submodule.resources/scripts/sed.url' "${srcdir}/sed" - git submodule update + git -c protocol.file.allow=always submodule update + git apply ../fix-build.patch } build() { diff --git a/fix-build.patch b/fix-build.patch new file mode 100644 index 000000000000..bb2eec99999d --- /dev/null +++ b/fix-build.patch @@ -0,0 +1,12 @@ +diff --git a/src/libtextosaurus/definitions/definitions.h b/src/libtextosaurus/definitions/definitions.h +index abe18765..d007838c 100755 +--- a/src/libtextosaurus/definitions/definitions.h ++++ b/src/libtextosaurus/definitions/definitions.h +@@ -3,6 +3,7 @@ + #ifndef DEFINITIONS_H + #define DEFINITIONS_H + ++#include <limits> + #include <QtGlobal> + + // *INDENT-OFF* |