Created
May 12, 2016 10:40
-
-
Save flungo/61bcbad70fea5d0ff5542370bf3ccf68 to your computer and use it in GitHub Desktop.
Patch for 'gringo' Arch AUR Package (https://aur.archlinux.org/packages/gringo/) adding missing import.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 27017125a5c4ede839e5b5f29f680bc96d6992a2 Mon Sep 17 00:00:00 2001 | |
From: Fabrizio Lungo <[email protected]> | |
Date: Thu, 12 May 2016 11:36:28 +0100 | |
Subject: [PATCH] Added patch for missing cmath import | |
Signed-off-by: Fabrizio Lungo <[email protected]> | |
--- | |
PKGBUILD | 13 ++++++++++--- | |
1 file changed, 10 insertions(+), 3 deletions(-) | |
diff --git a/PKGBUILD b/PKGBUILD | |
index 6f1b859..14fc574 100644 | |
--- a/PKGBUILD | |
+++ b/PKGBUILD | |
@@ -9,12 +9,19 @@ arch=('x86_64' 'i686' 'armv6h' 'armv7h') | |
url="http://potassco.sourceforge.net/" | |
license=('GPL3') | |
depends=() | |
-makedepends=('bison' 're2c' 'scons') | |
+makedepends=('patch' 'bison' 're2c' 'scons') | |
source=( | |
- "http://downloads.sourceforge.net/project/potassco/${pkgname}/${pkgver}/${pkgname}-${pkgver}-source.tar.gz") | |
-sha1sums=(5eb5e077cf9e1a87baf2c18322e431158090d656) | |
+ "http://downloads.sourceforge.net/project/potassco/${pkgname}/${pkgver}/${pkgname}-${pkgver}-source.tar.gz" | |
+ "https://sourceforge.net/p/potassco/bugs/_discuss/thread/5d530430/4fdf/attachment/include-math.patch.0" | |
+) | |
+sha1sums=( | |
+ 5eb5e077cf9e1a87baf2c18322e431158090d656 | |
+ 52a073676bbf22859cc3f4566f5c2765f3a07876 | |
+) | |
+ | |
build() { | |
cd "${srcdir}/${pkgname}-${pkgver}-source" | |
+ patch -p0 < "${srcdir}/include-math.patch.0" | |
scons --build-dir=release ${pkgname} | |
} | |
-- | |
2.8.2 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment