summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/nx/files/nx-3.3.0-nxcomp-glibc2.10.patch')
-rw-r--r--net-misc/nx/files/nx-3.3.0-nxcomp-glibc2.10.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-misc/nx/files/nx-3.3.0-nxcomp-glibc2.10.patch b/net-misc/nx/files/nx-3.3.0-nxcomp-glibc2.10.patch
new file mode 100644
index 000000000000..12267c71e003
--- /dev/null
+++ b/net-misc/nx/files/nx-3.3.0-nxcomp-glibc2.10.patch
@@ -0,0 +1,11 @@
+--- Loop.cpp.orig 2009-07-06 12:38:10.000000000 +0200
++++ Loop.cpp 2009-07-06 12:38:14.000000000 +0200
+@@ -10979,7 +10979,7 @@
+ packMethod == PACK_LOSSLESS ||
+ packMethod == PACK_ADAPTIVE)
+ {
+- char *dash = rindex(opt, '-');
++ const char *dash = rindex(opt, '-');
+
+ if (dash != NULL && strlen(dash) == 2 &&
+ *(dash + 1) >= '0' && *(dash + 1) <= '9')