diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-01-08 03:41:42 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-01-08 03:41:42 +0000 |
commit | 3092fe0e20f490a5f9b8b9602ffc039a22be60c0 (patch) | |
tree | ca5296f2b482de6c3889b3d2721dda0ae342eaee /community/lz4 | |
parent | bd5b8fe0fe2355ad0df744ed310d12b8a70c51f9 (diff) |
Wed Jan 8 03:37:02 UTC 2014
Diffstat (limited to 'community/lz4')
-rw-r--r-- | community/lz4/01-fix-include.patch | 11 | ||||
-rw-r--r-- | community/lz4/PKGBUILD | 16 |
2 files changed, 23 insertions, 4 deletions
diff --git a/community/lz4/01-fix-include.patch b/community/lz4/01-fix-include.patch new file mode 100644 index 000000000..960fb3674 --- /dev/null +++ b/community/lz4/01-fix-include.patch @@ -0,0 +1,11 @@ +--- a/programs/Makefile 2014-01-07 22:03:45.197517981 +0100 ++++ b/programs/Makefile 2014-01-07 22:03:43.126477362 +0100 +@@ -34,7 +34,7 @@ + DESTDIR= + PREFIX=/usr + CC=gcc +-CFLAGS+= -I. -std=c99 -Wall -W -Wundef -DLZ4_VERSION=\"$(RELEASE)\" ++CFLAGS+= -I.. -std=c99 -Wall -W -Wundef -DLZ4_VERSION=\"$(RELEASE)\" + + BINDIR=$(PREFIX)/bin + MANDIR=$(PREFIX)/share/man/man1 diff --git a/community/lz4/PKGBUILD b/community/lz4/PKGBUILD index 0fc508a3f..748e8a8bd 100644 --- a/community/lz4/PKGBUILD +++ b/community/lz4/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 103238 2013-12-30 22:18:53Z seblu $ +# $Id: PKGBUILD 103558 2014-01-07 22:36:39Z seblu $ # Maintainer: Sébastien Luttringer # Contacted by mail, author use svn commit as release version. # He only push tested release code into svn and support using revision as version pkgname=lz4 -pkgver=110 +pkgver=111 pkgrel=1 pkgdesc='Very fast lossless compression algorithm' arch=('i686' 'x86_64') @@ -13,12 +13,20 @@ url='https://code.google.com/p/lz4/' license=('GPL2') makedepends=('svn') depends=('glibc') -source=("$pkgname::svn+http://lz4.googlecode.com/svn/trunk/#revision=$pkgver") -md5sums=('SKIP') +source=("$pkgname::svn+http://lz4.googlecode.com/svn/trunk/#revision=$pkgver" + '01-fix-include.patch') +md5sums=('SKIP' + '522618c085bb30924f540c3b2c18a7e4') + +prepare() { + patch -d $pkgname -p 1 < 01-fix-include.patch +} build() { cd $pkgname make + cd programs + make } package() { |