summaryrefslogtreecommitdiff
path: root/libraries/libixion/fmt.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libixion/fmt.patch')
-rw-r--r--libraries/libixion/fmt.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/libraries/libixion/fmt.patch b/libraries/libixion/fmt.patch
new file mode 100644
index 0000000000..c97576bbf4
--- /dev/null
+++ b/libraries/libixion/fmt.patch
@@ -0,0 +1,24 @@
+From 0891528c3ebbf59b0634d01b57499183bac1974b Mon Sep 17 00:00:00 2001
+From: orbea <orbea@riseup.net>
+Date: Mon, 23 Sep 2019 12:09:37 -0700
+Subject: [PATCH] Fix build with gcc and an external fmt.
+
+---
+ src/libixion/Makefile.am | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/libixion/Makefile.am b/src/libixion/Makefile.am
+index 1121e5f0..bb310b3f 100644
+--- a/src/libixion/Makefile.am
++++ b/src/libixion/Makefile.am
+@@ -3,6 +3,7 @@ AM_CPPFLAGS = \
+ -I$(top_srcdir)/include \
+ -I$(top_srcdir)/src/include \
+ -DIXION_BUILD \
++ -DFMT_HEADER_ONLY \
+ $(MDDS_CFLAGS) \
+ $(SPDLOG_CFLAGS) \
+ $(BOOST_CPPFLAGS)
+--
+2.22.0
+