unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob ddc21d82b81de44f6d9c4f39ad6b48ed260f13cf 747 bytes (raw)
name: gnu/packages/patches/tinyxml-use-stl.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
 
From a53b6ee4519a7657164610ac14a82c57b1273bf6 Mon Sep 17 00:00:00 2001
From: David Thompson <dthompson2@worcester.edu>
Date: Mon, 23 Nov 2015 06:54:36 -0500
Subject: [PATCH] Use STL.

---
 tinyxml.h   | 2 ++
 xmltest.cpp | 1 +
 2 files changed, 3 insertions(+)

diff --git a/tinyxml.h b/tinyxml.h
index a3589e5..6cbfc7d 100644
--- a/tinyxml.h
+++ b/tinyxml.h
@@ -43,6 +43,8 @@ distribution.
 #define DEBUG
 #endif
 
+#define TIXML_USE_STL 1
+
 #ifdef TIXML_USE_STL
 	#include <string>
  	#include <iostream>
diff --git a/xmltest.cpp b/xmltest.cpp
index 663c157..057dbfe 100644
--- a/xmltest.cpp
+++ b/xmltest.cpp
@@ -2,6 +2,7 @@
    Test program for TinyXML.
 */
 
+#define TIXML_USE_STL 1
 
 #ifdef TIXML_USE_STL
 	#include <iostream>
-- 
2.5.0


debug log:

solving ddc21d8 ...
found ddc21d8 in https://yhetil.org/guix-devel/878u5m531a.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me/

applying [1/1] https://yhetil.org/guix-devel/878u5m531a.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me/
diff --git a/gnu/packages/patches/tinyxml-use-stl.patch b/gnu/packages/patches/tinyxml-use-stl.patch
new file mode 100644
index 0000000..ddc21d8

1:24: trailing whitespace.
 
1:28: space before tab in indent.
 	#include <string>
1:29: space before tab in indent.
  	#include <iostream>
1:37: trailing whitespace.
 
1:39: trailing whitespace.
 
Checking patch gnu/packages/patches/tinyxml-use-stl.patch...
Applied patch gnu/packages/patches/tinyxml-use-stl.patch cleanly.
warning: squelched 3 whitespace errors
warning: 8 lines add whitespace errors.

index at:
100644 ddc21d82b81de44f6d9c4f39ad6b48ed260f13cf	gnu/packages/patches/tinyxml-use-stl.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).