diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2020-01-30 01:44:10 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2020-05-07 12:44:55 +0200 |
commit | 1796f823363f38cfab6d0a7cc5882e0becbd8d91 (patch) | |
tree | d80699440ba144520f5b6d94ce1476d741886f05 /debian | |
parent | acab90be7326c23acdfde0b2549ee8afc66ea8c8 (diff) | |
download | nx-libs-1796f823363f38cfab6d0a7cc5882e0becbd8d91.tar.gz nx-libs-1796f823363f38cfab6d0a7cc5882e0becbd8d91.tar.bz2 nx-libs-1796f823363f38cfab6d0a7cc5882e0becbd8d91.zip |
remove obsolete pending patches
The changes are either applied in the current version or the affected
file is no longer existing.
Diffstat (limited to 'debian')
-rw-r--r-- | debian/patches-pending-evaluation/fix-fprintf-usage.patch | 31 | ||||
-rw-r--r-- | debian/patches-pending-evaluation/patches_nx-X11-fix_format.patch | 126 |
2 files changed, 0 insertions, 157 deletions
diff --git a/debian/patches-pending-evaluation/fix-fprintf-usage.patch b/debian/patches-pending-evaluation/fix-fprintf-usage.patch deleted file mode 100644 index 4abda6064..000000000 --- a/debian/patches-pending-evaluation/fix-fprintf-usage.patch +++ /dev/null @@ -1,31 +0,0 @@ -From: Vitaly Lipatov <lav@etersoft.ru> -Date: Wed, 3 Jun 2009 00:49:01 +0000 (+0400) -Subject: fix fprintf using -X-Git-Tag: 3.3.0-alt16.1~1^2 -X-Git-Url: http://git.etersoft.ru?p=rx%2Fnx.git;a=commitdiff_plain;h=f68888aab5c92e99f398f5fe7407edf09e2c86ce - - fix fprintf using - -+--- a/nx-X11/config/imake/imake.c -++++ b/nx-X11/config/imake/imake.c -+@@ -1015,7 +1015,7 @@ get_libc_version(FILE *inFile) -+ abort (); -+ -+ while (fgets (command, len, fp)) -+- fprintf (inFile, command); -++ fwrite (command, strlen(command), 1, inFile); -+ -+ len = pclose (fp); -+ remove (aout); -+ -+--- a/nx-X11/extras/rman/rman.c.orig 2009-06-03 04:29:39 +0400 -++++ b/nx-X11/extras/rman/rman.c 2009-06-03 05:19:07 +0400 -+@@ -1432,7 +1432,7 @@ HTML(enum command cmd) -+ break; -+ case BEGINSECTION: break; -+ case ENDSECTION: -+- if (sectheadid==NAME && message!=NULL) printf(message); -++ if (sectheadid==NAME && message!=NULL) printf("%s",message); -+ break; -+ case BEGINSUBSECTION: break; -+ case ENDSUBSECTION: break; diff --git a/debian/patches-pending-evaluation/patches_nx-X11-fix_format.patch b/debian/patches-pending-evaluation/patches_nx-X11-fix_format.patch deleted file mode 100644 index 201888150..000000000 --- a/debian/patches-pending-evaluation/patches_nx-X11-fix_format.patch +++ /dev/null @@ -1,126 +0,0 @@ -diff --git a/nx/lib/xtrans/Xtransint.h b/nx/lib/xtrans/Xtransint.h -index 88d2230..8d3d1cb 100644 ---- a/nx/lib/xtrans/Xtransint.h -+++ b/nx/lib/xtrans/Xtransint.h -@@ -443,7 +443,7 @@ static int trans_mkdir ( - int hack= 0, saveerrno=errno; \ - struct timeval tp;\ - gettimeofday(&tp,0); \ -- ErrorF(__xtransname); \ -+ ErrorF("%s", __xtransname); \ - ErrorF(x+hack,a,b,c); \ - ErrorF("timestamp (ms): %d\n",tp.tv_sec*1000+tp.tv_usec/1000); \ - errno=saveerrno; \ -@@ -453,7 +453,7 @@ static int trans_mkdir ( - int hack= 0, saveerrno=errno; \ - struct timeval tp;\ - gettimeofday(&tp,0); \ -- fprintf(stderr, __xtransname); fflush(stderr); \ -+ fprintf(stderr, "%s", __xtransname); fflush(stderr); \ - fprintf(stderr, x+hack,a,b,c); fflush(stderr); \ - fprintf(stderr, "timestamp (ms): %d\n",tp.tv_sec*1000+tp.tv_usec/1000); \ - fflush(stderr); \ -@@ -465,14 +465,14 @@ static int trans_mkdir ( - /* Use ErrorF() for the X server */ - #define PRMSG(lvl,x,a,b,c) if (lvl <= XTRANSDEBUG){ \ - int hack= 0, saveerrno=errno; \ -- ErrorF(__xtransname); \ -+ ErrorF("%s", __xtransname); \ - ErrorF(x+hack,a,b,c); \ - errno=saveerrno; \ - } else ((void)0) - #else - #define PRMSG(lvl,x,a,b,c) if (lvl <= XTRANSDEBUG){ \ - int hack= 0, saveerrno=errno; \ -- fprintf(stderr, __xtransname); fflush(stderr); \ -+ fprintf(stderr, "%s", __xtransname); fflush(stderr); \ - fprintf(stderr, x+hack,a,b,c); fflush(stderr); \ - errno=saveerrno; \ - } else ((void)0) -diff --git a/nx/lib/Xaw/DisplayList.c b/nx/lib/Xaw/DisplayList.c -index e43621b..5b2dfe6 100644 ---- a/nx/lib/Xaw/DisplayList.c -+++ b/nx/lib/Xaw/DisplayList.c -@@ -293,7 +293,7 @@ _XawDisplayList *XawCreateDisplayList(String string, Screen *screen, - } - if (fp) - { -- XmuSnprintf(cname, fp - fname + 1, fname); -+ XmuSnprintf(cname, fp - fname + 1, "%s", fname); - memmove(fname, fp + 1, strlen(fp)); - lc = cname[0] ? XawGetDisplayListClass(cname) : xlibc; - if (!lc) -diff --git a/nx/programs/Xserver/os/log.c b/nx/programs/Xserver/os/log.c -index d3aef03..c8d0d5b 100644 ---- a/nx/programs/Xserver/os/log.c -+++ b/nx/programs/Xserver/os/log.c -@@ -692,9 +692,9 @@ Error(char *str) - return; - sprintf(err, "%s: ", str); - strcat(err, strerror(saveErrno)); -- LogWrite(-1, err); -+ LogWrite(-1, "%s", err); - } else -- LogWrite(-1, strerror(saveErrno)); -+ LogWrite(-1, "%s", strerror(saveErrno)); - } - - void -diff --git a/nx/programs/Xserver/GL/glx/glximports.c b/nx/programs/Xserver/GL/glx/glximports.c -index fae2346..6e1f0db 100644 ---- a/nx/programs/Xserver/GL/glx/glximports.c -+++ b/nx/programs/Xserver/GL/glx/glximports.c -@@ -110,12 +110,12 @@ void *__glXImpRealloc(__GLcontext *gc, void *addr, size_t newSize) - - void __glXImpWarning(__GLcontext *gc, char *msg) - { -- ErrorF((char *)msg); -+ ErrorF("%s", (char *)msg); - } - - void __glXImpFatal(__GLcontext *gc, char *msg) - { -- ErrorF((char *)msg); -+ ErrorF("%s", (char *)msg); - __glXAbort(); - } - -diff --git a/nx-X11/programs/Xserver/hw/nxagent/Init.c b/nx-X11/programs/Xserver/hw/nxagent/Init.c -index 64b6583..0e0f9e1 100644 ---- a/nx-X11/programs/Xserver/hw/nxagent/Init.c -+++ b/nx-X11/programs/Xserver/hw/nxagent/Init.c -@@ -454,7 +454,7 @@ void OsVendorVErrorFFunction(const char *f, va_list args) - - nxagentStartRedirectToClientsLog(); - -- fprintf(stderr, buffer); -+ fprintf(stderr, "%s", buffer); - - nxagentEndRedirectToClientsLog(); - } -diff --git a/nx-X11/programs/Xserver/hw/nxagent/Error.c b/nx-X11/programs/Xserver/hw/nxagent/Error.c -index 963cfa2..2f778b7 100644 ---- a/nx-X11/programs/Xserver/hw/nxagent/Error.c -+++ b/nx-X11/programs/Xserver/hw/nxagent/Error.c -@@ -232,7 +232,7 @@ static int nxagentPrintError(dpy, event, fp) - - int nxagentExitHandler(const char *message) - { -- FatalError(message); -+ FatalError("%s", message); - - return 0; - } -diff --git a/nx-X11/programs/nxauth/process.c b/nx-X11/programs/nxauth/process.c -index 90fb23f..b494286 100644 ---- a/nxauth/programs/nxauth/process.c -+++ b/nxauth/programs/nxauth/process.c -@@ -974,7 +974,7 @@ fprintfhex(register FILE *fp, int len, char *cp) - char *hex; - - hex = bintohex(len, cp); -- fprintf(fp, hex); -+ fprintf(fp, "%s", hex); - free(hex); - } - |