+++ /dev/null
-Index: minicom-2.1/configure.in
-===================================================================
---- minicom-2.1.orig/configure.in 2003-04-29 21:08:25.000000000 +0000
-+++ minicom-2.1/configure.in 2005-07-04 19:03:32.000000000 +0000
-@@ -231,9 +231,9 @@
- AC_HEADER_STAT
- AC_HEADER_TIME
-
--AM_SYS_POSIX_TERMIOS
-+AC_SYS_POSIX_TERMIOS
- AM_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL
--if test $am_cv_sys_posix_termios = yes; then
-+if test $ac_cv_sys_posix_termios = yes; then
- AC_DEFINE(POSIX_TERMIOS)
- fi
-
-@@ -253,7 +253,7 @@
-
- dnl Checks for library functions.
- AC_TYPE_SIGNAL
--AM_FUNC_ERROR_AT_LINE
-+AC_FUNC_ERROR_AT_LINE
- AC_FUNC_CLOSEDIR_VOID
- AM_WITH_DMALLOC
- AC_CHECK_FUNCS(getcwd getwd strerror strstr vsnprintf vprintf)
--- /dev/null
+--- minicom-2.3/src/minicom.c-orig 2009-06-08 14:49:07.000000000 +0200
++++ minicom-2.3/src/minicom.c 2009-06-08 14:50:23.000000000 +0200
+@@ -63,6 +63,10 @@
+ }
+ #endif /*DEBUG*/
+
++#ifdef __USE_GNU
++#define getline minicom_getline
++#endif
++
+ /*
+ * Sub - menu's.
+ */
+++ /dev/null
-SECTION = "console/network"
-DEPENDS = "ncurses"
-LICENSE = "GPL"
-SRC_URI = "http://alioth.debian.org/download.php/123/minicom-${PV}.tar.gz \
- file://configure.patch;patch=1 \
- file://gcc4-scope.patch;patch=1"
-
-inherit autotools gettext
-
-do_install() {
- for d in doc extras man intl lib src; do make -C $d DESTDIR=${D} install; done
-}
--- /dev/null
+SECTION = "console/network"
+DEPENDS = "ncurses"
+LICENSE = "GPL"
+SRC_URI = "http://alioth.debian.org/frs/download.php/2332/minicom-${PV}.tar.gz \
+ file://rename-conflicting-functions.patch \
+ "
+
+# file://gcc4-scope.patch;patch=1 \
+
+inherit autotools gettext
+
+do_install() {
+ for d in doc extras man lib src; do make -C $d DESTDIR=${D} install; done
+}
+
+SRC_URI[md5sum] = "0ebe7a91898384ca906787cc4e2c3f25"
+SRC_URI[sha256sum] = "2acbc3d4a07e1134ee285a72fa44bbc27703b02dba02be68db9e6fd8320356fb"