public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-editors/xmlcopyeditor/files: xmlcopyeditor-1.2.0.2-gcc44.patch
@ 2009-07-01  6:18 Ryan Hill (dirtyepic)
  0 siblings, 0 replies; 2+ messages in thread
From: Ryan Hill (dirtyepic) @ 2009-07-01  6:18 UTC (permalink / raw
  To: gentoo-commits

dirtyepic    09/07/01 06:18:09

  Added:                xmlcopyeditor-1.2.0.2-gcc44.patch
  Log:
  Fix building with GCC 4.4. Patch by caolan mcnamara.
  (Portage version: 2.2_rc33/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  app-editors/xmlcopyeditor/files/xmlcopyeditor-1.2.0.2-gcc44.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/xmlcopyeditor/files/xmlcopyeditor-1.2.0.2-gcc44.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/xmlcopyeditor/files/xmlcopyeditor-1.2.0.2-gcc44.patch?rev=1.1&content-type=text/plain

Index: xmlcopyeditor-1.2.0.2-gcc44.patch
===================================================================
--- xmlcopyeditor-1.2.0.4.orig/src/replace.cpp
+++ xmlcopyeditor-1.2.0.4/src/replace.cpp
@@ -18,6 +18,7 @@
  */
 
 #include <cstring>
+#include <cstdio>
 #include "replace.h"
 
 int Replace::run (
--- xmlcopyeditor-1.2.0.4.orig/src/stringset.h
+++ xmlcopyeditor-1.2.0.4/src/stringset.h
@@ -25,6 +25,7 @@
 #include <cmath>
 #include <climits>
 #include <cstring>
+#include <stdint.h>
 #ifdef __WXMSW__
 #include <mem.h>
 #endif
--- xmlcopyeditor-1.2.0.4.orig/src/wrapaspell.cpp
+++ xmlcopyeditor-1.2.0.4/src/wrapaspell.cpp
@@ -19,6 +19,7 @@
 
 #include <iostream>
 #include <stdexcept>
+#include <cstdio>
 #include "wrapaspell.h"
 #include "aspell.h"
 #include "casehandler.h"
--- xmlcopyeditor-1.2.0.4.orig/src/xmlassociatedtd.h
+++ xmlcopyeditor-1.2.0.4/src/xmlassociatedtd.h
@@ -24,6 +24,7 @@
 #include <expat.h>
 #include <string>
 #include <memory>
+#include <cstdio>
 #include "wrapexpat.h"
 
 struct DtdData : public ParserData
--- xmlcopyeditor-1.2.0.4.orig/src/xmlassociatexsd.h
+++ xmlcopyeditor-1.2.0.4/src/xmlassociatexsd.h
@@ -25,6 +25,7 @@
 #include <string>
 #include <map>
 #include <memory>
+#include <cstdio>
 #include "wrapexpat.h"
 
 struct AssociateXsdData : public ParserData
--- xmlcopyeditor-1.2.0.4.orig/src/xmlassociatexsl.h
+++ xmlcopyeditor-1.2.0.4/src/xmlassociatexsl.h
@@ -24,6 +24,7 @@
 #include <expat.h>
 #include <string>
 #include <memory>
+#include <cstdio>
 #include "wrapexpat.h"
 
 struct XslData : public ParserData
--- xmlcopyeditor-1.2.0.4.orig/src/xmlpromptgenerator.cpp
+++ xmlcopyeditor-1.2.0.4/src/xmlpromptgenerator.cpp
@@ -31,7 +31,7 @@
 #include "catalogresolver.h"
 
 // Xerces-C req'd for Schema parsing
-#define XERCES_TMPLSINC
+// #define XERCES_TMPLSINC
 
 #include <xercesc/util/NameIdPool.hpp>
 #include <xercesc/util/PlatformUtils.hpp>
--- xmlcopyeditor-1.2.0.4.orig/src/xmlutf8reader.cpp
+++ xmlcopyeditor-1.2.0.4/src/xmlutf8reader.cpp
@@ -20,6 +20,7 @@
 #include <string>
 #include <vector>
 #include <stdexcept>
+#include <cstdio>
 #include <expat.h>
 #include "xmlutf8reader.h"
 
--- xmlcopyeditor-1.2.0.4.orig/src/xsllocator.cpp
+++ xmlcopyeditor-1.2.0.4/src/xsllocator.cpp
@@ -46,7 +46,7 @@
 		return;
 
 	char *value, *iterator;
-	value = strstr ( ( const char * ) data, "href=" );
+	value = strstr ( ( char * ) data, "href=" );
 	if ( !value || strlen ( value ) < 7 )
 		return;
 	value += 6;
@@ -55,7 +55,7 @@
 	{
 		if ( *iterator == '"' || *iterator == '\'' )
 		{
-			*iterator = '\0';
+			*iterator = '\0'; //Danger, changing const char *data
 			break;
 		}
 	}

 	  	 






^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in app-editors/xmlcopyeditor/files: xmlcopyeditor-1.2.0.2-gcc44.patch
@ 2010-08-23  7:05 Torsten Veller (tove)
  0 siblings, 0 replies; 2+ messages in thread
From: Torsten Veller (tove) @ 2010-08-23  7:05 UTC (permalink / raw
  To: gentoo-commits

tove        10/08/23 07:05:19

  Removed:              xmlcopyeditor-1.2.0.2-gcc44.patch
  Log:
  More cleanup
  
  (Portage version: 2.2_rc67_p630/cvs/Linux x86_64)



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-08-23  7:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-01  6:18 [gentoo-commits] gentoo-x86 commit in app-editors/xmlcopyeditor/files: xmlcopyeditor-1.2.0.2-gcc44.patch Ryan Hill (dirtyepic)
  -- strict thread matches above, loose matches on Subject: below --
2010-08-23  7:05 Torsten Veller (tove)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox