Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updpatch: openmotif 2.3.8-4 #4197

Merged
merged 1 commit into from
Oct 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 14 additions & 19 deletions openmotif/riscv64.patch
Original file line number Diff line number Diff line change
@@ -1,27 +1,22 @@
diff --git PKGBUILD PKGBUILD
index 5bfdefe..52f6807 100644
--- PKGBUILD
+++ PKGBUILD
@@ -12,13 +12,20 @@ depends=(libxp libxft libxmu libpng libjpeg)
makedepends=(xbitmaps xorgproto)
conflicts=(lesstif)
source=("https://downloads.sourceforge.net/project/motif/Motif%20$pkgver%20Source%20Code/motif-$pkgver.tar.gz"
- no-demos.patch)
+ no-demos.patch
+ "fix_not_literal_format.patch"
+ "add_option_main.patch")
sha256sums=('859b723666eeac7df018209d66045c9853b50b4218cecadb794e2359619ebce7'
- 'ff55064ab36dba411599c9abef122b26d694ee11fd1d371378be08497448668c')
+ 'ff55064ab36dba411599c9abef122b26d694ee11fd1d371378be08497448668c'
+ '23b6750d6c8c4ed3fb9bb448eaaf1f5b008065992b999895b77c12309ded3724'
+ '8a82c4e55d0a7855db50c91fe0daab49a01800d85462e92ffad1e0e4f0ce8d80')

prepare() {
cd motif-$pkgver
patch -p1 -i ../no-demos.patch # Don't build demos
@@ -41,6 +41,9 @@ prepare() {
cd $_pkgname-$pkgver
patch -Np1 -i ../no-demos.patch # Don't build demos
patch -Np1 -i ../add-wmluiltok-main-function.patch # Doesn't build without it
+ patch -Np1 -i ../fix_not_literal_format.patch
+ patch -Np1 -i ../add_option_main.patch
+ rm -f tools/wml/wmluiltok.c # force regenerating this file
touch NEWS AUTHORS
autoreconf -if
}
@@ -60,3 +63,9 @@ package() {
cd $_pkgname-$pkgver
make DESTDIR="$pkgdir" install
}
+
+source+=("fix_not_literal_format.patch"
+ "add_option_main.patch")
+sha256sums+=('23b6750d6c8c4ed3fb9bb448eaaf1f5b008065992b999895b77c12309ded3724'
+ '8a82c4e55d0a7855db50c91fe0daab49a01800d85462e92ffad1e0e4f0ce8d80')
+
Loading