diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-11-13 03:02:43 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-11-13 03:02:43 +0000 |
commit | 4dc2f97ed84159736ecfb5dea5485e83b27810d1 (patch) | |
tree | a2dacff6c971827db40747ce252c01aad9eea6d2 /media-sound | |
parent | 51be8f45b17e3da3ac48eca6b16b703bb58fda76 (diff) |
gentoo auto-resync : 13:11:2024 - 03:02:42
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/Manifest.gz | bin | 57280 -> 57277 bytes | |||
-rw-r--r-- | media-sound/alsaplayer/Manifest | 2 | ||||
-rw-r--r-- | media-sound/alsaplayer/alsaplayer-0.99.82.ebuild | 2 | ||||
-rw-r--r-- | media-sound/aseqview/Manifest | 7 | ||||
-rw-r--r-- | media-sound/aseqview/aseqview-0.2.8-r3.ebuild | 42 | ||||
-rw-r--r-- | media-sound/aseqview/files/aseqview-0.2.8-automake.patch | 18 | ||||
-rw-r--r-- | media-sound/aseqview/files/aseqview-0.2.8-configure-quotes.patch | 25 | ||||
-rw-r--r-- | media-sound/aseqview/files/aseqview-0.2.8-fix-eautoreconf.patch | 15 | ||||
-rw-r--r-- | media-sound/aseqview/files/aseqview-0.2.8-gcc14.patch | 176 | ||||
-rw-r--r-- | media-sound/aseqview/files/aseqview-0.2.8-mv-configure.ac.patch | 57 | ||||
-rw-r--r-- | media-sound/aseqview/files/aseqview-0.2.8-piano-segfault.patch | 42 |
11 files changed, 384 insertions, 2 deletions
diff --git a/media-sound/Manifest.gz b/media-sound/Manifest.gz Binary files differindex 03a044c5968f..d47bdef0a974 100644 --- a/media-sound/Manifest.gz +++ b/media-sound/Manifest.gz diff --git a/media-sound/alsaplayer/Manifest b/media-sound/alsaplayer/Manifest index acc83be5d726..d1c6d52f159d 100644 --- a/media-sound/alsaplayer/Manifest +++ b/media-sound/alsaplayer/Manifest @@ -3,5 +3,5 @@ AUX alsaplayer-0.99.82-autotools.patch 457 BLAKE2B ba1bdd117233b38a13c87895ff405 DIST alsaplayer-0.99.81.tar.bz2 806906 BLAKE2B 6b37aaa65f6426a43483c3fa7e077ca89ce553655587e0f44ac61ade5d4f5467a304e18ef0142336b0cc94311498ccaa16d9ed2d6eb8109474626c6d1a4ca97d SHA512 6723b36837d01f14645bb1d43ec7c54c85e8afed9b020f56dc81b4de64b74e4da2504507fe83954c7b26817e90510c585d09e759fc11e731d4d27e86f3932650 DIST alsaplayer-0.99.82.tar.gz 1087776 BLAKE2B 34a197799da90c2dfe08b4a85baa3ac47d1b21e919908981c6ff3993a16fa1b97814cab54aae84be9e1da8fa3395952ef8fef85fe153a528ea3a6d6cd0f20658 SHA512 749fb8581d766df28a1ec42af9888fda0665ffcc0bb85a489365ae02611bc90a6cfc42d9c2cb19a3eeb385fb2c401b9d16e864a22887d8d6b6de3a55ebc140e2 EBUILD alsaplayer-0.99.81-r4.ebuild 2008 BLAKE2B bb86f71224b47bc1a92937bd897f81bd747e39bfd7cf79ffe21be35e76fbef03791e72e7fd665f5077dcce5a72a9cb415c0d971748056b7e9fea11e440f85953 SHA512 6b192ea34042150730d0a1b2ab6109cacfac7679c8b06fa35d27fcde2dcc716d29381a7a1784b758a27ec713f85f2eb299fda3441c7168fe23acb3c4df857894 -EBUILD alsaplayer-0.99.82.ebuild 1990 BLAKE2B e9e568966f3cd488c70f7f965875923f20840984e4aa29c1a6d4a19e8c815e20119a452fb204d19f3a908c4cd72b3d26462b83451384744b98fb51a022c187db SHA512 5bb96a261edeb5e74cb567e1c66d6b796539022ecdace893a21f9d1a807a0837b90c1a549b49498e821547bfe8e79299a0b634ec565986d8de7f288fc18d258e +EBUILD alsaplayer-0.99.82.ebuild 1989 BLAKE2B 296b56c8bab2f6d172c480bbc6807ba9824403c3e9dbf93b94badd2049357cabb1490a41fd1e3e2d4a169e4bbec4bf91db86ec5e254082e94962321e4cd589d2 SHA512 ae4639489596f7e484546617056f8436ef65e04025582563940d67cfab6551555194dbbceb9a3f5aa8e9eb1c746bc280724fb1c324d590d2f9a3b8de80e1558a MISC metadata.xml 479 BLAKE2B 8424c58b84638f044863d20256f981d9ff3e2d2c9730876dff3992bae3d16402dbbe1bdc9c6fae1d9d20155129492ce91936366daf767c3d99ca144e3440f036 SHA512 a137fa32fb8119b394f5ddc9d1975b91f221e6e8c92a18ea0a4b74ed0090f9a2cb81e359355cfc13f7024a8e381aba0084f49c519b664c5418802a087f3f573b diff --git a/media-sound/alsaplayer/alsaplayer-0.99.82.ebuild b/media-sound/alsaplayer/alsaplayer-0.99.82.ebuild index abb31f7c1d89..05d91e5ed653 100644 --- a/media-sound/alsaplayer/alsaplayer-0.99.82.ebuild +++ b/media-sound/alsaplayer/alsaplayer-0.99.82.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/alsaplayer/alsaplayer/archive/refs/tags/${PV}.tar.gz LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~mips ~ppc ~riscv ~sparc x86" +KEYWORDS="amd64 ~mips ~ppc ~riscv ~sparc x86" IUSE="+alsa doc flac gtk id3tag jack mad mikmod nas nls ogg opengl oss vorbis xosd" REQUIRED_USE="|| ( alsa jack nas oss )" diff --git a/media-sound/aseqview/Manifest b/media-sound/aseqview/Manifest index dc92418853b8..a6dd5400934c 100644 --- a/media-sound/aseqview/Manifest +++ b/media-sound/aseqview/Manifest @@ -1,4 +1,11 @@ +AUX aseqview-0.2.8-automake.patch 474 BLAKE2B b6fa7ad2fda405f4ec4a1b9c0016d09f07a92b987a5af1149f8237f2d4be77c48ab8ff9e8fb1f7bed9f6e9aa6b4f283ff441ad0d1a299656ebabaa2ec616c0a4 SHA512 5339e715a76f1e994d2a0e0b6cb473250231271b3773773510d47250f7117a2c1ac4dd03a1b21c5d4ce28bce7857deaf698ff9c7e9ab8c42e2fafe619231a173 AUX aseqview-0.2.8-clang16.patch 146 BLAKE2B 3a3bf486b0deee371461f79b2fdb2f2ac679fa5e40ced5701b7e0dc4576606a1e3c242cd6f9968c48ac10774de70f72526bc91915d0334fe8b99169db81f575c SHA512 2bbaf8abb12e45113d31855e4be6b6ccd0efd50496d4a737cd5f8b187e7e3a76236860dd70465bf87f590ae87fe3f1bb6b4f63de29cc1d19f400b854da79e5e0 +AUX aseqview-0.2.8-configure-quotes.patch 720 BLAKE2B 81192aea8c6f154a094a992e6ba49f3c6f3e2aa742577f930fec504903d4dc8203172786ff380feeda3631ce0a99e7702edb592a091cec83f8dd4e8b1aed835f SHA512 fffa8395aeb334fba1f662675a3e1898891a428b5a20cec1f8f553bc80d6f01575023063b9ecb63edf97313124432e825c8063f68284ff5aae96d7d493279af9 +AUX aseqview-0.2.8-fix-eautoreconf.patch 523 BLAKE2B cdd439815e74d63dbaca4d76aac1611f5b177210111145db9361bc40c53b3e52e17b80784823233d2287c172ff6e118954ef7a2a431d3bef994e1d960ea9d0e7 SHA512 bbdf8898a4d548ee84fe16fdb0431253c667a6f182adde2588b65480b7e56447914631015abd9e527778a011b113db41d98dbdb55308cee73a98817086471df7 +AUX aseqview-0.2.8-gcc14.patch 6496 BLAKE2B 065fb82262dcfe63e5dca07d38adf0b032ea3efe9ccc7750f6781f50f073bc59e85efdc6fdb055c5ba9bf3a50993649fcacf63a7efab753122ccf4bcfc021f30 SHA512 82ac6b00397b13138fc260a07c089903243442ad928b961d98ecca64e982bd3fd8b0b23fbdcffbdd70218e9534953b0348eb623210405d09eb20f6e627963346 +AUX aseqview-0.2.8-mv-configure.ac.patch 1744 BLAKE2B 4f27f542ff2c20667de47f97d1e0e6387b153907f1133fa94ec58b364efc6ff20ee611be7eb1a20222ae999d97bb40d74e3ea8fe678c2a29eaa0b10da347a5fd SHA512 63d62f409c46c9720df8d94d03f5292e837a8390c5dc7d367e68ea286b7555ed40ce0269914e38a9d2e93127d6c120178981112a0f78c386094555720542a959 +AUX aseqview-0.2.8-piano-segfault.patch 1112 BLAKE2B fadbb1808a8c6e59f737e09467e7c204881142e57b0b94b1de996a47b0c3c5e66faf31f2ab6cc276811ea2719008d09957ee689b197f8f5df0bcb0b3b4559557 SHA512 316b6483a6073b63cf24b5183f75018521ef6e1047fd5ee8789346f8ab801a97e51cf6cb39f218a31b31c30f93b2387dea35aad9a91ed6542dcc3e0af544122f DIST aseqview-0.2.8.tar.gz 120287 BLAKE2B 331d4e93ba635b59dc1c07fcf470b94a47ee3e03b348b57ae7d7bff2da461d70f092284a461691e76f24cb9d0745c721f283b8b5656192814960761495f94219 SHA512 853dc2b1c54152c39a29cbbf17698c4f397f479b5a57397c778b22ecab803be0a69dce3b4a10d50a3c1ace08256f05bbc481ed695ab81c89c40af2034a97c203 EBUILD aseqview-0.2.8-r2.ebuild 573 BLAKE2B d117650106a743dc18ba5b20809e58a62189b8f98e5b8872140bd8afcde910b50bf171759b6febb60c27b1916abce12db312e0bd183a9c4d4fd50ed8153f25a8 SHA512 16e31a7cbf7fcf25a5bc9925b0d5e54998e56a5f580eded55ed438c4f6aabc507c7b66ba852a7a299e4931e159db84a2618aba2dba44279b603533e921bf94cc +EBUILD aseqview-0.2.8-r3.ebuild 876 BLAKE2B 4aa130939d8f85902f09f0fb99b34df0ec5e07c0e2a931617a7e145d9a883ac8b86bf3ff748ae951ab01ec6b1d07423777dabfa063b66cb3df110450e3086df8 SHA512 ea7be071203961de3f60f6c7e87fe4913b548ac2694e2878bd2b357a73ff67e4a7070e7b6399a66fbf5ccb381238c43b23397c58219a5919161cc1ae23ab930d MISC metadata.xml 326 BLAKE2B 2455b8999956699d4733f417cfe847df480287da3143d218a654fc0c8d6aefcab57c016a07016b71c24df5609c629de7ca41fceb81e81f982d2ecafbd8b72236 SHA512 a37b379e0c29b0660e362165c5a22b275d754e305c5f7a36b9395cc5683b29d08a7dc5187a8c40aee941343f389d877148b7dcd9978d26925e8ed18a987a93cc diff --git a/media-sound/aseqview/aseqview-0.2.8-r3.ebuild b/media-sound/aseqview/aseqview-0.2.8-r3.ebuild new file mode 100644 index 000000000000..1459f244f0f1 --- /dev/null +++ b/media-sound/aseqview/aseqview-0.2.8-r3.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="ALSA sequencer event viewer/filter" +HOMEPAGE="https://github.com/tiwai/aseqview" +SRC_URI="https://ftp.suse.com/pub/people/tiwai/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" + +RDEPEND=" + media-libs/alsa-lib + net-libs/libpcap + x11-libs/gtk+:2 +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + # upstream git master + "${FILESDIR}"/${P}-fix-eautoreconf.patch + "${FILESDIR}"/${P}-automake.patch + "${FILESDIR}"/${P}-configure-quotes.patch + "${FILESDIR}"/${P}-piano-segfault.patch # bug 844028 + "${FILESDIR}"/${P}-gcc14.patch + # downstream patch + "${FILESDIR}"/${P}-mv-configure.ac.patch +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf --disable-alsatest --enable-gtk2 +} diff --git a/media-sound/aseqview/files/aseqview-0.2.8-automake.patch b/media-sound/aseqview/files/aseqview-0.2.8-automake.patch new file mode 100644 index 000000000000..1764d7b7ae5d --- /dev/null +++ b/media-sound/aseqview/files/aseqview-0.2.8-automake.patch @@ -0,0 +1,18 @@ +From 818b95ed3eaf8deb92c5e590315342932508bcb6 Mon Sep 17 00:00:00 2001 +From: Takashi Iwai <tiwai@suse.de> +Date: Tue, 21 Aug 2007 18:32:51 +0200 +Subject: [PATCH] Add AUTOMAKE_OPTIONS to make autoreconf happy + +--- + Makefile.am | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/Makefile.am b/Makefile.am +index 02386b6..6c9d27f 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -32,3 +32,4 @@ EXTRA_DIST = \ + + CONFIG_CLEAN_FILES = etc/aseqview.spec + ++AUTOMAKE_OPTIONS = foreign diff --git a/media-sound/aseqview/files/aseqview-0.2.8-configure-quotes.patch b/media-sound/aseqview/files/aseqview-0.2.8-configure-quotes.patch new file mode 100644 index 000000000000..20efb01a9ebe --- /dev/null +++ b/media-sound/aseqview/files/aseqview-0.2.8-configure-quotes.patch @@ -0,0 +1,25 @@ +From b31044aeddd0b406ddbc262f20a4f069baf26783 Mon Sep 17 00:00:00 2001 +From: Takashi Iwai <tiwai@suse.de> +Date: Fri, 25 Jun 2021 10:19:39 +0200 +Subject: [PATCH] Fix quote in configure.in + +--- + configure.in | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/configure.in b/configure.in +index e125908..4b6907f 100644 +--- a/configure.in ++++ b/configure.in +@@ -12,9 +12,9 @@ AC_C_INLINE + + AH_TEMPLATE([HAVE_LIBCAP], [Hey, we have libcap]) + AC_CHECK_HEADER(sys/capability.h, +- AC_CHECK_LIB(cap, cap_get_proc, ++ [AC_CHECK_LIB(cap, cap_get_proc, + [AC_DEFINE(HAVE_LIBCAP) +- LIBS="$LIBS -lcap"])) ++ LIBS="$LIBS -lcap"])]) + + AM_PATH_ALSA(0.5.0) + AC_CHECK_HEADERS(alsa/asoundlib.h) diff --git a/media-sound/aseqview/files/aseqview-0.2.8-fix-eautoreconf.patch b/media-sound/aseqview/files/aseqview-0.2.8-fix-eautoreconf.patch new file mode 100644 index 000000000000..71bad90637f7 --- /dev/null +++ b/media-sound/aseqview/files/aseqview-0.2.8-fix-eautoreconf.patch @@ -0,0 +1,15 @@ +--- + configure.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/configure.in ++++ b/configure.in +@@ -26,7 +26,7 @@ AC_ARG_ENABLE(gtk2, + if test $use_gtk2 = "yes"; then + PKG_CHECK_MODULES(ASEQVIEW, gtk+-2.0) + else +- AM_PATH_GTK(1.2.0, , AC_MSG_ERROR(Cannot find GTK: Is gtk-config in path?)) ++ dnl AM_PATH_GTK(1.2.0, , AC_MSG_ERROR(Cannot find GTK: Is gtk-config in path?)) + ASEQVIEW_CFLAGS="$CFLAGS $ALSA_CFLAGS $GTK_CFLAGS" + ASEQVIEW_LIBS="$LIBS $ALSA_LIBS $GTK_LIBS" + AC_SUBST(ASEQVIEW_CFLAGS) diff --git a/media-sound/aseqview/files/aseqview-0.2.8-gcc14.patch b/media-sound/aseqview/files/aseqview-0.2.8-gcc14.patch new file mode 100644 index 000000000000..a08a439ee2c4 --- /dev/null +++ b/media-sound/aseqview/files/aseqview-0.2.8-gcc14.patch @@ -0,0 +1,176 @@ +From bebad6475fe3b9fd0c794c1862c53ec9453b5607 Mon Sep 17 00:00:00 2001 +From: Takashi Iwai <tiwai@suse.de> +Date: Wed, 21 Aug 2024 17:34:52 +0200 +Subject: [PATCH] Fix gcc14 build errors and warnings + +Some trivial fixes covering the compile errors and warnings: +- include missing pthread.h +- align to char * for all bitmap data +- put parentheses around operations +- drop unused variable and function declarations +--- + aseqview.c | 18 +++++++++--------- + bitmaps/gm.xbm | 2 +- + bitmaps/gm2.xbm | 2 +- + bitmaps/gs.xbm | 2 +- + bitmaps/xg.xbm | 2 +- + piano.c | 7 ------- + portlib.c | 1 + + 7 files changed, 14 insertions(+), 20 deletions(-) + +diff --git a/aseqview.c b/aseqview.c +index 345d56d..20afcca 100644 +--- a/aseqview.c ++++ b/aseqview.c +@@ -853,7 +853,7 @@ static int expose_temper_keysig(GtkWidget *w) + int y_ofs = (height - tk_height) / 2; + + i = (tk == TEMPER_UNKNOWN) ? 0 : (tk + 8) % 32; +- adj = (tk == TEMPER_UNKNOWN) ? 0 : tk + 8 & 0x20; ++ adj = (tk == TEMPER_UNKNOWN) ? 0 : (tk + 8) & 0x20; + p = (adj) ? st->w_tk_xpm_adj[i] : st->w_tk_xpm[i]; + gdk_draw_pixmap(w->window, w->style->fg_gc[GTK_STATE_NORMAL], p, 0, 0, + x_ofs, y_ofs, tk_width, tk_height); +@@ -873,7 +873,7 @@ static int expose_temper_type(GtkWidget *w) + int x_ofs = (width - tt_width) / 2; + int y_ofs = (height - tt_height - 6) / 2; + +- if (tt >= 0 && tt < 4 || tt >= 64 && tt < 68) ++ if ((tt >= 0 && tt < 4) || (tt >= 64 && tt < 68)) + i = (tk == TEMPER_UNKNOWN) ? 0 : tt - ((tt >= 0x40) ? 0x3c : 0) + 1; + else + i = 0; +@@ -930,9 +930,9 @@ static void suppress_temper_type(GtkToggleButton *w, midi_status_t *st) + continue; + for (i = 0; i < MIDI_CHANNELS; i++) { + chst = &port->ch[i], tt = chst->temper_type; +- if (tt >= 0 && tt < 4 || tt >= 64 && tt < 68) ++ if ((tt >= 0 && tt < 4) || (tt >= 64 && tt < 68)) + av_mute_update(chst->w_chnum, st->temper_type_mute +- & 1 << tt - ((tt >= 0x40) ? 0x3c : 0), use_thread); ++ & (1 << (tt - (tt >= 0x40) ? 0x3c : 0)), use_thread); + } + } + } +@@ -1163,7 +1163,7 @@ static void replace_event(port_t *pp, + snd_seq_ev_set_sysex(ev, sizeof(tk_macro), tk_macro); + ev->queue = st->queue; + process_event(pp, type, ev, &st->ports[0]); +- } else if (tk + 8 & 0x20) { ++ } else if ((tk + 8) & 0x20) { + tk_macro[6] = (mi) ? 1 : 0; + snd_seq_ev_clear(ev); + snd_seq_ev_set_sysex(ev, sizeof(tk_macro), tk_macro); +@@ -1197,7 +1197,7 @@ static void replace_event(port_t *pp, + && mi != (ev->data.control.value >= 64)) { + mi = (ev->data.control.value >= 64); + if (tk != TEMPER_UNKNOWN) { +- adj = tk + 8 & 0x20; ++ adj = (tk + 8) & 0x20; + tk_macro[5] = (tk + 8) % 16 + 56; + tk_macro[6] = (mi) ? ((adj) ? 2 : 1) : ((adj) ? 3 : 0); + snd_seq_ev_clear(ev); +@@ -1474,10 +1474,10 @@ static void parse_sysex(port_status_t *port, + tt = chst->temper_type = buf[7]; + display_temper_type(chst->w_temper_type, in_buf); + if (st->temper_type_mute +- && (tt >= 0 && tt < 4 || tt >= 64 && tt < 68)) ++ && ((tt >= 0 && tt < 4) || (tt >= 64 && tt < 68))) + av_mute_update(chst->w_chnum, +- st->temper_type_mute & 1 << tt +- - ((tt >= 0x40) ? 0x3c : 0), in_buf); ++ st->temper_type_mute & ++ (1 << (tt - ((tt >= 0x40) ? 0x3c : 0))), in_buf); + } + break; + } +diff --git a/bitmaps/gm.xbm b/bitmaps/gm.xbm +index 5ebfbf8..dfe39cb 100644 +--- a/bitmaps/gm.xbm ++++ b/bitmaps/gm.xbm +@@ -1,6 +1,6 @@ + #define gm_width 29 + #define gm_height 20 +-static unsigned char gm_bits[] = { ++static char gm_bits[] = { + 0x00, 0x00, 0x00, 0x00, 0xb0, 0xcd, 0x46, 0x02, 0xa8, 0x54, 0xae, 0x02, + 0xb8, 0xd5, 0xea, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0xf8, 0x67, 0x7f, 0x06, 0xf8, 0x6f, 0xff, 0x06, 0xd8, 0x6d, 0xe0, 0x06, +diff --git a/bitmaps/gm2.xbm b/bitmaps/gm2.xbm +index ec97bf9..7e5f118 100644 +--- a/bitmaps/gm2.xbm ++++ b/bitmaps/gm2.xbm +@@ -1,6 +1,6 @@ + #define gm2_width 29 + #define gm2_height 20 +-static unsigned char gm2_bits[] = { ++static char gm2_bits[] = { + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0xda, 0x16, 0xc5, 0x07, 0xc9, 0xb2, 0xe5, 0x0f, 0xdb, 0xb6, 0x6d, 0x1c, + 0x00, 0x00, 0x60, 0x1c, 0x3f, 0xfb, 0x0c, 0x1c, 0x7f, 0xfb, 0x0d, 0x0e, +diff --git a/bitmaps/gs.xbm b/bitmaps/gs.xbm +index fa1ee6e..f327c01 100644 +--- a/bitmaps/gs.xbm ++++ b/bitmaps/gs.xbm +@@ -1,6 +1,6 @@ + #define gs_width 29 + #define gs_height 20 +-static unsigned char gs_bits[] = { ++static char gs_bits[] = { + 0x80, 0xff, 0xe3, 0x07, 0xc0, 0xff, 0xf1, 0x03, 0xe0, 0xff, 0xf8, 0x01, + 0xf0, 0x7f, 0xfc, 0x00, 0xf8, 0x01, 0xf8, 0x01, 0xfc, 0xe0, 0xf1, 0x03, + 0x7e, 0xf0, 0xe3, 0x07, 0x3f, 0xf8, 0xc7, 0x0f, 0x7e, 0xfc, 0x8f, 0x1f, +diff --git a/bitmaps/xg.xbm b/bitmaps/xg.xbm +index 0e45011..523cfc2 100644 +--- a/bitmaps/xg.xbm ++++ b/bitmaps/xg.xbm +@@ -1,6 +1,6 @@ + #define xg_width 29 + #define xg_height 20 +-static unsigned char xg_bits[] = { ++static char xg_bits[] = { + 0x1f, 0x80, 0xff, 0x1f, 0x3f, 0xc0, 0xff, 0x1f, 0x7e, 0xe0, 0x07, 0x10, + 0xfc, 0xf0, 0x03, 0x10, 0xf8, 0xf9, 0x01, 0x10, 0xf0, 0xff, 0xf0, 0x1f, + 0xe0, 0x7f, 0xf8, 0x1f, 0xc0, 0x3f, 0xfc, 0x1f, 0x80, 0x1f, 0xfe, 0x1f, +diff --git a/piano.c b/piano.c +index 931e3b9..7bec3c9 100644 +--- a/piano.c ++++ b/piano.c +@@ -36,10 +36,6 @@ static void piano_size_request (GtkWidget * widget, + static void piano_size_allocate (GtkWidget * widget, + GtkAllocation * allocation); + static gint piano_expose (GtkWidget * widget, GdkEventExpose * event); +-static gint piano_button_press (GtkWidget * widget, GdkEventButton * event); +-static gint piano_button_release (GtkWidget * widget, GdkEventButton * event); +-static gint piano_motion_notify (GtkWidget * widget, GdkEventMotion * event); +-static void piano_update_mouse (Piano * piano, gint x, gint y); + + #define POFSY 0 + +@@ -458,14 +454,11 @@ piano_size_request (GtkWidget * widget, GtkRequisition * requisition) + static void + piano_size_allocate (GtkWidget * widget, GtkAllocation * allocation) + { +- Piano *piano; +- + g_return_if_fail (widget != NULL); + g_return_if_fail (IS_PIANO (widget)); + g_return_if_fail (allocation != NULL); + + widget->allocation = *allocation; +- piano = PIANO (widget); + + if (GTK_WIDGET_REALIZED (widget)) + { +diff --git a/portlib.c b/portlib.c +index b2942ca..9a25b73 100644 +--- a/portlib.c ++++ b/portlib.c +@@ -20,6 +20,7 @@ + #include <unistd.h> + #include <stdlib.h> + #include <string.h> ++#include <pthread.h> + #include "portlib.h" + + diff --git a/media-sound/aseqview/files/aseqview-0.2.8-mv-configure.ac.patch b/media-sound/aseqview/files/aseqview-0.2.8-mv-configure.ac.patch new file mode 100644 index 000000000000..57194d8b0303 --- /dev/null +++ b/media-sound/aseqview/files/aseqview-0.2.8-mv-configure.ac.patch @@ -0,0 +1,57 @@ +From b24ee0be7931055928cc7aa48b42cef2b5c12536 Mon Sep 17 00:00:00 2001 +From: Andreas Sturmlechner <asturm@gentoo.org> +Date: Tue, 12 Nov 2024 22:55:41 +0100 +Subject: [PATCH] Move configure.in -> configure.ac + +Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> +--- + Makefile.in | 2 +- + configure | 2 +- + configure.in => configure.ac | 2 +- + 3 files changed, 3 insertions(+), 3 deletions(-) + rename configure.in => configure.ac (97%) + +diff --git a/Makefile.in b/Makefile.in +index f5f3c42..0bf1c90 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -38,7 +38,7 @@ DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ + AUTHORS COPYING ChangeLog INSTALL NEWS depcomp install-sh \ + missing + ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +-am__aclocal_m4_deps = $(top_srcdir)/configure.in ++am__aclocal_m4_deps = $(top_srcdir)/configure.ac + am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) + am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ +diff --git a/configure b/configure +index a27ba2a..6b5216c 100755 +--- a/configure ++++ b/configure +@@ -576,7 +576,7 @@ PACKAGE_VERSION= + PACKAGE_STRING= + PACKAGE_BUGREPORT= + +-ac_unique_file="configure.in" ++ac_unique_file="configure.ac" + # Factoring default headers for most tests. + ac_includes_default="\ + #include <stdio.h> +diff --git a/configure.in b/configure.ac +similarity index 97% +rename from configure.in +rename to configure.ac +index e125908..3a8d632 100644 +--- a/configure.in ++++ b/configure.ac +@@ -1,6 +1,6 @@ + dnl Process this file with autoconf to produce a configure script. + +-AC_INIT(configure.in) ++AC_INIT(configure.ac) + AM_INIT_AUTOMAKE(aseqview, 0.2.8) + AM_CONFIG_HEADER(config.h) + +-- +2.47.0 + diff --git a/media-sound/aseqview/files/aseqview-0.2.8-piano-segfault.patch b/media-sound/aseqview/files/aseqview-0.2.8-piano-segfault.patch new file mode 100644 index 000000000000..2acbd3bec910 --- /dev/null +++ b/media-sound/aseqview/files/aseqview-0.2.8-piano-segfault.patch @@ -0,0 +1,42 @@ +From e40717bcf0d1851465a5d2531b92f6b1da2ce0c0 Mon Sep 17 00:00:00 2001 +From: Takashi Iwai <tiwai@suse.de> +Date: Fri, 25 Jun 2021 10:20:18 +0200 +Subject: [PATCH] Fix crash at piano widget creation + +It was a failure in piano widget that assumed that the widget type is +an integer. It caused a segfault with the recent gtk. +--- + piano.c | 4 ++-- + piano.h | 2 +- + 2 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/piano.c b/piano.c +index 7626373..931e3b9 100644 +--- a/piano.c ++++ b/piano.c +@@ -69,10 +69,10 @@ static GdkColor c60clr = { red : 18000, green : 0, blue : 54000 }; + + static GtkWidgetClass *parent_class = NULL; + +-guint ++GType + piano_get_type (void) + { +- static guint piano_type = 0; ++ static GType piano_type = 0; + + if (!piano_type) + { +diff --git a/piano.h b/piano.h +index 6dea3b6..c35d7da 100644 +--- a/piano.h ++++ b/piano.h +@@ -71,7 +71,7 @@ struct _PianoClass + }; + + GtkWidget *piano_new (gboolean * selkeys); +-guint piano_get_type (void); ++GType piano_get_type (void); + void piano_note_on (Piano * piano, guint8 keynum); + void piano_note_off (Piano * piano, guint8 keynum); + |