x11-libs/motif: Apply proper patches, instead of sed and echo.
authorUlrich Müller <ulm@gentoo.org>
Sat, 28 Dec 2019 15:18:27 +0000 (16:18 +0100)
committerUlrich Müller <ulm@gentoo.org>
Sat, 28 Dec 2019 15:19:48 +0000 (16:19 +0100)
Closes: https://bugs.gentoo.org/677488
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
x11-libs/motif/Manifest
x11-libs/motif/motif-2.3.8-r1.ebuild

index 1772bee07fc57b2acbc13e6c9aac1f8a8be81a25..9cfd32417067ed0dd6007c5581b522b0c3c4e38a 100644 (file)
@@ -1,2 +1,2 @@
-DIST motif-2.3.6-patches-2.tar.xz 1600 BLAKE2B 03ef74773c581d09ad89f35f26e9d01ed01ec8b40344cd4d6aba106de80bfe0ce69d65551aafb4c53daf61cc31d1e703c9762c2b4a60729c73783b649a00e6c3 SHA512 09c857f7f2ec0d48660e6fff8afddec99416084e2b80a8793401e7641a3669fbe4eb10811e60f3d9dc106c828a87324dfdd27cc91a62bf3dedbd9154542c7619
+DIST motif-2.3.8-patches-1.tar.xz 1896 BLAKE2B 7234860dadac55362c7f1804133a660da1ab468fb6c0f0c71cad76b956a5f0b1e58874496a6721f49bd6413e916014807e946112b48b9a22272db5e4d97d43d9 SHA512 22e5d8c590d2c1c57fc639cb46d16984dc5fbafb3b68fd647d180d6299a06f884a8ed69e2180da8153bb0f68821eb0031f93e9b9a3128ba93535fd7fb92b402b
 DIST motif-2.3.8.tar.gz 5704328 BLAKE2B 3755b7f46e50240e1e9e7046aa439fa89872e54ae5d03860383f509b6d0f09edf85bd7d92ea4d37925efd2e44401028aa2752d940c42d9cccb652b2bd1d85459 SHA512 1ab8e8eece25ef97e948592b5fa3e19d98e932695290a18b7a8e90f1aa2766bc4f082bdbc3999dff5660e684821178a149040f76bb477163e53ca06474d02b55
index 6f17e1ab2e9f3f0464afc8c748de163568eabc97..956da5293b1994c2de91c285cb68dc67e3f3af91 100644 (file)
@@ -9,7 +9,7 @@ DESCRIPTION="The Motif user interface component toolkit"
 HOMEPAGE="https://sourceforge.net/projects/motif/
        https://motif.ics.com/"
 SRC_URI="mirror://sourceforge/project/motif/Motif%20${PV}%20Source%20Code/${P}.tar.gz
-       https://dev.gentoo.org/~ulm/distfiles/${PN}-2.3.6-patches-2.tar.xz"
+       https://dev.gentoo.org/~ulm/distfiles/${P}-patches-1.tar.xz"
 
 LICENSE="LGPL-2.1+ MIT"
 SLOT="0"
@@ -38,12 +38,6 @@ src_prepare() {
        eapply ../patch
        eapply_user
 
-       # disable compilation of demo binaries
-       sed -i -e '/^SUBDIRS/{:x;/\\$/{N;bx;};s/[ \t\n\\]*demos//;}' Makefile.am
-
-       # add X.Org vendor string to aliases for virtual bindings
-       echo -e '"The X.Org Foundation"\t\t\t\t\tpc' >>bindings/xmbind.alias
-
        AT_M4DIR=. eautoreconf
 
        # get around some LANG problems in make (#15119)