--- ./Lib/plat-irix6/regen Wed Jan 15 11:19:18 1997 +++ ../Python-2.1.1/./Lib/plat-irix6/regen Thu Oct 25 18:46:58 2001 @@ -1,13 +1,13 @@ #! /bin/sh case `uname -sr` in -'IRIX '[45].*) ;; +'IRIX '[456].*) ;; *) echo Probably not on an IRIX system 1>&2 exit 1;; esac set -v -h2py /usr/include/sys/fcntl.h -h2py /usr/include/sys/file.h -h2py /usr/include/sys/socket.h -h2py -i '(u_long)' /usr/include/netinet/in.h -h2py /usr/include/sys/termios.h -h2py /usr/include/errno.h +../../python ../../Tools/scripts/h2py.py /usr/include/sys/fcntl.h +../../python ../../Tools/scripts/h2py.py /usr/include/sys/file.h +../../python ../../Tools/scripts/h2py.py /usr/include/sys/socket.h +../../python ../../Tools/scripts/h2py.py -i '(u_long)' /usr/include/netinet/in.h +../../python ../../Tools/scripts/h2py.py /usr/include/sys/termios.h +../../python ../../Tools/scripts/h2py.py /usr/include/errno.h --- ./Modules/readline.c Wed Jul 11 05:18:24 2001 +++ ../Python-2.1.1/./Modules/readline.c Tue Oct 30 10:12:24 2001 @@ -209,7 +209,7 @@ if(!PyArg_ParseTuple(args, "s:set_completer_delims", &break_chars)) { return NULL; } - free(rl_completer_word_break_characters); + free((void *) rl_completer_word_break_characters); rl_completer_word_break_characters = strdup(break_chars); Py_INCREF(Py_None); return Py_None; --- ./setup.py Mon Jul 16 09:00:32 2001 +++ ../Python-2.1.1/./setup.py Wed Oct 31 13:15:58 2001 @@ -146,15 +146,19 @@ def detect_modules(self): # Ensure that /usr/local is always used - if '/usr/local/lib' not in self.compiler.library_dirs: - self.compiler.library_dirs.insert(0, '/usr/local/lib') - if '/usr/local/include' not in self.compiler.include_dirs: - self.compiler.include_dirs.insert(0, '/usr/local/include' ) + _lib=os.environ.get("ROOT") + '/usr/freeware/lib32' + _inc=os.environ.get("ROOT") + '/usr/freeware/include' + if _lib not in self.compiler.library_dirs: + self.compiler.library_dirs.insert(0, _lib) + if _inc not in self.compiler.include_dirs: + self.compiler.include_dirs.insert(0, _inc ) + self.compiler.library_dirs.append(os.environ.get("ROOT") + '/usr/lib32' ) + self.compiler.include_dirs.append(os.environ.get("ROOT") + '/usr/include' ) # lib_dirs and inc_dirs are used to search for files; # if a file is found in one of those directories, it can # be assumed that no additional -I,-L directives are needed. - lib_dirs = self.compiler.library_dirs + ['/lib', '/usr/lib'] + lib_dirs = self.compiler.library_dirs + ['/lib32', '/usr/lib32'] inc_dirs = self.compiler.include_dirs + ['/usr/include'] exts = [] @@ -273,6 +273,9 @@ # Read SGI RGB image files (but coded portably) exts.append( Extension('rgbimg', ['rgbimgmodule.c']) ) + exts.append( Extension('al', ['almodule.c'],libraries = ['audio']) ) + exts.append( Extension('cd', ['cdmodule.c'],libraries = ['cdaudio', 'ds', 'mediad']) ) + # readline if self.compiler.find_library_file(lib_dirs, 'readline'): readline_libs = ['readline'] --- ./Modules/almodule.c Fri Sep 1 16:29:26 2000 +++ ../Python-2.1.1/./Modules/almodule.c Thu Mar 28 06:54:29 2002 @@ -1,5 +1,5 @@ -#define OLD_INTERFACE /* define for pre-Irix 6 interface */ +/* #define OLD_INTERFACE */ /* define for pre-Irix 6 interface */ #include "Python.h" #include "stringobject.h"