aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/nxcl/files/gcc-warnings.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/nxcl/files/gcc-warnings.patch')
-rw-r--r--recipes/nxcl/files/gcc-warnings.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/recipes/nxcl/files/gcc-warnings.patch b/recipes/nxcl/files/gcc-warnings.patch
new file mode 100644
index 0000000000..6f928dbea6
--- /dev/null
+++ b/recipes/nxcl/files/gcc-warnings.patch
@@ -0,0 +1,16 @@
+Index: nxcl-0.9/lib/nxsession.cpp
+===================================================================
+--- nxcl-0.9.orig/lib/nxsession.cpp 2008-09-26 10:42:51.000000000 +0200
++++ nxcl-0.9/lib/nxsession.cpp 2008-09-26 10:43:37.000000000 +0200
+@@ -44,9 +44,9 @@
+ using namespace nxcl;
+
+ NXSession::NXSession() :
+- devurand_fd(-1),
+- stage(HELLO_NXCLIENT),
+ sessionDataSet(false),
++ stage(HELLO_NXCLIENT),
++ devurand_fd(-1),
+ nxUsername("nouser"),
+ nxPassword("nopass")
+ {