$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
--- tmsnc-0.3.2.orig/src/Makefile	2006-10-17 13:14:22.000000000 +0200
+++ tmsnc-0.3.2/src/Makefile	2012-07-26 13:54:39.000000000 +0200
@@ -23,7 +23,7 @@ pkglibdir = $(libdir)/tmsnc
 pkgincludedir = $(includedir)/tmsnc
 top_builddir = ..
 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
-INSTALL = /usr/bin/install -c
+INSTALL = /Volumes/adk/openadk/scripts/install -c
 install_sh_DATA = $(install_sh) -c -m 644
 install_sh_PROGRAM = $(install_sh) -c
 install_sh_SCRIPT = $(install_sh) -c
@@ -35,8 +35,8 @@ POST_INSTALL = :
 NORMAL_UNINSTALL = :
 PRE_UNINSTALL = :
 POST_UNINSTALL = :
-build_triplet = i686-pc-linux-gnu
-host_triplet = i686-pc-linux-gnu
+build_triplet = i686-apple-darwin10
+host_triplet = mipsel-openadk-linux-gnu
 bin_PROGRAMS = tmsnc$(EXEEXT)
 subdir = src
 DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
@@ -74,41 +74,41 @@ HEADERS = $(noinst_HEADERS)
 ETAGS = etags
 CTAGS = ctags
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-ACLOCAL = ${SHELL} /home/jonas/tmsnc/missing --run aclocal-1.9
-AMDEP_FALSE = #
-AMDEP_TRUE = 
-AMTAR = ${SHELL} /home/jonas/tmsnc/missing --run tar
-AUTOCONF = ${SHELL} /home/jonas/tmsnc/missing --run autoconf
-AUTOHEADER = ${SHELL} /home/jonas/tmsnc/missing --run autoheader
-AUTOMAKE = ${SHELL} /home/jonas/tmsnc/missing --run automake-1.9
-AWK = mawk
-CC = gcc
-CCDEPMODE = depmode=gcc3
-CFLAGS = -g -O2
-CPP = gcc -E
-CPPFLAGS = 
-CURSES_INCLUDEDIR = 
-CURSES_LIBS = -lncurses -lpanel -lform
+ACLOCAL = ${SHELL} /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run aclocal-1.9
+AMDEP_FALSE = 
+AMDEP_TRUE = #
+AMTAR = ${SHELL} /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run tar
+AUTOCONF = ${SHELL} /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run autoconf
+AUTOHEADER = ${SHELL} /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run autoheader
+AUTOMAKE = ${SHELL} /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run automake-1.9
+AWK = gawk
+CC = /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc
+CCDEPMODE = depmode=none
+CFLAGS = -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe
+CPP = /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -E
+CPPFLAGS = -DNDEBUG -I/Volumes/adk/openadk/target_mipsel_uclibc/usr/include
+CURSES_INCLUDEDIR = -I/Volumes/adk/openadk/target_mipsel_uclibc/include
+CURSES_LIBS =  -L/Volumes/adk/openadk/target_mipsel_uclibc/lib -lncurses -lpanel -lform
 CYGPATH_W = echo
 DEFS = -DHAVE_CONFIG_H
 DEPDIR = .deps
 ECHO_C = 
 ECHO_N = -n
 ECHO_T = 
-EGREP = /bin/grep -E
+EGREP = /usr/bin/grep -E
 EXEEXT = 
-GREP = /bin/grep
+GREP = /usr/bin/grep
 INSTALL_DATA = ${INSTALL} -m 644
 INSTALL_PROGRAM = ${INSTALL}
 INSTALL_SCRIPT = ${INSTALL}
 INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
-LDFLAGS = 
-LIBICONV = 
+LDFLAGS = -L/Volumes/adk/openadk/target_mipsel_uclibc/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib
+LIBICONV = /Volumes/adk/openadk/target_mipsel_uclibc/usr/lib/libiconv.so -Wl,-rpath -Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib
 LIBOBJS = 
 LIBS = 
-LTLIBICONV = 
+LTLIBICONV = -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -liconv -R/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib
 LTLIBOBJS = 
-MAKEINFO = ${SHELL} /home/jonas/tmsnc/missing --run makeinfo
+MAKEINFO = ${SHELL} /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run makeinfo
 OBJEXT = o
 OPENSSL_FALSE = #
 OPENSSL_TRUE = 
@@ -120,60 +120,60 @@ PACKAGE_TARNAME = 
 PACKAGE_VERSION = 
 PATH_SEPARATOR = :
 SET_MAKE = 
-SHELL = /bin/sh
-SSLINC = 
-SSLLIB = -lssl -lcrypto
-STRIP = 
+SHELL = /bin/bash
+SSLINC = -I/Volumes/adk/openadk/target_mipsel_uclibc/usr/include
+SSLLIB = -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -lssl -lcrypto
+STRIP = /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-strip
 TALKFILTERS_FALSE = 
 TALKFILTERS_TRUE = #
 TFLIB = 
 VERSION = 0.3.2
-ac_ct_CC = gcc
-am__fastdepCC_FALSE = #
-am__fastdepCC_TRUE = 
+ac_ct_CC = 
+am__fastdepCC_FALSE = 
+am__fastdepCC_TRUE = #
 am__include = include
 am__leading_dot = .
 am__quote = 
 am__tar = ${AMTAR} chof - "$$tardir"
 am__untar = ${AMTAR} xf -
