[arch-commits] Commit in lrs/trunk (3 files)

Antonio Rojas arojas at archlinux.org
Fri Jun 4 15:00:00 UTC 2021


    Date: Friday, June 4, 2021 @ 15:00:00
  Author: arojas
Revision: 955917

Update to 071b

Modified:
  lrs/trunk/PKGBUILD
  lrs/trunk/lrs-system-cflags.patch
Deleted:
  lrs/trunk/lrs-missing-include.patch

---------------------------+
 PKGBUILD                  |   17 +++++++----------
 lrs-missing-include.patch |   34 ----------------------------------
 lrs-system-cflags.patch   |   22 ++++++++++------------
 3 files changed, 17 insertions(+), 56 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-06-04 11:39:12 UTC (rev 955916)
+++ PKGBUILD	2021-06-04 15:00:00 UTC (rev 955917)
@@ -1,25 +1,22 @@
 # Maintainer: Antonio Rojas <arojas at archlinux.org>
 
 pkgname=lrs
-pkgver=071.a
+pkgver=071.b
 _pkgver=${pkgver/./}
 pkgrel=1
-pkgdesc="C implementation of the reverse search algorithm for vertex enumeration/convex hull problems"
+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"
+url='http://cgm.cs.mcgill.ca/~avis/C/lrs.html'
 license=(GPL)
 depends=(gmp)
-source=("http://cgm.cs.mcgill.ca/~avis/C/lrslib/archive/lrslib-$_pkgver.tar.gz"
-        lrs-system-cflags.patch
-        lrs-missing-include.patch)
-sha256sums=('926636ea68de46625f141f6e025dce967cc7e68cf4bf4a597375c063f5c11673'
-            '8e43f9f6c583c653e28b75907f27f616f45f36d6fc677a4aae6a7004d60424c0'
-            '61da0543e92ab242df1d5adcb6bb842a3c489c011c858705278de1c6cf580649')
+source=(http://cgm.cs.mcgill.ca/~avis/C/lrslib/archive/lrslib-$_pkgver.tar.gz
+        lrs-system-cflags.patch)
+sha256sums=('df22682cd742315fe04f866cfe4804d5950f7dc7f514d5b5f36f5b7f5aff9188'
+            '617ed06ae2584ef3349a3b1f6ab1a4acd11f18211394458498e1223a65bb0e73')
 
 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() {

Deleted: lrs-missing-include.patch
===================================================================
--- lrs-missing-include.patch	2021-06-04 11:39:12 UTC (rev 955916)
+++ lrs-missing-include.patch	2021-06-04 15:00:00 UTC (rev 955917)
@@ -1,34 +0,0 @@
---- 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
-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;

Modified: lrs-system-cflags.patch
===================================================================
--- lrs-system-cflags.patch	2021-06-04 11:39:12 UTC (rev 955916)
+++ lrs-system-cflags.patch	2021-06-04 15:00:00 UTC (rev 955917)
@@ -1,6 +1,6 @@
 --- lrslib-071/makefile.orig	2020-06-04 09:58:02.217703517 +0000
 +++ lrslib-071/makefile	2020-06-04 09:59:20.505523290 +0000
-@@ -32,10 +32,9 @@
+@@ -32,8 +32,8 @@
  #LIBDIR     = /usr/lib
  
  #Kyoto machines usage
@@ -9,11 +9,9 @@
 +INCLUDEDIR = /usr/include
 +LIBDIR     = /usr/lib
  
--CFLAGS     = -O3 -Wall 
+ CFLAGS     ?= -O3 -Wall
  #CFLAGS     = -g -Wall 
- 
- #use this if you want only output file contain data between begin/end lines
-@@ -194,7 +193,7 @@
+@@ -228,7 +228,7 @@
  # Building (linking) the shared library, and relevant symlinks.
  
  ${SHLIB}: ${SHLIBOBJ}
@@ -22,17 +20,17 @@
  
  ${SONAME}: ${SHLIB}
  	ln -sf ${SHLIB} ${SONAME}
-@@ -207,11 +206,11 @@
+@@ -241,11 +240,11 @@
  all-shared: ${SHLIBBIN}
  
- lrs-shared: ${SHLINK} lrs.o
--	$(CC) lrs.o -o $@ -L . -llrs
-+	$(CC) lrs.o -o $@ -L . -llrs ${LDFLAGS}
+ lrs-shared: ${SHLINK} lrs-shared.o
+-	$(CC) $^ -o $@ -L . -llrs
++	$(CC) $^ -o $@ -L . -llrs ${LDFLAGS}
  
  
  lrsnash-shared: ${SHLINK}  lrsnash.c
--	$(CC) -DGMP -DMA lrsnash.c  lrsnashlib.c -I${INCLUDEDIR} -o $@ -L . -llrs -lgmp
-+	$(CC) -DGMP -DMA lrsnash.c  lrsnashlib.c -I${INCLUDEDIR} -o $@ -L . -llrs -lgmp ${LDFLAGS}
+-	$(CC) ${CFLAGS} -DGMP -DMA lrsnash.c  lrsnashlib.c -I${INCLUDEDIR} -o $@ -L . -llrs -lgmp
++	$(CC) ${CFLAGS} -DGMP -DMA lrsnash.c  lrsnashlib.c -I${INCLUDEDIR} -o $@ -L . -llrs -lgmp ${LDFLAGS}
  
- # build object files for the shared library
+ # driver object files
  



More information about the arch-commits mailing list