summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/packages/libetpan/files/cxx-is-here.patch18
-rw-r--r--meta/packages/libetpan/files/honor-oe-lflags.patch16
-rw-r--r--meta/packages/libetpan/libetpan_0.54.bb (renamed from meta/packages/libetpan/libetpan_0.48.bb)5
3 files changed, 20 insertions, 19 deletions
diff --git a/meta/packages/libetpan/files/cxx-is-here.patch b/meta/packages/libetpan/files/cxx-is-here.patch
new file mode 100644
index 0000000000..d910daab17
--- /dev/null
+++ b/meta/packages/libetpan/files/cxx-is-here.patch
@@ -0,0 +1,18 @@
1---
2 configure.ac | 1 +
3 1 file changed, 1 insertion(+)
4
5--- libetpan-0.54.orig/configure.ac
6+++ libetpan-0.54/configure.ac
7@@ -104,10 +104,11 @@ if test "$have_w32_system" = yes; then
8 fi
9 AM_CONDITIONAL(HAVE_MINGW32_SYSTEM, test "$have_w32_system" = yes)
10
11 # Check the C compiler.
12 AC_PROG_CC
13+AC_PROG_CXX
14
15 # Compiler flags.
16 AC_ARG_ENABLE(debug, [ --enable-debug setup flags (gcc) for debugging (default=no)],
17 if test "x$GCC" = xyes; then
18 CFLAGS="$CFLAGS -O2 -g"
diff --git a/meta/packages/libetpan/files/honor-oe-lflags.patch b/meta/packages/libetpan/files/honor-oe-lflags.patch
deleted file mode 100644
index 15a1535bfa..0000000000
--- a/meta/packages/libetpan/files/honor-oe-lflags.patch
+++ /dev/null
@@ -1,16 +0,0 @@
1
2#
3# Signed off by Michael 'Mickey' Lauer <mickey@Vanille.de>
4#
5
6--- libetpan-0.46/configure.in~honor-oe-lflags
7+++ libetpan-0.46/configure.in
8@@ -361,7 +361,7 @@
9 LDFLAGS="-$flag $LDFLAGS"
10 AC_TRY_LINK([], [pthread_create();],
11 [pthflag=yes; checkpthread=no],
12- [pthflag=no; LDFLAGS="$OLDCFLAGS"])
13+ [pthflag=no; LDFLAGS="$OLDFLAGS"])
14 AC_MSG_RESULT($pthflag)
15 fi
16 done
diff --git a/meta/packages/libetpan/libetpan_0.48.bb b/meta/packages/libetpan/libetpan_0.54.bb
index dfef3b19c6..0e2c5ab81a 100644
--- a/meta/packages/libetpan/libetpan_0.48.bb
+++ b/meta/packages/libetpan/libetpan_0.54.bb
@@ -2,12 +2,11 @@ DESCRIPTION = "libetpan is a library for communicating with mail and news server
2It supports the protocols SMTP, POP3, IMAP and NNTP." 2It supports the protocols SMTP, POP3, IMAP and NNTP."
3HOMEPAGE = "http://www.etpan.org" 3HOMEPAGE = "http://www.etpan.org"
4SECTION = "libs" 4SECTION = "libs"
5DEPENDS = "gnutls" 5DEPENDS = "curl expat gnutls"
6LICENSE = "BSD" 6LICENSE = "BSD"
7PR = "r0"
8 7
9SRC_URI = "${SOURCEFORGE_MIRROR}/libetpan/libetpan-${PV}.tar.gz \ 8SRC_URI = "${SOURCEFORGE_MIRROR}/libetpan/libetpan-${PV}.tar.gz \
10 file://honor-oe-lflags.patch;patch=1" 9 file://cxx-is-here.patch"
11 10
12inherit autotools pkgconfig gettext binconfig 11inherit autotools pkgconfig gettext binconfig
13 12