kumquat-buildroot/package/erlang-p1-xmpp/0001-fix-includes.patch
Johan Oudinet 7ba849b803 package/erlang-p1-xmpp: bump version to 1.4.10
upstream uses include_lib. Adapt the corresponding patch accordingly.

Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-12-01 23:24:34 +01:00

17 lines
476 B
Diff

Without this patch, rebar fails to find include file fxml.hrl.
Signed-off-by: Christophe Romain <cromain@process-one.net>
diff --git a/include/xmpp.hrl b/include/xmpp.hrl
index afa5f61..678858e 100644
--- a/include/xmpp.hrl
+++ b/include/xmpp.hrl
@@ -25,7 +25,7 @@
-include("ns.hrl").
-include("jid.hrl").
-include("xmpp_codec.hrl").
--include_lib("fast_xml/include/fxml.hrl").
+-include_lib("p1_xml/include/fxml.hrl").
-type stanza() :: iq() | presence() | message().