SOURCES: partimage-gcc43.patch (NEW) - fix build on gcc 4.3

megabajt megabajt at pld-linux.org
Sun Jul 13 00:39:11 CEST 2008


Author: megabajt                     Date: Sat Jul 12 22:39:11 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix build on gcc 4.3

---- Files affected:
SOURCES:
   partimage-gcc43.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/partimage-gcc43.patch
diff -u /dev/null SOURCES/partimage-gcc43.patch:1.1
--- /dev/null	Sun Jul 13 00:39:12 2008
+++ SOURCES/partimage-gcc43.patch	Sun Jul 13 00:39:06 2008
@@ -0,0 +1,36 @@
+diff -urN partimage-0.6.7/src/server/partimaged.cpp partimage-0.6.7.new/src/server/partimaged.cpp
+--- partimage-0.6.7/src/server/partimaged.cpp	2008-02-03 22:57:53.000000000 +0100
++++ partimage-0.6.7.new/src/server/partimaged.cpp	2008-07-13 00:35:34.034810564 +0200
+@@ -22,7 +22,7 @@
+ 
+ #include <stdio.h>
+ #include <stdlib.h>
+-#include <iostream.h>
++#include <iostream>
+ 
+ #include "net.h"
+ #include "netserver.h"
+diff -urN partimage-0.6.7/src/server/partimaged-main.cpp partimage-0.6.7.new/src/server/partimaged-main.cpp
+--- partimage-0.6.7/src/server/partimaged-main.cpp	2008-02-03 22:57:53.000000000 +0100
++++ partimage-0.6.7.new/src/server/partimaged-main.cpp	2008-07-13 00:35:40.698143228 +0200
+@@ -27,7 +27,7 @@
+ 
+ #include <stdio.h>
+ #include <stdlib.h>
+-#include <iostream.h>
++#include <iostream>
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <signal.h>
+diff -urN partimage-0.6.7/src/shared/net.h partimage-0.6.7.new/src/shared/net.h
+--- partimage-0.6.7/src/shared/net.h	2008-02-03 22:57:55.000000000 +0100
++++ partimage-0.6.7.new/src/shared/net.h	2008-07-13 00:35:26.084811220 +0200
+@@ -28,7 +28,7 @@
+ #include <sys/types.h>
+ #include <sys/socket.h>
+ #include <arpa/inet.h>
+-#include <iostream.h>
++#include <iostream>
+ #include <pthread.h>
+ 
+ #include "pathnames.h"
================================================================


More information about the pld-cvs-commit mailing list