From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- media-sound/seq24/files/seq24-0.9.2-lash-fix.patch | 248 +++++++++++++++++++++ 1 file changed, 248 insertions(+) create mode 100644 media-sound/seq24/files/seq24-0.9.2-lash-fix.patch (limited to 'media-sound/seq24/files') diff --git a/media-sound/seq24/files/seq24-0.9.2-lash-fix.patch b/media-sound/seq24/files/seq24-0.9.2-lash-fix.patch new file mode 100644 index 000000000000..8b0efadb7b55 --- /dev/null +++ b/media-sound/seq24/files/seq24-0.9.2-lash-fix.patch @@ -0,0 +1,248 @@ +Upstream fix for segfault when built with lash support. +https://bugs.launchpad.net/seq24/+bug/696371 + +=== modified file 'src/lash.cpp' +--- old/src/lash.cpp ++++ new/src/lash.cpp +@@ -29,17 +29,9 @@ + lash::lash(int *argc, char ***argv) + { + #ifdef LASH_SUPPORT +- m_lash_args = lash_extract_args(argc, argv); +-#endif // LASH_SUPPORT +-} +- +- +-void lash::init(perform* perform) +-{ +-#ifdef LASH_SUPPORT +- m_perform = perform; +- +- m_client = lash_init(m_lash_args, PACKAGE_NAME, ++ m_perform = NULL; ++ ++ m_client = lash_init(lash_extract_args(argc, argv), PACKAGE_NAME, + LASH_Config_File, LASH_PROTOCOL(2, 0)); + + if (m_client == NULL) { +@@ -65,9 +57,10 @@ + + + void +-lash::start() ++lash::start(perform* perform) + { + #ifdef LASH_SUPPORT ++ m_perform = perform; + /* Process any LASH events every 250 msec (arbitrarily chosen interval) */ + Glib::signal_timeout().connect(sigc::mem_fun(*this, &lash::process_events), 250); + #endif // LASH_SUPPORT + +=== modified file 'src/lash.h' +--- old/src/lash.h ++++ new/src/lash.h +@@ -43,7 +43,6 @@ + #ifdef LASH_SUPPORT + perform *m_perform; + lash_client_t *m_client; +- lash_args_t *m_lash_args; + + bool process_events(); + void handle_event(lash_event_t* conf); +@@ -54,13 +53,12 @@ + public: + lash(int *argc, char ***argv); + +- void init(perform* perform); + void set_alsa_client_id(int id); +- void start(); ++ void start(perform* perform); + }; + + +-/* global lash driver, defined in seq24.cpp */ ++/* global lash driver, defined in seq24.cpp and used in midibus.cpp*/ + extern lash *lash_driver; + + + +=== modified file 'src/midibus.cpp' +--- old/src/midibus.cpp ++++ new/src/midibus.cpp +@@ -877,11 +877,11 @@ + + /* set up our clients queue */ + m_queue = snd_seq_alloc_queue( m_alsa_seq ); +-#endif + #ifdef LASH_SUPPORT + /* notify lash of our client ID so it can restore connections */ + lash_driver->set_alsa_client_id(snd_seq_client_id(m_alsa_seq)); + #endif ++#endif + } + + + +=== modified file 'src/perform.cpp' +--- old/src/perform.cpp ++++ new/src/perform.cpp +@@ -1342,6 +1342,7 @@ + stats_last_clock_us= (last.tv_sec * 1000000) + (last.tv_nsec / 1000); + #else + /* get start time position */ ++ /* timeGetTime() returns a "DWORD" type (= unsigned long)*/ + last = timeGetTime(); + + if ( global_stats ) + +=== modified file 'src/seq24.cpp' +--- old/src/seq24.cpp ++++ new/src/seq24.cpp +@@ -108,12 +108,66 @@ + * GTK+. */ + Gtk::Main kit(argc, argv); + +- /* Init the lash driver (strips lash specific command line +- * arguments, but does not connect to daemon) */ ++ /*prepare global MIDI definitions*/ ++ for ( int i=0; iinit(&p); +- lash_driver->start(); ++ lash_driver->start(&p); + #endif + kit.run(seq24_window); + + -- cgit v1.2.3-65-gdbad