diff -ru gnome-python-1.4.2/Makefile.in gnome-python-1.4.2-patched/Makefile.in --- gnome-python-1.4.2/Makefile.in Fri Jan 4 00:20:32 2002 +++ gnome-python-1.4.2-patched/Makefile.in Mon Feb 24 00:37:45 2003 @@ -122,7 +122,7 @@ AUTOMAKE_OPTIONS = 1.5 -SUBDIRS = macros pygtk pygnome +SUBDIRS = macros pygnome EXTRA_DIST = gnome-python.spec subdir = . diff -ru gnome-python-1.4.2/configure gnome-python-1.4.2-patched/configure --- gnome-python-1.4.2/configure Fri Jan 4 00:20:36 2002 +++ gnome-python-1.4.2-patched/configure Tue Feb 25 11:45:22 2003 @@ -4478,11 +4478,11 @@ ;; darwin* | rhapsody*) - allow_undefined_flag='-undefined suppress' + allow_undefined_flag='-flat_namespace -undefined suppress' # FIXME: Relying on posixy $() will cause problems for # cross-compilation, but unfortunately the echo tests do not # yet detect zsh echo's removal of \ escapes. - archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname $(test -n "$verstring" -a x$verstring != x0.0 && echo $verstring)' + archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts $(test .$module != .yes && echo -install_name $rpath/$soname $tmp_verstring)' # We need to add '_' to the symbols in $export_symbols first #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols' hardcode_direct=yes @@ -6373,7 +6373,7 @@ pyver = string.split(sys.version)[0] # first word is version string # split strings by '.' and convert to numeric minver = map(string.atoi, string.split(minver, '.')) -pyver = map(string.atoi, string.split(pyver, '.')) +pyver = map(string.atoi, string.split(pyver, '.')[0]) # we can now do comparisons on the two lists: if pyver >= minver: sys.exit(0) @@ -7712,7 +7712,7 @@ rm -f conf.glibtest -subdirs="$subdirs pygtk" +subdirs="$subdirs" ac_config_files="$ac_config_files Makefile macros/Makefile pygnome/Makefile pygnome/generate/Makefile pygnome/gnome/Makefile" diff -ru gnome-python-1.4.2/ltmain.sh gnome-python-1.4.2-patched/ltmain.sh --- gnome-python-1.4.2/ltmain.sh Fri Jul 6 00:41:01 2001 +++ gnome-python-1.4.2-patched/ltmain.sh Mon Feb 24 00:37:45 2003 @@ -2858,6 +2858,11 @@ if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then eval cmds=\"$archive_expsym_cmds\" else + if test "x$verstring" = "x0.0"; then + tmp_verstring= + else + tmp_verstring="$verstring" + fi eval cmds=\"$archive_cmds\" fi IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'