From ffb692bf2696e7ebedd19bcd55ba253e21cb732d Mon Sep 17 00:00:00 2001 From: root Date: Mon, 6 May 2013 00:09:00 -0700 Subject: Mon May 6 00:08:59 PDT 2013 --- .../xml2/01_use_libxml2_instead_of_libxml.patch | 70 ---------------------- community/xml2/PKGBUILD | 18 +++--- 2 files changed, 9 insertions(+), 79 deletions(-) delete mode 100644 community/xml2/01_use_libxml2_instead_of_libxml.patch (limited to 'community/xml2') diff --git a/community/xml2/01_use_libxml2_instead_of_libxml.patch b/community/xml2/01_use_libxml2_instead_of_libxml.patch deleted file mode 100644 index 975060ed3..000000000 --- a/community/xml2/01_use_libxml2_instead_of_libxml.patch +++ /dev/null @@ -1,70 +0,0 @@ -#! /bin/sh /usr/share/dpatch/dpatch-run -## 01_use_libxml2_instead_of_libxml.dpatch by Daniel Leidert -## -## -## DP: Make use of libxml2 instead of libxml - -@DPATCH@ -diff -urNad xml2-0.4~/2xml.c xml2-0.4/2xml.c ---- xml2-0.4~/2xml.c 2003-12-24 21:28:48.000000000 +0100 -+++ xml2-0.4/2xml.c 2008-03-12 09:32:17.345380803 +0100 -@@ -24,7 +24,7 @@ - #include - #include - --#include -+#include - - int do_html; - int in_tag = 0; -@@ -104,7 +104,7 @@ - fputs("/>",stdout); - else { - const htmlElemDesc *elem = NULL; -- if (do_html) elem = htmlTagLookup(name); -+ if (do_html) elem = htmlTagLookup((xmlChar *) name); - finish_tag(); - if (NULL == elem || (!elem->endTag && !elem->empty)) { - fputs(" - #include - --#include --#include -+#include -+#include - - struct node - { diff --git a/community/xml2/PKGBUILD b/community/xml2/PKGBUILD index ab1fdd7fc..75cc5d49d 100644 --- a/community/xml2/PKGBUILD +++ b/community/xml2/PKGBUILD @@ -1,27 +1,27 @@ -# $Id: PKGBUILD 55027 2011-08-31 14:49:55Z spupykin $ +# $Id: PKGBUILD 89943 2013-05-05 21:39:24Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: Orivej Desh # Maintainer: Orivej Desh pkgname=xml2 -pkgver=0.4 -pkgrel=2 +pkgver=0.5 +pkgrel=1 pkgdesc="XML/Unix Processing Tools to convert XML and HTML to and from a line-oriented format more amenable to processing by classic Unix pipeline processing tools" arch=("i686" "x86_64") url="http://www.ofb.net/~egnor/xml2/" license=("GPL") depends=("libxml2") -source=("http://download.ofb.net/gale/$pkgname-$pkgver.tar.gz" - "01_use_libxml2_instead_of_libxml.patch") -md5sums=('8a0ef16fe0b3e1495307318c590c1ec0' - '9e810be33d2abbc8aabd8203db1f9654') +source=("http://download.ofb.net/gale/$pkgname-$pkgver.tar.gz") +md5sums=('48eacf64b01ca3a4a5afb1a36f5906e6') build() { cd "$srcdir/$pkgname-$pkgver" - patch -Np1 -i ../01_use_libxml2_instead_of_libxml.patch - autoreconf ./configure --prefix=/usr make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir" install cd "$pkgdir/usr/bin" rm html2 2html -- cgit v1.2.3-54-g00ecf