[X2Go-Commits] [nx-libs] 06/29: gcc43 fix (003_nxcompshad_gcc43.full.patch) Use builtin includes to build with gcc43.

git-admin at x2go.org git-admin at x2go.org
Tue Feb 10 05:21:40 CET 2015


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch 3.6.x
in repository nx-libs.

commit b3496d0a7a76cb0808bbe0f7c84355e4e88878d0
Author: Marcelo Boveto Shima <marceloshima at gmail.com>
Date:   Mon Feb 9 11:53:47 2015 +0100

    gcc43 fix (003_nxcompshad_gcc43.full.patch)
     Use builtin includes to build with gcc43.
---
 debian/patches/003_nxcompshad_gcc43.full.patch |   33 ------------------------
 debian/patches/series                          |    1 -
 nxcompshad/Logger.h                            |    4 +--
 nxcompshad/Misc.h                              |    4 +--
 4 files changed, 4 insertions(+), 38 deletions(-)

diff --git a/debian/patches/003_nxcompshad_gcc43.full.patch b/debian/patches/003_nxcompshad_gcc43.full.patch
deleted file mode 100644
index 165c300..0000000
--- a/debian/patches/003_nxcompshad_gcc43.full.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-Description: gcc43 fix
- Use builtin includes to build with gcc43.
- .
- Originally contributed by Marcelo Boveto Shima <marceloshima at gmail.com>.
-Forwarded: pending...
-Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
-Last-Update: 2011-12-31
---- a/nxcompshad/Logger.h
-+++ b/nxcompshad/Logger.h
-@@ -18,8 +18,8 @@
- #ifndef Logger_H
- #define Logger_H
- 
--#include <errno.h>
--#include <stdarg.h>
-+#include <cerrno>
-+#include <cstdarg>
- 
- //
- // Error handling macros.
---- a/nxcompshad/Misc.h
-+++ b/nxcompshad/Misc.h
-@@ -20,8 +20,8 @@
- 
- #include <iostream>
- 
--#include <errno.h>
--#include <string.h>
-+#include <cerrno>
-+#include <cstring>
- 
- using namespace std;
- 
diff --git a/debian/patches/series b/debian/patches/series
index e410e20..3dfca5e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,4 +1,3 @@
-003_nxcompshad_gcc43.full.patch
 004_nx-X11_fix-nxcompshad-build.full.patch
 005_nxcomp_gcc43.full+lite.patch
 006_nxcomp_libpng15.full+lite.patch
diff --git a/nxcompshad/Logger.h b/nxcompshad/Logger.h
index 94e4da8..2e6430b 100644
--- a/nxcompshad/Logger.h
+++ b/nxcompshad/Logger.h
@@ -18,8 +18,8 @@
 #ifndef Logger_H
 #define Logger_H
 
-#include <errno.h>
-#include <stdarg.h>
+#include <cerrno>
+#include <cstdarg>
 
 //
 // Error handling macros.
diff --git a/nxcompshad/Misc.h b/nxcompshad/Misc.h
index 6dc8635..27f2670 100644
--- a/nxcompshad/Misc.h
+++ b/nxcompshad/Misc.h
@@ -20,8 +20,8 @@
 
 #include <iostream>
 
-#include <errno.h>
-#include <string.h>
+#include <cerrno>
+#include <cstring>
 
 using namespace std;
 

--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/nx-libs.git


More information about the x2go-commits mailing list