diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2016-04-10 12:32:20 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-04-12 17:34:23 +0700 |
commit | 638f131d47e1e74211567f85cba240f36de06c23 (patch) | |
tree | badc1c93b9cfcfffd5a078b70569a3c56f316550 /academic/lpsolve/lpsolve.SlackBuild | |
parent | ea83d28f913d9689959dea5ef7ba98938bbf6047 (diff) | |
download | slackbuilds-638f131d47e1e74211567f85cba240f36de06c23.tar.gz |
academic/lpsolve: Patched to fix build failure.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'academic/lpsolve/lpsolve.SlackBuild')
-rw-r--r-- | academic/lpsolve/lpsolve.SlackBuild | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/academic/lpsolve/lpsolve.SlackBuild b/academic/lpsolve/lpsolve.SlackBuild index 803aee77d6..db41bbddba 100644 --- a/academic/lpsolve/lpsolve.SlackBuild +++ b/academic/lpsolve/lpsolve.SlackBuild @@ -62,14 +62,18 @@ cd $TMP rm -rf lp_solve_5.5 tar xvf $CWD/lp_solve_5.5.2.0_source.tar.gz cd lp_solve_5.5 -patch -Np1 -i $CWD/cflags.patch - chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +patch -Np1 -i $CWD/cflags.patch + +# Thanks to Fedora for the isnan fix +# http://pkgs.fedoraproject.org/cgit/rpms/lpsolve.git/commit/?h=f24 +patch -Np1 -i $CWD/lpsolve-5.5.2.0.defines.patch CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" |