solfege port

Robert Jenssen robertjenssen at ozemail.com.au
Sun Feb 5 03:35:51 PST 2006


Hi,

Thanks for porting the solfege ear trainer. I am using


uname -a
FreeBSD kraken 5.4-RELEASE-p11 FreeBSD 5.4-RELEASE-p11 #1: Thu Feb  2
15:11:34 EST 2006  robj at kraken:/usr/obj/usr/src/sys/KRAKEN  i386

solfege -v
GNU Solfege 2.4.0
This is free software. It is covered by the GNU General Public License,
and you are welcome to change it and/or distribute copies of it under
certain conditions. Invoke as `solfege --warranty` for more information.

Copyright \uffff\uffff 1999-2005 Tom Cato Amundsen <tca at gnu.org>

python
usage: python [option] ... [-c cmd | -m mod | file | -] [arg] ...
Try `python -h' for more information.
robj at kraken$ python
Python 2.4 (#2, Apr  3 2005, 22:24:02)
[GCC 3.4.2 [FreeBSD] 20040728] on freebsd5
Type "help", "copyright", "credits" or "license" for more information.
>>>


I've made the following patch to avoid an OSError message from os.wait()

Best wishes,

Rob Jenssen



*** soundcard/midifilesynth.py  Mon Apr 25 21:26:49 2005
--- /usr/X11R6/share/gnome/solfege/soundcard/midifilesynth.py   Sun Feb
5 18:58:49 2006
***************
*** 77,81 ****
              except OSError:
                  pass
!             os.wait()
              self.__child_pid = None
          pid = os.fork()
--- 77,84 ----
              except OSError:
                  pass
!             try:
!                 os.wait()
!             except OSError:
!                 pass
              self.__child_pid = None
          pid = os.fork()



More information about the freebsd-ports mailing list