diff options
Diffstat (limited to 'x11-toolkits/gtk-sharp/files')
-rw-r--r-- | x11-toolkits/gtk-sharp/files/patch-configure | 16 | ||||
-rw-r--r-- | x11-toolkits/gtk-sharp/files/patch-ltmain.sh | 41 |
2 files changed, 49 insertions, 8 deletions
diff --git a/x11-toolkits/gtk-sharp/files/patch-configure b/x11-toolkits/gtk-sharp/files/patch-configure index 110ef9d6a040..6161b1176547 100644 --- a/x11-toolkits/gtk-sharp/files/patch-configure +++ b/x11-toolkits/gtk-sharp/files/patch-configure @@ -1,10 +1,10 @@ ---- configure.orig Wed Jan 1 18:58:20 2003 -+++ configure Wed Jan 1 18:58:45 2003 -@@ -5647,6 +5647,7 @@ +--- configure.orig Thu Jun 17 23:16:50 2004 ++++ configure Thu Jun 17 23:17:31 2004 +@@ -8440,7 +8440,6 @@ - # This can be used to rebuild libtool when needed - LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" -+$ac_aux_dir/ltconfig $LIBTOOL_DEPS - # Always use our own libtool. - LIBTOOL='$(SHELL) $(top_builddir)/libtool' + +-CFLAGS='-g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wshadow -Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings' + + # Extract the first word of "pkg-config", so it can be a program name with args. + set dummy pkg-config; ac_word=$2 diff --git a/x11-toolkits/gtk-sharp/files/patch-ltmain.sh b/x11-toolkits/gtk-sharp/files/patch-ltmain.sh new file mode 100644 index 000000000000..642e3d0bdb06 --- /dev/null +++ b/x11-toolkits/gtk-sharp/files/patch-ltmain.sh @@ -0,0 +1,41 @@ +--- ltmain.sh.orig Thu May 22 16:42:22 2003 ++++ ltmain.sh Tue May 27 12:12:52 2003 +@@ -1072,7 +1072,7 @@ + esac + elif test "X$arg" = "X-lc_r"; then + case $host in +- *-*-openbsd* | *-*-freebsd*) ++ *-*-openbsd* | *-*-freebsd4*) + # Do not include libc_r directly, use -pthread flag. + continue + ;; +@@ -1082,8 +1082,16 @@ + continue + ;; + ++ -pthread) ++ compile_command="$compile_command -pthread" ++ finalize_command="$finalize_command -pthread" ++ compiler_flags="$compiler_flags -pthread" ++ continue ++ ;; ++ + -module) + module=yes ++ build_old_libs=no + continue + ;; + +@@ -4325,10 +4336,12 @@ + fi + + # Install the pseudo-library for information purposes. ++ if /usr/bin/false; then + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + instname="$dir/$name"i + $show "$install_prog $instname $destdir/$name" + $run eval "$install_prog $instname $destdir/$name" || exit $? ++ fi + + # Maybe install the static library, too. + test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" |