Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 175810 Details for
Bug 228227
x11-misc/temperature-app-1.4 removal request (was: fails to build with gcc 4.3)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
temperature-app-1.4-std-headers.patch
temperature-app-1.4-std-headers.patch (text/plain), 1.65 KB, created by
Santiago M. Mola (RETIRED)
on 2008-12-18 22:28:08 UTC
(
hide
)
Description:
temperature-app-1.4-std-headers.patch
Filename:
MIME Type:
Creator:
Santiago M. Mola (RETIRED)
Created:
2008-12-18 22:28:08 UTC
Size:
1.65 KB
patch
obsolete
>Source: Santiago M. Mola <coldwind@gentoo.org> >Reason: Use standard headers and get gcc-4.3 compatibility (Gentoo bug #228227). >--- Temperature.app-1.4.orig/Temperature.cc 2008-12-18 23:00:08.000000000 +0100 >+++ Temperature.app-1.4/Temperature.cc 2008-12-18 23:08:48.000000000 +0100 >@@ -20,18 +20,18 @@ > // > > #include <X11/Xlib.h> >-#include <iostream.h> >-#include <fstream.h> >-#include <stdlib.h> >-#include <stdio.h> >-#include <string.h> >+#include <iostream> >+#include <fstream> >+#include <cstdlib> >+#include <cstdio> >+#include <cstring> > #include <unistd.h> >-#include <signal.h> >-#include <errno.h> >+#include <csignal> >+#include <cerrno> > #include <sys/types.h> > #include <sys/wait.h> >-#include <math.h> >-#include <time.h> >+#include <cmath> >+#include <ctime> > #include "Xpm.h" > #include "Temperature.h" > >--- Temperature.app-1.4.orig/Temperature.h 2008-12-18 23:00:08.000000000 +0100 >+++ Temperature.app-1.4/Temperature.h 2008-12-18 23:07:50.000000000 +0100 >@@ -22,9 +22,12 @@ > #ifndef _TEMPERATURE_H_ > #define _TEMPERATURE_H_ > >-#include <fstream.h> >+#include <fstream> >+#include <iostream> > #include <X11/Xlib.h> > >+using namespace std; >+ > #define APPNAME "Temperature.app" > #define VERSION "1.4" > #define INSTANCENAME "temperature_app" >--- Temperature.app-1.4.orig/Xpm.cc 2008-12-18 23:00:08.000000000 +0100 >+++ Temperature.app-1.4/Xpm.cc 2008-12-18 23:16:11.000000000 +0100 >@@ -22,9 +22,9 @@ > #include <X11/Xlib.h> > #include <X11/xpm.h> > #include <X11/extensions/shape.h> >-#include <iostream.h> >-#include <stdlib.h> >-#include <string.h> >+#include <iostream> >+#include <cstdlib> >+#include <cstring> > #include "Temperature.h" > #include "Xpm.h" >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 228227
: 175810 |
175811