From 5df69538683899016c99bc52343036994097b734 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sun, 18 Nov 2007 00:01:11 +0000 Subject: gnutls: Add patch to fix bogus -L and -I compiler options being used (from poky) --- packages/gnutls/gnutls.inc | 3 ++- packages/gnutls/gnutls/configure_madness.patch | 22 ++++++++++++++++++++++ packages/gnutls/gnutls_1.6.3.bb | 2 +- 3 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 packages/gnutls/gnutls/configure_madness.patch (limited to 'packages/gnutls') diff --git a/packages/gnutls/gnutls.inc b/packages/gnutls/gnutls.inc index ab5ba1d1d0..2211d5f798 100644 --- a/packages/gnutls/gnutls.inc +++ b/packages/gnutls/gnutls.inc @@ -6,7 +6,8 @@ LICENSE = "LGPL" SRC_URI = "ftp://ftp.gnutls.org/pub/gnutls/gnutls-${PV}.tar.bz2 \ file://gnutls-openssl.patch;patch=1 \ - file://gnutls-texinfo-euro.patch;patch=1" + file://gnutls-texinfo-euro.patch;patch=1 \ + file://configure_madness.patch;patch=1 " inherit autotools binconfig pkgconfig diff --git a/packages/gnutls/gnutls/configure_madness.patch b/packages/gnutls/gnutls/configure_madness.patch new file mode 100644 index 0000000000..26111dfe96 --- /dev/null +++ b/packages/gnutls/gnutls/configure_madness.patch @@ -0,0 +1,22 @@ +Index: gnutls-1.6.3/configure.in +=================================================================== +--- gnutls-1.6.3.orig/configure.in 2007-05-25 12:28:59.000000000 +0000 ++++ gnutls-1.6.3/configure.in 2007-11-13 17:53:23.000000000 +0000 +@@ -574,13 +574,13 @@ + AC_LIBTOOL_WIN32_DLL + AC_PROG_LIBTOOL + +-LIBGNUTLS_LIBS="-L${libdir} -lgnutls $LIBTASN1_LIBS $LIBGCRYPT_LIBS $LIBS" +-LIBGNUTLS_CFLAGS="$LIBGCRYPT_CFLAGS $LIBTASN1_CFLAGS -I${includedir}" ++LIBGNUTLS_LIBS="-lgnutls $LIBTASN1_LIBS $LIBGCRYPT_LIBS $LIBS" ++LIBGNUTLS_CFLAGS="$LIBGCRYPT_CFLAGS $LIBTASN1_CFLAGS" + AC_SUBST(LIBGNUTLS_LIBS) + AC_SUBST(LIBGNUTLS_CFLAGS) + +-LIBGNUTLS_EXTRA_LIBS="-L${libdir} -lgnutls-extra $LIBOPENCDK_LIBS $LZO_LIBS $LIBGNUTLS_LIBS" +-LIBGNUTLS_EXTRA_CFLAGS="$LIBOPENCDK_CFLAGS -I${includedir}" ++LIBGNUTLS_EXTRA_LIBS="-lgnutls-extra $LIBOPENCDK_LIBS $LZO_LIBS $LIBGNUTLS_LIBS" ++LIBGNUTLS_EXTRA_CFLAGS="$LIBOPENCDK_CFLAGS" + AC_SUBST(LIBGNUTLS_EXTRA_LIBS) + AC_SUBST(LIBGNUTLS_EXTRA_CFLAGS) + export ac_full diff --git a/packages/gnutls/gnutls_1.6.3.bb b/packages/gnutls/gnutls_1.6.3.bb index 6e0f6000d3..a5b5341156 100644 --- a/packages/gnutls/gnutls_1.6.3.bb +++ b/packages/gnutls/gnutls_1.6.3.bb @@ -1,2 +1,2 @@ require gnutls.inc -PR = "r2" +PR = "r3" -- cgit v1.2.3