aboutsummaryrefslogtreecommitdiffstats
path: root/testing/nix/libboost_context-mt.patch
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2018-10-11 02:30:47 +0200
committerJakub Jirutka <jakub@jirutka.cz>2018-10-11 02:33:24 +0200
commit16fdfc62d0fff4f5f155681cf1c48f7bd8ea4628 (patch)
treef85586d4eb8eb86e1a8eda6260827dc5f18e149f /testing/nix/libboost_context-mt.patch
parent3018d94db569948a6a070ca0c1c20e254f820513 (diff)
downloadaports-16fdfc62d0fff4f5f155681cf1c48f7bd8ea4628.tar.bz2
aports-16fdfc62d0fff4f5f155681cf1c48f7bd8ea4628.tar.xz
testing/nix: new aport
https://nixos.org/nix/ The purely functional package manager
Diffstat (limited to 'testing/nix/libboost_context-mt.patch')
-rw-r--r--testing/nix/libboost_context-mt.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/nix/libboost_context-mt.patch b/testing/nix/libboost_context-mt.patch
new file mode 100644
index 0000000000..02326b2e1e
--- /dev/null
+++ b/testing/nix/libboost_context-mt.patch
@@ -0,0 +1,14 @@
+We don't have libboost_context.so, just libboost_context-mt.so (-mt stands
+for multithreading).
+
+--- a/src/libutil/local.mk
++++ b/src/libutil/local.mk
+@@ -6,7 +6,7 @@
+
+ libutil_SOURCES := $(wildcard $(d)/*.cc)
+
+-libutil_LDFLAGS = $(LIBLZMA_LIBS) -lbz2 -pthread $(OPENSSL_LIBS) $(LIBBROTLI_LIBS) -lboost_context
++libutil_LDFLAGS = $(LIBLZMA_LIBS) -lbz2 -pthread $(OPENSSL_LIBS) $(LIBBROTLI_LIBS) -lboost_context-mt
+
+ libutil_LIBS = libformat
+