summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorGrey Christoforo2017-08-24 09:37:05 +0100
committerGrey Christoforo2017-08-24 09:37:05 +0100
commita01b2c5141f7a299fec1e176eb2a6b6cc16c6488 (patch)
treed7986ecd0c4cf566dbb8b2c279996181f58404c8 /PKGBUILD
parent04bd8a7a984fb474c8896d7d5fa93a392af99bcf (diff)
downloadaur-a01b2c5141f7a299fec1e176eb2a6b6cc16c6488.tar.gz
fix for glibc no longer having xlocale.h
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 2ac8b69ffc68..6feaa4e1b6bf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=oce
pkgver=0.18.2
-pkgrel=1
+pkgrel=2
pkgdesc="Open CASCADE Community Edition: patches/improvements/experiments contributed by users over the official Open CASCADE library."
url="https://github.com/tpaviot/oce"
arch=('i686' 'x86_64')
@@ -14,6 +14,10 @@ md5sums=('6dfd68e459e2c62387579888a867281f'
'606e400a97d9947459e4de2eca65f04c'
'167a9f5c94a16d7855c3ac99e34a4506')
+prepare() {
+ sed -i 's, #include <xlocale.h>, #include <locale.h>,g' "oce-OCE-${pkgver}/src/Standard/Standard_CLocaleSentry.hxx"
+}
+
build() {
cd oce-OCE-${pkgver}
mkdir -p build