gentoo-ebuilds/sci-electronics/gtkwave/files/gtkwave-3.3.125-fix_bashism.patch
Nicolas PARLANT f239359ae9
sci-electronics/gtkwave: add 3.3.125
update HOMEPAGE
update SRC_URI (redirect)
update metadata with github repo uses for issues and the dev branch
update license to GPL2+ (see metainfo.xml)

fix VariableOrder

deps:
add wayland / X for GTK to avoid automagic
add deps inherited by gtk+:3
add app-arch/bzip2, required
add net-libs/libtirpc, forced w/ --with-tirpc (bug 676896)

export PKG_CONFIG
use an array for econf
use gsettings (and gnome2-utils)
disable struct-pack (runtime errors w/ UBSAN

unconditionally install doc/examples files, not built

patches to fix bashism, getopt/musl, c23

Closes: https://bugs.gentoo.org/676896
Closes: https://bugs.gentoo.org/898072
Closes: https://bugs.gentoo.org/943812
Closes: https://bugs.gentoo.org/945794
Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
Part-of: https://github.com/gentoo/gentoo/pull/43987
Closes: https://github.com/gentoo/gentoo/pull/43987
Signed-off-by: Sam James <sam@gentoo.org>
2025-09-30 10:55:29 +01:00

32 lines
789 B
Diff

https://github.com/gtkwave/gtkwave/pull/455.patch
remove bashism
the dev branch uses meson
--- a/configure
+++ b/configure
@@ -7036,7 +7036,7 @@ $as_echo "$EXZ" >&6; }
LIBXZ_LDADD=
LIBXZ_CFLAGS=
-if test "X$EXZ" == "Xyes"; then
+if test "X$EXZ" = "Xyes"; then
have_liblzma=no
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -7126,7 +7126,7 @@ fi
$as_echo "$FASTTREE" >&6; }
FASTTREE_CFLAGS=
-if test "X$FASTTREE" == "Xno"; then
+if test "X$FASTTREE" = "Xno"; then
FASTTREE_CFLAGS='-DWAVE_DISABLE_FAST_TREE'
fi
@@ -7153,7 +7153,7 @@ $as_echo "$EJUDY" >&6; }
LIBJUDY_LDADD=
LIBJUDY_CFLAGS=
-if test "X$EJUDY" == "Xyes"; then
+if test "X$EJUDY" = "Xyes"; then
have_libjudy=no
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */