summaryrefslogtreecommitdiff
path: root/meta/packages/libetpan/files
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/libetpan/files')
-rw-r--r--meta/packages/libetpan/files/cxx-is-here.patch18
-rw-r--r--meta/packages/libetpan/files/honor-oe-lflags.patch16
2 files changed, 18 insertions, 16 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 000000000..d910daab1
--- /dev/null
+++ b/meta/packages/libetpan/files/cxx-is-here.patch
@@ -0,0 +1,18 @@
+---
+ configure.ac | 1 +
+ 1 file changed, 1 insertion(+)
+
+--- libetpan-0.54.orig/configure.ac
++++ libetpan-0.54/configure.ac
+@@ -104,10 +104,11 @@ if test "$have_w32_system" = yes; then
+ fi
+ AM_CONDITIONAL(HAVE_MINGW32_SYSTEM, test "$have_w32_system" = yes)
+
+ # Check the C compiler.
+ AC_PROG_CC
++AC_PROG_CXX
+
+ # Compiler flags.
+ AC_ARG_ENABLE(debug, [ --enable-debug setup flags (gcc) for debugging (default=no)],
+ if test "x$GCC" = xyes; then
+ 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 15a1535bf..000000000
--- a/meta/packages/libetpan/files/honor-oe-lflags.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-
-#
-# Signed off by Michael 'Mickey' Lauer <mickey@Vanille.de>
-#
-
---- libetpan-0.46/configure.in~honor-oe-lflags
-+++ libetpan-0.46/configure.in
-@@ -361,7 +361,7 @@
- LDFLAGS="-$flag $LDFLAGS"
- AC_TRY_LINK([], [pthread_create();],
- [pthflag=yes; checkpthread=no],
-- [pthflag=no; LDFLAGS="$OLDCFLAGS"])
-+ [pthflag=no; LDFLAGS="$OLDFLAGS"])
- AC_MSG_RESULT($pthflag)
- fi
- done