public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-libs/gsoap/files: gsoap-2.7.12-fix-pre-iso-headers.patch
@ 2009-03-05 20:30 Patrick Lauer (patrick)
  0 siblings, 0 replies; 2+ messages in thread
From: Patrick Lauer (patrick) @ 2009-03-05 20:30 UTC (permalink / raw
  To: gentoo-commits

patrick     09/03/05 20:30:07

  Added:                gsoap-2.7.12-fix-pre-iso-headers.patch
  Log:
  Fixing failure in some of the examples. Patch by Alessio Cassibba (X-Drum). Fixes #261042
  (Portage version: 2.2_rc23/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  net-libs/gsoap/files/gsoap-2.7.12-fix-pre-iso-headers.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/gsoap/files/gsoap-2.7.12-fix-pre-iso-headers.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/gsoap/files/gsoap-2.7.12-fix-pre-iso-headers.patch?rev=1.1&content-type=text/plain

Index: gsoap-2.7.12-fix-pre-iso-headers.patch
===================================================================
--- gsoap/samples/factorytest/factorytest.cpp.orig	2009-03-04 01:16:22.300484305 +0100
+++ gsoap/samples/factorytest/factorytest.cpp	2009-03-04 01:15:47.656485143 +0100
@@ -49,7 +49,7 @@
 #include "soapH.h"
 #include "factorytest.nsmap"
 
-#include <iostream.h>
+#include <iostream>
 
 // default factory service endpoint:
 const char *factory = "http://localhost:18085";
@@ -167,7 +167,7 @@
 int main(int argc, char **argv)
 { if (argc > 1)
     factory = argv[1];			// use factory from command line arg by default
-  cout << "Connecting to factory " << factory << endl;
+  std::cout << "Connecting to factory " << factory << std::endl;
   Adder adder;				// create unique new remote adder object
   Counter counter1("myCounter");	// new counter object "myCounter" (created if not exists)
   Counter counter2("myCounter");	// lookup and use counter "myCounter" (this is an alias to counter1!)
@@ -175,22 +175,22 @@
   counter1.set(adder.get());
   adder.add(3.0);
   counter1.inc();
-  cout << "Adder=" << adder.get() << endl;
-  cout << "Counter=" << counter2.get() << endl;		// counter2 is an alias for counter1 so this prints the value of counter1
-  cout << "Sleep for 90 seconds to test factory server purging objects:" << endl;
+  std::cout << "Adder=" << adder.get() << std::endl;
+  std::cout << "Counter=" << counter2.get() << std::endl;		// counter2 is an alias for counter1 so this prints the value of counter1
+  std::cout << "Sleep for 90 seconds to test factory server purging objects:" << std::endl;
   // counter is periodically incremented which keeps it alive
   sleep(30);
   counter1.inc();
-  cout << "Counter=" << counter2.get() << endl;
+  std::cout << "Counter=" << counter2.get() << std::endl;
   sleep(30);
   counter1.inc();
-  cout << "Counter=" << counter2.get() << endl;
+  std::cout << "Counter=" << counter2.get() << std::endl;
   sleep(30);
   counter1.inc();
-  cout << "Counter=" << counter2.get() << endl;
+  std::cout << "Counter=" << counter2.get() << std::endl;
   // after 90 secs, the adder should be gone
-  cout << "Adder is no longer available:" << endl;
+  std::cout << "Adder is no longer available:" << std::endl;
   adder.add(3.0);
-  cout << "Adder status = " << adder.status << endl;
+  std::cout << "Adder status = " << adder.status << std::endl;
   return 0;
 }
--- gsoap/samples/lu/luclient.cpp.orig	2009-03-04 01:16:48.632483467 +0100
+++ gsoap/samples/lu/luclient.cpp	2009-03-04 01:17:54.550483188 +0100
@@ -32,7 +32,7 @@
 */
 
 #include "soapH.h"
-#include <iostream.h>
+#include <iostream>
 
 const char luserver[] = "http://websrv.cs.fsu.edu/~engelen/luserver.cgi";
 
@@ -51,14 +51,14 @@
   a[3].resize(2,3); // 2-element vector indexed from 2 to 3
   a[3][2] = 1;
   a[3][3] = 2;
-  cout << "* Demonstration example *" << endl;
-  cout << "Matrix:" << endl;
+  std::cout << "* Demonstration example *" << std::endl;
+  std::cout << "Matrix:" << std::endl;
   a.print();
   vector b(soap, 3);
   b[1] = 1;
   b[2] = 2;
   b[3] = 3;
-  cout << "Vector:" << endl;
+  std::cout << "Vector:" << std::endl;
   b.print();
   vector x(soap);
   if (argc < 2)
@@ -71,7 +71,7 @@
     soap_print_fault_location(soap, stderr);
   }
   else
-  { cout << "Solution vector from service:" << endl;
+  { std::cout << "Solution vector from service:" << std::endl;
     x.print();
   }
   matrix a1(soap);
@@ -80,7 +80,7 @@
     soap_print_fault_location(soap, stderr);
   }
   else
-  { cout << "Inverse matrix matrix from service:" << endl;
+  { std::cout << "Inverse matrix matrix from service:" << std::endl;
     a1.print();
   }
   soap_destroy(soap);






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

* [gentoo-commits] gentoo-x86 commit in net-libs/gsoap/files: gsoap-2.7.12-fix-pre-iso-headers.patch
@ 2010-06-03 21:25 Lars Wendler (polynomial-c)
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Wendler (polynomial-c) @ 2010-06-03 21:25 UTC (permalink / raw
  To: gentoo-commits

polynomial-c    10/06/03 21:25:46

  Removed:              gsoap-2.7.12-fix-pre-iso-headers.patch
  Log:
  Version bumps, removed old, added myself as maintainer.
  (Portage version: 2.2_rc67/cvs/Linux x86_64)



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

end of thread, other threads:[~2010-06-03 21:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-03 21:25 [gentoo-commits] gentoo-x86 commit in net-libs/gsoap/files: gsoap-2.7.12-fix-pre-iso-headers.patch Lars Wendler (polynomial-c)
  -- strict thread matches above, loose matches on Subject: below --
2009-03-05 20:30 Patrick Lauer (patrick)

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