aboutsummaryrefslogtreecommitdiffstats
path: root/community/motif
diff options
context:
space:
mode:
Diffstat (limited to 'community/motif')
-rw-r--r--community/motif/18-option-main.patch9
-rw-r--r--community/motif/APKBUILD13
2 files changed, 17 insertions, 5 deletions
diff --git a/community/motif/18-option-main.patch b/community/motif/18-option-main.patch
new file mode 100644
index 00000000000..3ad059cea32
--- /dev/null
+++ b/community/motif/18-option-main.patch
@@ -0,0 +1,9 @@
+diff -urN motif-2.3.8.orig/tools/wml/wmluiltok.l motif-2.3.8/tools/wml/wmluiltok.l
+--- motif-2.3.8.orig/tools/wml/wmluiltok.l 2021-05-25 13:51:53.464073407 -0600
++++ motif-2.3.8/tools/wml/wmluiltok.l 2021-05-25 13:52:25.354192799 -0600
+@@ -1,3 +1,5 @@
++%option main
++
+ %{
+ /*
+ * Motif
diff --git a/community/motif/APKBUILD b/community/motif/APKBUILD
index 5577f7dded5..e684dfc0451 100644
--- a/community/motif/APKBUILD
+++ b/community/motif/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Isaac Dunham <ibid.ag@gmail.com>
-# Maintainer: Isaac Dunham <ibid.ag@gmail.com>
+# Maintainer:
pkgname=motif
pkgver=2.3.8
-pkgrel=0
+pkgrel=2
pkgdesc="The Motif library"
url="https://motif.ics.com/"
arch="all"
@@ -25,6 +25,7 @@ source="
15-link_uil_against_libuil.patch
16-fix-undefined-use-of-sprintf.patch
17-switch-to-system-iswspace.patch
+ 18-option-main.patch
"
prepare() {
@@ -70,8 +71,8 @@ mwm() {
"$pkgdir"/usr/lib/X11/system.mwmrc > "$subpkgdir"/usr/lib/X11/system.mwmrc
}
-
-sha512sums="1ab8e8eece25ef97e948592b5fa3e19d98e932695290a18b7a8e90f1aa2766bc4f082bdbc3999dff5660e684821178a149040f76bb477163e53ca06474d02b55 motif-2.3.8.tar.gz
+sha512sums="
+1ab8e8eece25ef97e948592b5fa3e19d98e932695290a18b7a8e90f1aa2766bc4f082bdbc3999dff5660e684821178a149040f76bb477163e53ca06474d02b55 motif-2.3.8.tar.gz
aff5be25bd25666e6134bc18faaffd54914cc390ca4d89a498efae5aa6dd175ac2b17dc719f7b8d27cff5db2f17b714ddfd5a163f219cad5f5c949cf5eb4786d 02-fix-format-security.patch
a54e0bbf95b7af1a2ba3a6031b3d4f36b6516d4b30d97804158c20b7cccda5df9628ed9a3c84ddda7cbd7779781ad065b0a16d39115184eff9fa509f6ec75ec6 03-no-demos.patch
605f3cc868c179c74ada49bd4ed40a39364f5d883866c99a9e8ffdb1c559e5e06ebf92a776b6a10df516b7f82a186b0084e55a9be1076498f5b742ca9376febc 06-cast-size_t-to-int.patch
@@ -83,4 +84,6 @@ fc955d88cc5c64655ec642786449968e2241c92653fec00bcf8a722d2c206a2ebad16e42529d4ba1
21dd0ba7fd9ed234d5115ad24547961592dd35c3d4843856800a564ff380482af0c5a35e3ce60d3258e4e9a47cb537435b4f08f460064e130d4327a4955b9975 13-fix_hardcoded_x11rgb_path.patch
8a726e253fa6ed8d14914fd2e2eb0bce8f240051a5fefc04ff56899f908a26300ad3292507b71c1ce65f57e7889e4067e35d0ab4ce15123bffccb606dfd9067f 15-link_uil_against_libuil.patch
2230f0af607111d014b0a648b807df18676a4a1421f10978c59a0a29b02dda38060163619bc54fda19a5186315f98fc8597b2ef6eb8ab7bedb6bd6972a77b38d 16-fix-undefined-use-of-sprintf.patch
-0cb0fa3a02a452f067649e02e855d6d3d728e4904bad009aebda9250de0c9fb76d352b6d9a857fcd1f920c5dfc6183f9b12886505c5570164fe92e99e97eea15 17-switch-to-system-iswspace.patch"
+0cb0fa3a02a452f067649e02e855d6d3d728e4904bad009aebda9250de0c9fb76d352b6d9a857fcd1f920c5dfc6183f9b12886505c5570164fe92e99e97eea15 17-switch-to-system-iswspace.patch
+2daed6caf190f4eeed3646ff59e9762fa380bd0cf957c6a08d02e6f27f766752c5d4c1735ea4de0449d2eae26f586698d0ae6a715c0b143886b30c023926d535 18-option-main.patch
+"