summarylogtreecommitdiffstats
path: root/system-libs.patch
diff options
context:
space:
mode:
authorBioArchLinuxBot2024-02-07 18:01:33 +0000
committerBioArchLinuxBot2024-02-07 18:01:33 +0000
commit3abb6c38cf0d7bac33f583bbe769c1c653a00271 (patch)
tree31e2e72af5e419aa94479406d3dd2175f15b26f1 /system-libs.patch
parent1f3355540a7d454d6ef203782889a4d68209c799 (diff)
downloadaur-3abb6c38cf0d7bac33f583bbe769c1c653a00271.tar.gz
[lilac] updated to 0.16.0-2
Diffstat (limited to 'system-libs.patch')
-rw-r--r--system-libs.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/system-libs.patch b/system-libs.patch
new file mode 100644
index 000000000000..355db6bdda80
--- /dev/null
+++ b/system-libs.patch
@@ -0,0 +1,24 @@
+diff --git a/stringfish/src/Makevars.in b/stringfish/src/Makevars.in
+index 821aaea..891d022 100644
+--- a/stringfish/src/Makevars.in
++++ b/stringfish/src/Makevars.in
+@@ -1,5 +1,5 @@
+ PKG_CPPFLAGS=-DRCPP_USE_UNWIND_PROTECT -DRCPP_NO_RTTI -DPCRE2_CODE_UNIT_WIDTH=8 -DHAVE_CONFIG_H @PCRE2_BUNDLED@ -I. @INCLUDE_PATHS@
+-PKG_LIBS=-lpthread -L. -lSFPCRE2 @ADD_LIBS@ $(shell ${R_HOME}/bin/Rscript -e "RcppParallel::RcppParallelLibs()")
++PKG_LIBS := -lxxhash -lpthread -L. -lSFPCRE2 @ADD_LIBS@ $(shell ${R_HOME}/bin/Rscript -e "RcppParallel::RcppParallelLibs()")
+
+ LIBPCRE2 = PCRE2/pcre2_chartables.o \
+ PCRE2/pcre2_auto_possess.o \
+diff --git a/stringfish/src/sf_functions.cpp b/stringfish/src/sf_functions.cpp
+index 17f545b..a43a87e 100644
+--- a/stringfish/src/sf_functions.cpp
++++ b/stringfish/src/sf_functions.cpp
+@@ -99,7 +99,7 @@ List get_pcre2_info() {
+ #include <unordered_map>
+ #include <fstream>
+
+-#include "xxhash/xxhash.c"
++#include <xxhash.h>
+
+ ////////////////////////////////////////////////////////////////////////////////
+ // iconv helper class