summaryrefslogtreecommitdiff
path: root/extra/yasm/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/yasm/PKGBUILD')
-rw-r--r--extra/yasm/PKGBUILD10
1 files changed, 8 insertions, 2 deletions
diff --git a/extra/yasm/PKGBUILD b/extra/yasm/PKGBUILD
index 82d89ac53..7293c27b4 100644
--- a/extra/yasm/PKGBUILD
+++ b/extra/yasm/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 197451 2013-10-26 06:45:33Z eric $
+# $Id: PKGBUILD 206072 2014-02-17 01:23:38Z eric $
# Maintainer: Eric BĂ©langer <eric@archlinux.org>
pkgname=yasm
pkgver=1.2.0
-pkgrel=3
+pkgrel=4
pkgdesc="A rewrite of NASM to allow for multiple syntax supported (NASM, TASM, GAS, etc.)"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.tortall.net/projects/yasm/"
@@ -13,6 +13,12 @@ options=('staticlibs')
source=(http://www.tortall.net/projects/yasm/releases/${pkgname}-${pkgver}.tar.gz)
sha1sums=('773d28f27f83c44ac35079add0d3167ca6c1def8')
+prepare() {
+ cd ${pkgname}-${pkgver}
+# FS#38940
+ sed -i 's/#define NHASH 31/#define NHASH 4096/' modules/preprocs/nasm/nasm-pp.c
+}
+
build() {
cd ${pkgname}-${pkgver}
./configure --prefix=/usr