diff --git a/xorg/mesa/build b/xorg/mesa/build index facbb048..9eaf2414 100755 --- a/xorg/mesa/build +++ b/xorg/mesa/build @@ -1,5 +1,7 @@ #!/bin/sh -e +patch -p1 < mesa-no-gettext.patch + meson \ --prefix=/usr \ --sysconfdir=/etc \ diff --git a/xorg/mesa/checksums b/xorg/mesa/checksums index 78a9b917..7bc6854f 100644 --- a/xorg/mesa/checksums +++ b/xorg/mesa/checksums @@ -1 +1,2 @@ 72114b16b4a84373b2acda060fe2bb1d45ea2598efab3ef2d44bdeda74f15581 mesa-19.1.1.tar.xz +9f434a4788f5303724ae38786b7ddd7493fdf666283997a977e4a66a25034ee0 mesa-no-gettext.patch diff --git a/xorg/mesa/depends b/xorg/mesa/depends index 5d61bfe2..94b236cc 100644 --- a/xorg/mesa/depends +++ b/xorg/mesa/depends @@ -1,7 +1,6 @@ bison make expat flex make -gettext make libX11 libXdamage libXext diff --git a/xorg/mesa/patches/mesa-no-gettext.patch b/xorg/mesa/patches/mesa-no-gettext.patch new file mode 100644 index 00000000..498909c0 --- /dev/null +++ b/xorg/mesa/patches/mesa-no-gettext.patch @@ -0,0 +1,11 @@ +diff --git a/src/util/xmlpool/meson.build b/src/util/xmlpool/meson.build +index 81184fa..b2dfba2 100644 +--- a/src/util/xmlpool/meson.build ++++ b/src/util/xmlpool/meson.build +@@ -35,6 +35,3 @@ xmlpool_options_h = custom_target( + ], + depend_files : _langs_po_files, + ) +- +-i18n = import('i18n') +-i18n.gettext('xmlpool', install : false) diff --git a/xorg/mesa/sources b/xorg/mesa/sources index 547a5bfa..99420e3c 100644 --- a/xorg/mesa/sources +++ b/xorg/mesa/sources @@ -1 +1,2 @@ https://mesa.freedesktop.org/archive/mesa-19.1.1.tar.xz +patches/mesa-no-gettext.patch