[arch-commits] Commit in lrs/trunk (PKGBUILD lrs-missing-include.patch)

Antonio Rojas arojas at archlinux.org
Thu Jun 4 10:56:13 UTC 2020


    Date: Thursday, June 4, 2020 @ 10:56:12
  Author: arojas
Revision: 638886

Move includes from c to h files to fix compilation of third party programs

Modified:
  lrs/trunk/PKGBUILD
  lrs/trunk/lrs-missing-include.patch

---------------------------+
 PKGBUILD                  |    4 ++--
 lrs-missing-include.patch |   22 ++++++++++++++++++++++
 2 files changed, 24 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-06-04 10:29:55 UTC (rev 638885)
+++ PKGBUILD	2020-06-04 10:56:12 UTC (rev 638886)
@@ -3,7 +3,7 @@
 pkgname=lrs
 pkgver=071
 _pkgver=${pkgver/./}
-pkgrel=2
+pkgrel=3
 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"
@@ -14,7 +14,7 @@
         lrs-missing-include.patch)
 sha256sums=('d3ea5636bfde3011d43c835773fabe131d9251197b6cc666a52d8caa3e1c7816'
             '8e43f9f6c583c653e28b75907f27f616f45f36d6fc677a4aae6a7004d60424c0'
-            '6d5b97457353948c92a67d65288eb6c6492679ec80d3234abe31684d9225925c')
+            '61da0543e92ab242df1d5adcb6bb842a3c489c011c858705278de1c6cf580649')
 
 prepare() {
   cd lrslib-${pkgver%.*}

Modified: lrs-missing-include.patch
===================================================================
--- lrs-missing-include.patch	2020-06-04 10:29:55 UTC (rev 638885)
+++ lrs-missing-include.patch	2020-06-04 10:56:12 UTC (rev 638886)
@@ -9,4 +9,26 @@
  
  install: all-shared install-common
  	mkdir -p $(DESTDIR)${prefix}/bin
+diff --git a/lrslib-071/lrslib.h.orig b/lrslib-071/lrslib.h
+index a2eb4b5..ee48475 100644
+--- lrslib-071/lrslib.h.orig
++++ lrslib-071/lrslib.h
+@@ -148,6 +148,8 @@
  
+ #include ARITH
+ 
++#include "lrsdriver.h"
++
+ #ifndef SIGNALS
+ #include <signal.h>
+ #include <unistd.h>
+--- lrslib-071/lrslib.c.orig    2020-06-04 10:43:56.790948185 +0000
++++ lrslib-071/lrslib.c 2020-06-04 10:44:05.641075898 +0000
+@@ -27,7 +27,6 @@
+ #include <string.h>
+ #include <setjmp.h>
+ #include <limits.h>
+-#include "lrsrestart.h"
+ #include "lrslib.h"
+ 
+ static unsigned long dict_count, dict_limit, cache_tries, cache_misses;



More information about the arch-commits mailing list