diff options
author | 2007-03-21 00:15:30 +0000 | |
---|---|---|
committer | 2007-03-21 00:15:30 +0000 | |
commit | 78f5a5a74c9a07ab23f2dc750ac06657b3447fca (patch) | |
tree | 3b687067cbf7ed1985f5b6ca858d531872ba133c /net-misc/nx/files | |
parent | Version bump (diff) | |
download | historical-78f5a5a74c9a07ab23f2dc750ac06657b3447fca.tar.gz historical-78f5a5a74c9a07ab23f2dc750ac06657b3447fca.tar.bz2 historical-78f5a5a74c9a07ab23f2dc750ac06657b3447fca.zip |
Revision bump to NX 2.1, amd64 support
Package-Manager: portage-2.1.2.2
Diffstat (limited to 'net-misc/nx/files')
-rw-r--r-- | net-misc/nx/files/digest-nx-2.1.0 | 24 | ||||
-rw-r--r-- | net-misc/nx/files/nx-2.1.0-deprecated-headers.patch | 111 | ||||
-rw-r--r-- | net-misc/nx/files/nx-2.1.0-invalid-options.patch | 38 | ||||
-rw-r--r-- | net-misc/nx/files/nx-2.1.0-nxagent-mem-leaks.patch | 125 |
4 files changed, 298 insertions, 0 deletions
diff --git a/net-misc/nx/files/digest-nx-2.1.0 b/net-misc/nx/files/digest-nx-2.1.0 new file mode 100644 index 000000000000..a1eed4aead7b --- /dev/null +++ b/net-misc/nx/files/digest-nx-2.1.0 @@ -0,0 +1,24 @@ +MD5 9c6e9e4c35c4ec3a7664fcdd397eb7f0 nx-X11-2.1.0-3.tar.gz 32532518 +RMD160 69c4b24f8279d9c92bb3ef22a4399806b5fb8050 nx-X11-2.1.0-3.tar.gz 32532518 +SHA256 dabec82696c23d0c9da0d1a66fee12fd6ffe232e7aecf10f0929e968fe0703f4 nx-X11-2.1.0-3.tar.gz 32532518 +MD5 cae6005f50bab78aa7abba448fca4ed9 nxagent-2.1.0-18.tar.gz 950859 +RMD160 b9d5e50ba2a3b385ee9adc463bb02481ce32db51 nxagent-2.1.0-18.tar.gz 950859 +SHA256 fc9836702039690ca94e44cefb5ec0edce1f968f55666b8afc66ec15456eae33 nxagent-2.1.0-18.tar.gz 950859 +MD5 74811bc9ef86f2d97b3b2ba2ba53f9d3 nxauth-2.1.0-2.tar.gz 30296 +RMD160 e20dbac668d98e59d42359d71a1be4947a64d492 nxauth-2.1.0-2.tar.gz 30296 +SHA256 a3231b42daf1e5add3aaa876f5f99dae0dcf196c2122ad0db11c317851e75799 nxauth-2.1.0-2.tar.gz 30296 +MD5 7e35e48adb66786ad720ff9fbfa950a3 nxcomp-2.1.0-8.tar.gz 556291 +RMD160 b8960b616eb48521404e9ee39cf7e6f64e060394 nxcomp-2.1.0-8.tar.gz 556291 +SHA256 74ad4bf63602c3e50622d74420c3840f2e7f0d690b2176c0331ad2011756e776 nxcomp-2.1.0-8.tar.gz 556291 +MD5 d3347382860670cfd4471d228fb1b730 nxcompext-2.1.0-5.tar.gz 102588 +RMD160 f9c7ea4ca0013063406d18b2e3e928ebfa600169 nxcompext-2.1.0-5.tar.gz 102588 +SHA256 acd81ab9f0ab74317a9d34902d77f5978432d3488664c501a42378577b81f06c nxcompext-2.1.0-5.tar.gz 102588 +MD5 bbbb9b91b8bc6759d42524c3f3f5be42 nxdesktop-2.1.0-9.tar.gz 823225 +RMD160 5b42c2e55856d5cd3873b18dfbb6fb128497d5f6 nxdesktop-2.1.0-9.tar.gz 823225 +SHA256 35cd77ea63d7381bad5745224bd93635a53bfe4b3e545085f09bf512075c08db nxdesktop-2.1.0-9.tar.gz 823225 +MD5 29b0e8be069a8258f5b8774362fc7464 nxproxy-2.1.0-3.tar.gz 82753 +RMD160 71c9a069cb9b8ede2505753656cd5b83fff80f8e nxproxy-2.1.0-3.tar.gz 82753 +SHA256 3c2db68cb0fa931db1b2ef74c76c848357d332ada8397c511719215bd8eeabac nxproxy-2.1.0-3.tar.gz 82753 +MD5 e9f5b692278025856b09bd71d0966100 nxviewer-2.1.0-12.tar.gz 228158 +RMD160 0462706c5ea0f49700e4ccdfc2adba1278b0e3ec nxviewer-2.1.0-12.tar.gz 228158 +SHA256 dc41c4f3cc6f6e4e7985a37d5b3cddf9c9571b8e9752fbb056a4d6e4c9b59178 nxviewer-2.1.0-12.tar.gz 228158 diff --git a/net-misc/nx/files/nx-2.1.0-deprecated-headers.patch b/net-misc/nx/files/nx-2.1.0-deprecated-headers.patch new file mode 100644 index 000000000000..c9741d5ca53e --- /dev/null +++ b/net-misc/nx/files/nx-2.1.0-deprecated-headers.patch @@ -0,0 +1,111 @@ +diff -urN BlockCacheSet.cpp BlockCacheSet.cpp +--- BlockCacheSet.cpp 2006-11-05 13:22:45.963189321 +0000 ++++ BlockCacheSet.cpp 2006-11-05 13:23:25.000000000 +0000 +@@ -15,7 +15,9 @@ + /* */ + /**************************************************************************/ + +-#include <iostream.h> ++using namespace std; ++ ++#include <iostream> + #include "BlockCacheSet.h" + + +diff -urN Loop.cpp Loop.cpp +--- Loop.cpp 2006-11-05 13:22:45.854205948 +0000 ++++ Loop.cpp 2006-11-05 13:23:25.000000000 +0000 +@@ -15,6 +15,8 @@ + /* */ + /**************************************************************************/ + ++using namespace std; ++ + #include <stdio.h> + #include <stdlib.h> + #include <unistd.h> +@@ -29,7 +31,7 @@ + #include <dirent.h> + #include <pwd.h> + +-#include <fstream.h> ++#include <fstream> + #include <fcntl.h> + + #include <sys/types.h> +diff -urN Message.cpp Message.cpp +--- Message.cpp 2006-11-05 13:22:45.963189321 +0000 ++++ Message.cpp 2006-11-05 13:23:25.000000000 +0000 +@@ -15,8 +15,10 @@ + /* */ + /**************************************************************************/ + ++using namespace std; ++ + #include <stdio.h> +-#include <fstream.h> ++#include <fstream> + #include <unistd.h> + #include <string.h> + +diff -urN Misc.cpp Misc.cpp +--- Misc.cpp 2006-11-05 13:22:45.701229285 +0000 ++++ Misc.cpp 2006-11-05 13:23:25.000000000 +0000 +@@ -15,7 +15,9 @@ + /* */ + /**************************************************************************/ + +-#include <iostream.h> ++using namespace std; ++ ++#include <iostream> + #include <stdio.h> + #include <ctype.h> + #include <stdlib.h> +diff -urN Misc.h Misc.h +--- Misc.h 2006-11-05 13:22:45.643238132 +0000 ++++ Misc.h 2006-11-05 13:23:25.000000000 +0000 +@@ -18,8 +18,10 @@ + #ifndef Misc_H + #define Misc_H + +-#include <iostream.h> +-#include <fstream.h> ++using namespace std; ++ ++#include <iostream> ++#include <fstream> + + #include <errno.h> + #include <string.h> +diff -urN Proxy.cpp Proxy.cpp +--- Proxy.cpp 2006-11-05 13:22:45.856205642 +0000 ++++ Proxy.cpp 2006-11-05 13:23:25.000000000 +0000 +@@ -15,10 +15,12 @@ + /* */ + /**************************************************************************/ + ++using namespace std; ++ + #include <stdio.h> + #include <unistd.h> + #include <stdlib.h> +-#include <fstream.h> ++#include <fstream> + #include <sys/types.h> + #include <sys/stat.h> + +diff -urN Split.cpp Split.cpp +--- Split.cpp 2006-11-05 13:22:45.797214643 +0000 ++++ Split.cpp 2006-11-05 13:23:25.000000000 +0000 +@@ -15,7 +15,9 @@ + /* */ + /**************************************************************************/ + +-#include <fstream.h> ++using namespace std; ++ ++#include <fstream> + #include <unistd.h> + #include <string.h> + #include <sys/stat.h> diff --git a/net-misc/nx/files/nx-2.1.0-invalid-options.patch b/net-misc/nx/files/nx-2.1.0-invalid-options.patch new file mode 100644 index 000000000000..17e4f43a0b6e --- /dev/null +++ b/net-misc/nx/files/nx-2.1.0-invalid-options.patch @@ -0,0 +1,38 @@ +--- configure.in 2006-11-04 19:37:56.000000000 +0000 ++++ configure.in 2006-11-04 19:38:23.000000000 +0000 +@@ -52,35 +52,6 @@ + AC_PROG_CC + AC_LANG_CPLUSPLUS + +-dnl Check whether option -Wno-deprecated +-dnl is needed by GCC compiler. +- +-AC_MSG_CHECKING([whether compiler needs -Wno-deprecated]) +-gcc_version=`${CC} --version | grep 'gcc (GCC) [[3-4]].' | head -n 1` +-case "${gcc_version}" in +- gcc*) +- AC_MSG_RESULT([yes]) +- CXXFLAGS="$CXXFLAGS -Wno-deprecated" +- ;; +- +- *) +- AC_MSG_RESULT([no]) +- ;; +-esac +- +-AC_MSG_CHECKING([whether compiler accepts -Wmissing-declarations and -Wnested-externs]) +-gcc_version=`${CC} --version | grep 'gcc (GCC) [[3-4]].' | head -n 1` +-case "${gcc_version}" in +- gcc*) +- AC_MSG_RESULT([no]) +- ;; +- +- *) +- AC_MSG_RESULT([yes]) +- CXXFLAGS="$CXXFLAGS -Wmissing-declarations -Wnested-externs" +- ;; +-esac +- + dnl Check for BSD compatible install. + + AC_PROG_INSTALL diff --git a/net-misc/nx/files/nx-2.1.0-nxagent-mem-leaks.patch b/net-misc/nx/files/nx-2.1.0-nxagent-mem-leaks.patch new file mode 100644 index 000000000000..eb9d7cf317d6 --- /dev/null +++ b/net-misc/nx/files/nx-2.1.0-nxagent-mem-leaks.patch @@ -0,0 +1,125 @@ +diff -uBbr new/nx-X11/programs/Xserver/hw/nxagent/Atoms.c nx-X11/programs/Xserver/hw/nxagent/Atoms.c +--- new/nx-X11/programs/Xserver/hw/nxagent/Atoms.c 2006-04-18 11:40:18.000000000 -0355 ++++ nx-X11/programs/Xserver/hw/nxagent/Atoms.c 2007-02-19 12:54:51.000000000 -0455 +@@ -785,6 +785,8 @@ + + nxagentWriteAtom(local, remote, string, True); + ++ XFree(string); ++ + return local; + } + +diff -uBbr new/nx-X11/programs/Xserver/hw/nxagent/NXdixfonts.c nx-X11/programs/Xserver/hw/nxagent/NXdixfonts.c +--- new/nx-X11/programs/Xserver/hw/nxagent/NXdixfonts.c 2006-11-09 12:22:35.000000000 -0455 ++++ nx-X11/programs/Xserver/hw/nxagent/NXdixfonts.c 2007-02-21 13:23:59.000000000 -0455 +@@ -2521,7 +2521,7 @@ + err = (*fpe_functions[fpe->type].start_list_fonts_and_aliases) + ((pointer) c->client, fpe, c->current.pattern, + c->current.patlen, c->current.max_names - c->names->nnames, +- &c->current.private); ++ &c->current.private); /* FIXME: returned mem c->current.private (needed by list_next_font_or_alias) may never be freed */ + if (err == Suspended) { + if (!c->slept) { + ClientSleep(client, +diff -uBbr new/nx-X11/programs/Xserver/hw/nxagent/Pixmap.c nx-X11/programs/Xserver/hw/nxagent/Pixmap.c +--- new/nx-X11/programs/Xserver/hw/nxagent/Pixmap.c 2006-11-09 12:18:00.000000000 -0455 ++++ nx-X11/programs/Xserver/hw/nxagent/Pixmap.c 2007-02-21 13:28:54.000000000 -0455 +@@ -1115,6 +1115,7 @@ + { + FatalError("XGetImage: Failed.\n"); + ++ free(data); + return False; + } + +@@ -1600,6 +1601,7 @@ + fprintf(stderr, "nxagentSynchronizeDrawableData: WARNING! Failed to create the temporary GC.\n"); + #endif + ++ xfree(data); + return 0; + } + +@@ -1661,6 +1663,7 @@ + fprintf(stderr, "nxagentSynchronizeDrawableData: WARNING! Failed to create the temporary GC.\n"); + #endif + ++ xfree(data); + return 0; + } + +@@ -1772,6 +1775,7 @@ + int useExtents; + int imageLength, corruptedLength; + int corruptedWidth, corruptedHeight; ++ int ret = 0; /* Used by error handling. 0 is error(?, based on previous code) */ + + #ifdef TEST + static int totalLength; +@@ -1812,7 +1816,7 @@ + (void *) pDrawable); + #endif + +- return 0; ++ goto SR_FREE_CLIP; + } + + /* +@@ -1836,7 +1840,7 @@ + (void *) pDrawable); + #endif + +- return 0; ++ goto SR_FREE_CLIP; + } + } + +@@ -1861,7 +1865,7 @@ + fprintf(stderr, "nxagentSynchronizeRegion: WARNING! Failed to allocate memory for the operation.\n"); + #endif + +- return 0; ++ goto SR_FREE_CLIP; + } + + pSrcDrawable = (pDrawable -> type == DRAWABLE_PIXMAP ? +@@ -1876,7 +1880,7 @@ + fprintf(stderr, "nxagentSynchronizeRegion: WARNING! Failed to create the temporary GC.\n"); + #endif + +- return 0; ++ goto SR_FREE_XALLOC; + } + + ValidateGC(pDrawable, pGC); +@@ -1935,7 +1939,7 @@ + + #endif + +- return 1; ++ goto SR_FREE_GC; + } + + /* +@@ -2029,13 +2033,17 @@ + + nxagentGCTrap = saveTrap; + +- nxagentFreeRegion(pDrawable, clipRegion); ++SR_FREE_GC: ++ ret = 1; ++ FreeScratchGC(pGC); + ++SR_FREE_XALLOC: + xfree(data); + +- FreeScratchGC(pGC); ++SR_FREE_CLIP: ++ nxagentFreeRegion(pDrawable, clipRegion); + +- return 1; ++ return ret; + } + + void nxagentSynchronizeBox(DrawablePtr pDrawable, BoxPtr pBox) |