From 02c35cbf6612509ba819710882ed5f3789c715fd Mon Sep 17 00:00:00 2001
From: Jamie Lenehan <lenehan@twibble.org>
Date: Wed, 8 Aug 2007 11:47:45 +0000
Subject: p3scan 2.9.05d: Fix up configure.in to work with the recently updated
 m4/autotools. It wasn't happy about the lack of a new line at the end of
 configure.in.

---
 packages/p3scan/files/configure.in-add-newline.patch | 14 ++++++++++++++
 packages/p3scan/p3scan_2.9.05d.bb                    |  3 ++-
 2 files changed, 16 insertions(+), 1 deletion(-)
 create mode 100644 packages/p3scan/files/configure.in-add-newline.patch

diff --git a/packages/p3scan/files/configure.in-add-newline.patch b/packages/p3scan/files/configure.in-add-newline.patch
new file mode 100644
index 0000000000..0b1ff182e6
--- /dev/null
+++ b/packages/p3scan/files/configure.in-add-newline.patch
@@ -0,0 +1,14 @@
+Recent autotools/m4 updates don't like configure.in files without a newline
+at the end. Fix this up.
+
+Index: p3scan-2.9.05d/configure.in
+===================================================================
+--- p3scan-2.9.05d.orig/configure.in	2007-08-08 21:39:49.000000000 +1000
++++ p3scan-2.9.05d/configure.in	2007-08-08 21:39:49.000000000 +1000
+@@ -456,4 +456,4 @@
+ echo "Please consider donating to this project at http://p3scan.sourceforge.net"
+ echo "Mahalo Nui Loa and Enjoy!"
+ echo
+-#EOF
+\ No newline at end of file
++#EOF
diff --git a/packages/p3scan/p3scan_2.9.05d.bb b/packages/p3scan/p3scan_2.9.05d.bb
index 328ae6ede0..38739341e6 100644
--- a/packages/p3scan/p3scan_2.9.05d.bb
+++ b/packages/p3scan/p3scan_2.9.05d.bb
@@ -6,11 +6,12 @@ SECTION = "network"
 LICENSE = "GPLv2"
 DEPENDS = "gmp bzip2 zlib clamav openssl"
 RDEPENDS_${PN} = "${PN}-templates-en"
-PR = "r2"
+PR = "r3"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/p3scan/p3scan-2.9.05d.tar.gz \
            file://libtool-fix.patch;patch=1 \
            file://dont-search-use-include.patch;patch=1 \
+           file://configure.in-add-newline.patch;patch=1 \
            file://p3scan.init \
            file://p3scan.conf \
            file://doc.configure.txt \
-- 
cgit v1.2.3