summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2024-05-29 22:02:31 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2024-08-07 10:08:11 -0500
commit379654586a4cfcc2ad404f93f8d65cd44a1adfbd (patch)
tree10889a9791d0bb0f6d9704b9072b65eefc863a4e
parent759c5c3abb3c5ec877cba01db5da6be68252fe7e (diff)
downloadpackages-379654586a4cfcc2ad404f93f8d65cd44a1adfbd.tar.gz
packages-379654586a4cfcc2ad404f93f8d65cd44a1adfbd.tar.bz2
packages-379654586a4cfcc2ad404f93f8d65cd44a1adfbd.tar.xz
packages-379654586a4cfcc2ad404f93f8d65cd44a1adfbd.zip
user/libmspub: Integrate upstream patch for <cstdint>
-rw-r--r--user/libmspub/APKBUILD9
-rw-r--r--user/libmspub/missing-header.patch10
2 files changed, 16 insertions, 3 deletions
diff --git a/user/libmspub/APKBUILD b/user/libmspub/APKBUILD
index 0d528f945..67095a16c 100644
--- a/user/libmspub/APKBUILD
+++ b/user/libmspub/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Max Rees <maxcrees@me.com>
pkgname=libmspub
pkgver=0.1.4
-pkgrel=1
+pkgrel=2
pkgdesc="Import filter and tools for Microsoft Publisher files"
url="https://wiki.documentfoundation.org/DLP/Libraries/libmspub"
arch="all"
@@ -12,7 +12,9 @@ depends=""
depends_dev="boost-dev"
makedepends="$depends_dev doxygen icu-dev librevenge-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-tools"
-source="http://dev-www.libreoffice.org/src/$pkgname/$pkgname-$pkgver.tar.xz"
+source="https://dev-www.libreoffice.org/src/$pkgname/$pkgname-$pkgver.tar.xz
+ missing-header.patch
+ "
build() {
./configure \
@@ -35,4 +37,5 @@ tools() {
mv "$pkgdir"/usr/bin "$subpkgdir"/usr
}
-sha512sums="7275f890645961b3fd56df4584788962e8c064fe3f99f5834c6ba6177ce76d00d544fbe9a25b7ab2f4180d2f3a90c609fe0bb68d61ea24e95b086190390fff31 libmspub-0.1.4.tar.xz"
+sha512sums="7275f890645961b3fd56df4584788962e8c064fe3f99f5834c6ba6177ce76d00d544fbe9a25b7ab2f4180d2f3a90c609fe0bb68d61ea24e95b086190390fff31 libmspub-0.1.4.tar.xz
+3293b4e10f91e2df7aa1817709c7370aa3d68dccbd3ad68c2e52add5b8caf8dded36e6778dea5c24a0cc3f40d9b6c0a00e0b62d1e8264c6b085a9f6e773d2cb2 missing-header.patch"
diff --git a/user/libmspub/missing-header.patch b/user/libmspub/missing-header.patch
new file mode 100644
index 000000000..83b8ef473
--- /dev/null
+++ b/user/libmspub/missing-header.patch
@@ -0,0 +1,10 @@
+--- libmspub-0.1.4/src/lib/MSPUBMetaData.h.old 2018-02-28 05:54:49.000000000 -0600
++++ libmspub-0.1.4/src/lib/MSPUBMetaData.h 2024-05-29 21:40:50.140097148 -0500
+@@ -13,6 +13,7 @@
+ #include <map>
+ #include <utility>
+ #include <vector>
++#include <cstdint>
+
+ #include <librevenge/librevenge.h>
+