-bindir = ${exec_prefix}/bin
-build = i686-pc-linux-gnu
-build_alias = 
+bindir = /usr/bin
+build = i686-apple-darwin10
+build_alias = i686-apple-darwin10
 build_cpu = i686
-build_os = linux-gnu
-build_vendor = pc
-datadir = ${datarootdir}
+build_os = darwin10
+build_vendor = apple
+datadir = /usr/share
 datarootdir = ${prefix}/share
 docdir = ${datarootdir}/doc/${PACKAGE}
 dvidir = ${docdir}
 exec_prefix = ${prefix}
-host = i686-pc-linux-gnu
-host_alias = 
-host_cpu = i686
+host = mipsel-openadk-linux-gnu
+host_alias = mipsel-openadk-linux
+host_cpu = mipsel
 host_os = linux-gnu
-host_vendor = pc
+host_vendor = openadk
 htmldir = ${docdir}
 includedir = ${prefix}/include
 infodir = ${datarootdir}/info
-install_sh = /home/jonas/tmsnc/install-sh
+install_sh = /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/install-sh
 libdir = ${exec_prefix}/lib
-libexecdir = ${exec_prefix}/libexec
+libexecdir = /usr/libexec
 localedir = ${datarootdir}/locale
-localstatedir = ${prefix}/var
-mandir = ${datarootdir}/man
-mkdir_p = mkdir -p --
+localstatedir = /var
+mandir = /usr/share/man
+mkdir_p = $(mkinstalldirs)
 oldincludedir = /usr/include
 pdfdir = ${docdir}
-prefix = /usr/local
-program_transform_name = s,x,x,
+prefix = /usr
+program_transform_name = s&$$&&;s&^&&
 psdir = ${docdir}
 sbindir = ${exec_prefix}/sbin
 sharedstatedir = ${prefix}/com
-sysconfdir = ${prefix}/etc
-target_alias = 
+sysconfdir = /etc
+target_alias = mipsel-openadk-linux
 tmsnc_VERSION = 0.3.2
-LDADD = -lssl -lcrypto -lncurses -lpanel -lform   
-INCLUDES =  
+LDADD = -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -lssl -lcrypto  -L/Volumes/adk/openadk/target_mipsel_uclibc/lib -lncurses -lpanel -lform /Volumes/adk/openadk/target_mipsel_uclibc/usr/lib/libiconv.so -Wl,-rpath -Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -liconv -R/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib 
+INCLUDES = -I/Volumes/adk/openadk/target_mipsel_uclibc/usr/include -I/Volumes/adk/openadk/target_mipsel_uclibc/include
 AM_CFLAGS = -Wall
 tmsnc_SOURCES = misc.c main.c conf.c login.c sig.c menu.c ui.c list.c charset.c core_misc.c core_net.c core_ssl.c core_p2p.c dialog.c filters.c event.c debug.c
 noinst_HEADERS = misc.h main.h conf.h login.h sig.h menu.h ui.h list.h charset.h core_misc.h core_net.h core_ssl.h core_p2p.h core.h dialog.h filters.h event.h
@@ -261,37 +261,37 @@ mostlyclean-compile:
 distclean-compile:
 	-rm -f *.tab.c
 
-include ./$(DEPDIR)/charset.Po
-include ./$(DEPDIR)/conf.Po
-include ./$(DEPDIR)/core_misc.Po
-include ./$(DEPDIR)/core_net.Po
-include ./$(DEPDIR)/core_p2p.Po
-include ./$(DEPDIR)/core_ssl.Po
-include ./$(DEPDIR)/debug.Po
-include ./$(DEPDIR)/dialog.Po
-include ./$(DEPDIR)/event.Po
-include ./$(DEPDIR)/filters.Po
-include ./$(DEPDIR)/list.Po
-include ./$(DEPDIR)/login.Po
-include ./$(DEPDIR)/main.Po
-include ./$(DEPDIR)/menu.Po
-include ./$(DEPDIR)/misc.Po
-include ./$(DEPDIR)/sig.Po
-include ./$(DEPDIR)/ui.Po
+#include ./$(DEPDIR)/charset.Po
+#include ./$(DEPDIR)/conf.Po
+#include ./$(DEPDIR)/core_misc.Po
+#include ./$(DEPDIR)/core_net.Po
+#include ./$(DEPDIR)/core_p2p.Po
+#include ./$(DEPDIR)/core_ssl.Po
+#include ./$(DEPDIR)/debug.Po
+#include ./$(DEPDIR)/dialog.Po
+#include ./$(DEPDIR)/event.Po
+#include ./$(DEPDIR)/filters.Po
+#include ./$(DEPDIR)/list.Po
+#include ./$(DEPDIR)/login.Po
+#include ./$(DEPDIR)/main.Po
+#include ./$(DEPDIR)/menu.Po
+#include ./$(DEPDIR)/misc.Po
+#include ./$(DEPDIR)/sig.Po
+#include ./$(DEPDIR)/ui.Po
 
 .c.o:
-	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
-	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
-#	source='$<' object='$@' libtool=no \
-#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
-#	$(COMPILE) -c $<
+#	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+#	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+#	source='$<' object='$@' libtool=no 
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) 
+	$(COMPILE) -c $<
 
 .c.obj:
-	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
-	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
-#	source='$<' object='$@' libtool=no \
-#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
-#	$(COMPILE) -c `$(CYGPATH_W) '$<'`
+#	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
+#	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+#	source='$<' object='$@' libtool=no 
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) 
+	$(COMPILE) -c `$(CYGPATH_W) '$<'`
 uninstall-info-am:
 
 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)