From bdd05a2b1323b4bdfbcaf559e0567a7d09f4837d Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Fri, 10 Sep 2021 23:40:22 +0200 Subject: [PATCH] package/liblinear: bump to version 2.43 - Update hash of COPYRIGHT (update in year: https://github.com/cjlin1/liblinear/commit/65115f742683b21ed10582c1664829e0146fcaec https://github.com/cjlin1/liblinear/commit/acf2f9caf166574a23912fe0e57e16187f74f5a6) - Refresh second patch - Update indentation in hash file (two spaces) Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/liblinear/0002-build-static-lib.patch | 12 +++++++----- package/liblinear/liblinear.hash | 4 ++-- package/liblinear/liblinear.mk | 2 +- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/package/liblinear/0002-build-static-lib.patch b/package/liblinear/0002-build-static-lib.patch index 98657d3c82..f3497b767e 100644 --- a/package/liblinear/0002-build-static-lib.patch +++ b/package/liblinear/0002-build-static-lib.patch @@ -1,18 +1,20 @@ Makefile: add a rule to build a static library Signed-off-by: "Yann E. MORIN" +[Fabrice: update for 2.43] +Signed-off-by: Fabrice Fontaine diff -durN liblinear-1.96.orig/Makefile liblinear-1.96/Makefile --- liblinear-1.96.orig/Makefile 2014-11-15 07:50:23.000000000 +0100 +++ liblinear-1.96/Makefile 2014-12-14 00:23:00.135893956 +0100 @@ -16,6 +16,11 @@ fi; \ - $(CXX) $${SHARED_LIB_FLAG} linear.o tron.o blas/blas.a -o liblinear.so.$(SHVER) + $(CXX) $${SHARED_LIB_FLAG} linear.o newton.o blas/blas.a -o liblinear.so.$(SHVER) +# Keeping blas/blas.a as a pre-requisite, to ensure all .o files are built -+static-lib: linear.o tron.o blas/blas.a -+ $(AR) rcv liblinear.a linear.o tron.o blas/*.o ++static-lib: linear.o newton.o blas/blas.a ++ $(AR) rcv liblinear.a linear.o newton.o blas/*.o + $(RANLIB) liblinear.a + - train: tron.o linear.o train.c blas/blas.a - $(CXX) $(CFLAGS) -o train train.c tron.o linear.o $(LIBS) + train: newton.o linear.o train.c blas/blas.a + $(CXX) $(CFLAGS) -o train train.c newton.o linear.o $(LIBS) diff --git a/package/liblinear/liblinear.hash b/package/liblinear/liblinear.hash index 4430d29989..a714b8bc4e 100644 --- a/package/liblinear/liblinear.hash +++ b/package/liblinear/liblinear.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 881c7039c6cf93119c781fb56263de91617b3eca8c3951f2c19a3797de95c6ac liblinear-2.30.tar.gz -sha256 c366abf1cb3a003d8c6e6d9c111a23c432db1d001294f88d479b70b60d7c0af2 COPYRIGHT +sha256 02bad43d745e2796f39a08ac9d117770e71939ef06b1ee7afc6ab7909e304807 liblinear-2.43.tar.gz +sha256 c5c91211a0edaa4c77e352f6b27a8f9c6768afe27d48176d6094905c534eacb3 COPYRIGHT diff --git a/package/liblinear/liblinear.mk b/package/liblinear/liblinear.mk index 2d0fd0013c..3b137ed518 100644 --- a/package/liblinear/liblinear.mk +++ b/package/liblinear/liblinear.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBLINEAR_VERSION = 2.30 +LIBLINEAR_VERSION = 2.43 LIBLINEAR_SITE = http://www.csie.ntu.edu.tw/~cjlin/liblinear LIBLINEAR_LICENSE = BSD-3-Clause LIBLINEAR_LICENSE_FILES = COPYRIGHT -- 2.30.2