From 97234026b369080bb1dbe8fcccded988a4d8083f Mon Sep 17 00:00:00 2001
From: Enno Boland <eb@s01.de>
Date: Sun, 16 Nov 2014 22:20:15 +0100
Subject: [PATCH] enca: update to 1.16.

---
 srcpkgs/enca/patches/configure_cross.patch | 19 -------------------
 srcpkgs/enca/template                      |  6 +++---
 2 files changed, 3 insertions(+), 22 deletions(-)
 delete mode 100644 srcpkgs/enca/patches/configure_cross.patch

diff --git a/srcpkgs/enca/patches/configure_cross.patch b/srcpkgs/enca/patches/configure_cross.patch
deleted file mode 100644
index 248015f89f9..00000000000
--- a/srcpkgs/enca/patches/configure_cross.patch
+++ /dev/null
@@ -1,19 +0,0 @@
---- configure.orig	2013-05-26 17:02:23.033985581 +0200
-+++ configure	2013-05-26 17:03:03.482704657 +0200
-@@ -12896,16 +12896,6 @@ _ACEOF
- 
- fi
- 
--
--if test "$prefix" = "NONE"; then
--  LDFLAGS="$LDFLAGS -L$ac_default_prefix/lib"
--  CPPFLAGS="$CPPFLAGS -I$ac_default_prefix/include"
--else
--  LDFLAGS="$LDFLAGS -L$prefix/lib"
--  CPPFLAGS="$CPPFLAGS -I$prefix/include"
--fi
--
--
- case "$target" in
- NONE) yeti_libm_target="$host" ;;
- *) yeti_libm_target="$target" ;;
diff --git a/srcpkgs/enca/template b/srcpkgs/enca/template
index 417b71c882d..92966382d09 100644
--- a/srcpkgs/enca/template
+++ b/srcpkgs/enca/template
@@ -1,6 +1,6 @@
 # Template file for 'enca'
 pkgname=enca
-version=1.15
+version=1.16
 revision=1
 build_style=gnu-configure
 configure_args="--enable-external --disable-static ac_cv_file__dev_random=yes
@@ -12,8 +12,8 @@ short_desc="Extremely Naive Charset Analyser and converter"
 maintainer="Juan RP <xtraeme@gmail.com>"
 homepage="http://cihar.com/software/enca/"
 license="GPL-2"
-distfiles="http://dl.cihar.com/enca/enca-${version}.tar.bz2"
-checksum=bba29ceb57e7989b89a5a28a97573ae55f46b40fb96f18d83a1d08a205752bc6
+distfiles="http://dl.cihar.com/enca/enca-${version}.tar.xz"
+checksum=7c1d785901b19ab78780cd4c87454e69864d45dc99da5164a2c654d5e87be741
 
 pre_build() {
 	# make_hash must be built for the host.