Merge pull request #247136 from xfix/flips-2023-03-15

flips: unstable-2021-10-28 -> unstable-2023-03-15
This commit is contained in:
Weijia Wang 2023-08-05 00:07:22 +02:00 committed by GitHub
commit 18036c0be9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

View file

@ -2,13 +2,13 @@
stdenv.mkDerivation {
pname = "flips";
version = "unstable-2021-10-28";
version = "unstable-2023-03-15";
src = fetchFromGitHub {
owner = "Alcaro";
repo = "Flips";
rev = "3a8733e74c9bdbb6b89da2b45913a0be3d0e1866";
sha256 = "1jik580mz2spik5mgh60h93ryaj5x8dffncnr1lwija0v803xld7";
rev = "fdd5c6e34285beef5b9be759c9b91390df486c66";
hash = "sha256-uuHgpt7aWqiMTUILm5tAEGGeZrls3g/DdylYQgsfpTw=";
};
nativeBuildInputs = [ pkg-config wrapGAppsHook ];

View file

@ -1,12 +1,12 @@
diff --git a/Makefile b/Makefile
index c9d8b6d..9d66b0b 100644
index b3d5aeb..a5acc08 100644
--- a/Makefile
+++ b/Makefile
@@ -79,9 +79,7 @@ endif
@@ -83,9 +83,7 @@ endif
MOREFLAGS := $(CFLAGS_$(TARGET))
-DIVSUF := libdivsufsort-2.0.1
-DIVSUF := $(SRCDIR)/libdivsufsort-2.0.1
-SOURCES += $(DIVSUF)/lib/divsufsort.c $(DIVSUF)/lib/sssort.c $(DIVSUF)/lib/trsort.c
-MOREFLAGS += -I$(DIVSUF)/include -DHAVE_CONFIG_H -D__STDC_FORMAT_MACROS
+MOREFLAGS += -ldivsufsort