]> git.webhop.me Git - bs-cst-neutrino-hd.git/commitdiff
pugixml: add patch to enable PUGIXML_HAS_LONG_LONG
authorMarkham <markham001@gmx.de>
Fri, 31 Aug 2018 20:41:14 +0000 (22:41 +0200)
committerMarkham <markham001@gmx.de>
Fri, 31 Aug 2018 20:41:14 +0000 (22:41 +0200)
archive-patches/pugixml-config.patch [new file with mode: 0644]
make/libraries.mk

diff --git a/archive-patches/pugixml-config.patch b/archive-patches/pugixml-config.patch
new file mode 100644 (file)
index 0000000..4db8fc0
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/src/pugiconfig.hpp
++++ b/src/pugiconfig.hpp
+@@ -44,7 +44,7 @@
+ // #define PUGIXML_HEADER_ONLY
+ // Uncomment this to enable long long support
+-// #define PUGIXML_HAS_LONG_LONG
++#define PUGIXML_HAS_LONG_LONG
+ #endif
index f459d82dfe302def28245931a469433712a34519..ccbe07f646dabe16f915f563c0d709167c586e4b 100755 (executable)
@@ -618,6 +618,7 @@ $(D)/pugixml: $(ARCHIVE)/pugixml-$(PUGIXML_VER).tar.gz | $(TARGETPREFIX)
        $(START_BUILD)
        $(UNTAR)/pugixml-$(PUGIXML_VER).tar.gz
        set -e; cd $(BUILD_TMP)/pugixml-$(PUGIXML_VER); \
+               $(PATCH)/pugixml-config.patch && \
                cmake \
                --no-warn-unused-cli \
                -DCMAKE_INSTALL_PREFIX=$(TARGETPREFIX) \