diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-09-19 21:30:26 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-09-19 21:30:26 +0000 |
commit | 8dcc7d8a76b16bf6eb80265a68d2f92e737086bc (patch) | |
tree | c599f657a6e7334616bd1ca155746d9e26c2871e /sys-apps/groff | |
parent | old (Manifest recommit) (diff) | |
download | gentoo-2-8dcc7d8a76b16bf6eb80265a68d2f92e737086bc.tar.gz gentoo-2-8dcc7d8a76b16bf6eb80265a68d2f92e737086bc.tar.bz2 gentoo-2-8dcc7d8a76b16bf6eb80265a68d2f92e737086bc.zip |
unused patches
Diffstat (limited to 'sys-apps/groff')
-rw-r--r-- | sys-apps/groff/files/groff-1.17.2-infoext.patch | 22 | ||||
-rw-r--r-- | sys-apps/groff/files/groff-1.17.2-r3-gentoo.diff | 35 |
2 files changed, 0 insertions, 57 deletions
diff --git a/sys-apps/groff/files/groff-1.17.2-infoext.patch b/sys-apps/groff/files/groff-1.17.2-infoext.patch deleted file mode 100644 index a7f0359af657..000000000000 --- a/sys-apps/groff/files/groff-1.17.2-infoext.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- groff-1.17.2/doc/Makefile.orig Mon Jul 29 17:41:44 2002 -+++ groff-1.17.2/doc/Makefile Mon Jul 29 17:42:06 2002 -@@ -65,7 +65,7 @@ - .texinfo.dvi: - texi2dvi -e $< - --groff: groff.texinfo -+groff.info: groff.texinfo - makeinfo groff.texinfo - - install: ---- groff-1.17.2/doc/groff.texinfo.orig Mon Jul 29 17:41:24 2002 -+++ groff-1.17.2/doc/groff.texinfo Mon Jul 29 17:41:37 2002 -@@ -6,7 +6,7 @@ - @c - - @c %**start of header (This is for running Texinfo on a region.) --@setfilename groff -+@setfilename groff.info - @settitle The GNU Troff Manual - @setchapternewpage odd - @footnotestyle separate diff --git a/sys-apps/groff/files/groff-1.17.2-r3-gentoo.diff b/sys-apps/groff/files/groff-1.17.2-r3-gentoo.diff deleted file mode 100644 index f9734de71fad..000000000000 --- a/sys-apps/groff/files/groff-1.17.2-r3-gentoo.diff +++ /dev/null @@ -1,35 +0,0 @@ ---- groff-1.17.2.orig/src/preproc/pic/pic.y -+++ groff-1.17.2/src/preproc/pic/pic.y -@@ -1769,8 +1769,7 @@ - return strsave(form); - } - } -- sprintf(sprintf_buf, form, n); -- return strsave(sprintf_buf); -+ return do_sprintf(form, &n, 1); - } - - char *do_sprintf(const char *form, const double *v, int nv) -@@ -1792,18 +1791,19 @@ - if (*form == '%') { - one_format += *form++; - one_format += '\0'; -- sprintf(sprintf_buf, one_format.contents()); -+ snprintf(sprintf_buf, sizeof(sprintf_buf), "%s", one_format.contents()); - } - else { - if (i >= nv) { -- lex_error("too few arguments to sprintf"); -+ lex_error("too few arguments to snprintf"); - result += one_format; - result += form; - break; - } - one_format += *form++; - one_format += '\0'; -- sprintf(sprintf_buf, one_format.contents(), v[i++]); -+ snprintf(sprintf_buf, sizeof(sprintf_buf), -+ one_format.contents(), v[i++]); - } - one_format.clear(); - result += sprintf_buf; |