Date: Thursday, June 4, 2020 @ 10:29:04 Author: arojas Revision: 638884
Install missing include Added: lrs/trunk/lrs-missing-include.patch Modified: lrs/trunk/PKGBUILD ---------------------------+ PKGBUILD | 9 ++++++--- lrs-missing-include.patch | 12 ++++++++++++ 2 files changed, 18 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-06-04 10:11:28 UTC (rev 638883) +++ PKGBUILD 2020-06-04 10:29:04 UTC (rev 638884) @@ -3,7 +3,7 @@ pkgname=lrs pkgver=071 _pkgver=${pkgver/./} -pkgrel=1 +pkgrel=2 pkgdesc="C implementation of the reverse search algorithm for vertex enumeration/convex hull problems" arch=(x86_64) url="http://cgm.cs.mcgill.ca/~avis/C/lrs.html" @@ -10,13 +10,16 @@ license=(GPL) depends=(gmp) source=("http://cgm.cs.mcgill.ca/~avis/C/lrslib/archive/lrslib-$_pkgver.tar.gz" - lrs-system-cflags.patch) + lrs-system-cflags.patch + lrs-missing-include.patch) sha256sums=('d3ea5636bfde3011d43c835773fabe131d9251197b6cc666a52d8caa3e1c7816' - '8e43f9f6c583c653e28b75907f27f616f45f36d6fc677a4aae6a7004d60424c0') + '8e43f9f6c583c653e28b75907f27f616f45f36d6fc677a4aae6a7004d60424c0' + '6d5b97457353948c92a67d65288eb6c6492679ec80d3234abe31684d9225925c') prepare() { cd lrslib-${pkgver%.*} patch -p1 -i ../lrs-system-cflags.patch # Use system CFLAGS/LDFLAGS + patch -p1 -i ../lrs-missing-include.patch # Install missing header } build() { Added: lrs-missing-include.patch =================================================================== --- lrs-missing-include.patch (rev 0) +++ lrs-missing-include.patch 2020-06-04 10:29:04 UTC (rev 638884) @@ -0,0 +1,12 @@ +--- lrslib-071/makefile.orig 2020-06-04 09:58:02.217703517 +0000 ++++ lrslib-071/makefile 2020-06-04 09:59:20.505523290 +0000 +@@ -239,7 +239,7 @@ + # install targets + # where to install binaries, libraries, include files + prefix ?= /usr/local +-INSTALL_INCLUDES=lrslib.h lrsdriver.h lrsgmp.h lrslong.h lrsmp.h ++INSTALL_INCLUDES=lrslib.h lrsdriver.h lrsgmp.h lrslong.h lrsmp.h lrsrestart.h + + install: all-shared install-common + mkdir -p $(DESTDIR)${prefix}/bin +