[arch-commits] Commit in a2ps/repos/extra-x86_64 (16 files)

Allan McRae allan at archlinux.org
Thu Nov 8 12:28:55 UTC 2018


    Date: Thursday, November 8, 2018 @ 12:28:55
  Author: allan
Revision: 338361

archrelease: copy trunk to extra-x86_64

Added:
  a2ps/repos/extra-x86_64/PKGBUILD
    (from rev 338360, a2ps/trunk/PKGBUILD)
  a2ps/repos/extra-x86_64/a2ps-4.13-manpage-chmod.patch
    (from rev 338360, a2ps/trunk/a2ps-4.13-manpage-chmod.patch)
  a2ps/repos/extra-x86_64/a2ps-4.13-security.patch
    (from rev 338360, a2ps/trunk/a2ps-4.13-security.patch)
  a2ps/repos/extra-x86_64/a2ps-4.13c-emacs.patch
    (from rev 338360, a2ps/trunk/a2ps-4.13c-emacs.patch)
  a2ps/repos/extra-x86_64/a2ps-4.13c-fnmatch-replacement.patch
    (from rev 338360, a2ps/trunk/a2ps-4.13c-fnmatch-replacement.patch)
  a2ps/repos/extra-x86_64/a2ps-4.14-check-mempcpy.patch
    (from rev 338360, a2ps/trunk/a2ps-4.14-check-mempcpy.patch)
  a2ps/repos/extra-x86_64/a2ps-4.14-fix-stpcpy-proto.patch
    (from rev 338360, a2ps/trunk/a2ps-4.14-fix-stpcpy-proto.patch)
  a2ps/repos/extra-x86_64/a2ps-texinfo5.patch
    (from rev 338360, a2ps/trunk/a2ps-texinfo5.patch)
Deleted:
  a2ps/repos/extra-x86_64/PKGBUILD
  a2ps/repos/extra-x86_64/a2ps-4.13-manpage-chmod.patch
  a2ps/repos/extra-x86_64/a2ps-4.13-security.patch
  a2ps/repos/extra-x86_64/a2ps-4.13c-emacs.patch
  a2ps/repos/extra-x86_64/a2ps-4.13c-fnmatch-replacement.patch
  a2ps/repos/extra-x86_64/a2ps-4.14-check-mempcpy.patch
  a2ps/repos/extra-x86_64/a2ps-4.14-fix-stpcpy-proto.patch
  a2ps/repos/extra-x86_64/a2ps-texinfo5.patch

--------------------------------------+
 PKGBUILD                             |  113 ++++++++++++++--------------
 a2ps-4.13-manpage-chmod.patch        |   24 +++---
 a2ps-4.13-security.patch             |  130 ++++++++++++++++-----------------
 a2ps-4.13c-emacs.patch               |   20 ++---
 a2ps-4.13c-fnmatch-replacement.patch |   86 ++++++++++-----------
 a2ps-4.14-check-mempcpy.patch        |   24 +++---
 a2ps-4.14-fix-stpcpy-proto.patch     |   34 ++++----
 a2ps-texinfo5.patch                  |   92 +++++++++++------------
 8 files changed, 261 insertions(+), 262 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-08 12:27:08 UTC (rev 338360)
+++ PKGBUILD	2018-11-08 12:28:55 UTC (rev 338361)
@@ -1,57 +0,0 @@
-# $Id$
-# Maintainer: Eric Bélanger <eric at archlinux.org>
-
-pkgname=a2ps
-pkgver=4.14
-pkgrel=7
-pkgdesc="An Any to PostScript filter"
-arch=('i686' 'x86_64')
-url="http://www.gnu.org/software/a2ps/"
-license=('GPL3')
-depends=('psutils' 'imagemagick')
-makedepends=('gperf')
-backup=('etc/a2ps/a2ps.cfg' 'etc/a2ps/a2ps-site.cfg')
-source=(ftp://ftp.gnu.org/gnu/a2ps/${pkgname}-${pkgver}.tar.gz{,.sig}
-        a2ps-4.13c-fnmatch-replacement.patch a2ps-4.13c-emacs.patch
-	a2ps-4.13-manpage-chmod.patch a2ps-4.14-check-mempcpy.patch
-	a2ps-4.14-fix-stpcpy-proto.patch a2ps-texinfo5.patch
-	a2ps-4.13-security.patch)
-sha1sums=('365abbbe4b7128bf70dad16d06e23c5701874852'
-          'SKIP'
-          '8783952d3410d8d59ed953e1db45e2ef1a0b8f65'
-          '94e35a6ad9268161bec22a56d4cfb696d635994a'
-          '2bb3d0a2ef2f3ff9262723e35c742a80ab0235ce'
-          '6aed29c1399e79f3914b408059610f9e7c0fc38e'
-          '58fa90134f1027e3f05aeb08212cbcc10f420738'
-          '81269db9dd29685b0ece2539070ced3f7a8472df'
-          '93a4db17edfaa99e3498c7d952c560dab49dbe42')
-validpgpkeys=('6EB39358D8328FE3CDC903A8CB6FA340E7075A54')
-
-prepare() {
-  cd ${pkgname}-${pkgver}
-  sed -i -e '/^AM_C_PROTOTYPES/d' -e '/^AUTOMAKE_OPTIONS.*ansi2knr/d' \
-    -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' -e 's:AM_PROG_CC_STDC:AC_PROG_CC:' \
-    configure.in {contrib/sample,lib,src}/Makefile.am m4/protos.m4
-  sed -i "s:^countdictstack: \0:" contrib/psset.in
-  patch -p1 -i "${srcdir}/a2ps-4.13c-fnmatch-replacement.patch"
-  patch -p1 -i "${srcdir}/a2ps-4.13c-emacs.patch"
-  patch -p1 -i "${srcdir}/a2ps-4.13-manpage-chmod.patch"
-  patch -p1 -i "${srcdir}/a2ps-4.14-check-mempcpy.patch"
-  patch -p0 -i "${srcdir}/a2ps-4.14-fix-stpcpy-proto.patch"
-  patch -p1 -i "${srcdir}/a2ps-texinfo5.patch"
-  patch -p1 -i "${srcdir}/a2ps-4.13-security.patch"
-}
-
-build() {
-  cd ${pkgname}-${pkgver}
-  libtoolize --force --copy
-  autoreconf --force --install -I m4 
-  LIBS+="-lm" ./configure --prefix=/usr --sysconfdir=/etc/a2ps \
-    --includedir=/usr/include --enable-shared --enable-nls
-  make
-}
-
-package() {
-  cd ${pkgname}-${pkgver}
-  make DESTDIR="${pkgdir}" install
-}

Copied: a2ps/repos/extra-x86_64/PKGBUILD (from rev 338360, a2ps/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-11-08 12:28:55 UTC (rev 338361)
@@ -0,0 +1,56 @@
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=a2ps
+pkgver=4.14
+pkgrel=8
+pkgdesc="An Any to PostScript filter"
+arch=('x86_64')
+url="http://www.gnu.org/software/a2ps/"
+license=('GPL3')
+depends=('psutils' 'imagemagick')
+makedepends=('gperf')
+backup=('etc/a2ps/a2ps.cfg' 'etc/a2ps/a2ps-site.cfg')
+source=(ftp://ftp.gnu.org/gnu/a2ps/${pkgname}-${pkgver}.tar.gz{,.sig}
+        a2ps-4.13c-fnmatch-replacement.patch a2ps-4.13c-emacs.patch
+	a2ps-4.13-manpage-chmod.patch a2ps-4.14-check-mempcpy.patch
+	a2ps-4.14-fix-stpcpy-proto.patch a2ps-texinfo5.patch
+	a2ps-4.13-security.patch)
+sha1sums=('365abbbe4b7128bf70dad16d06e23c5701874852'
+          'SKIP'
+          '8783952d3410d8d59ed953e1db45e2ef1a0b8f65'
+          '94e35a6ad9268161bec22a56d4cfb696d635994a'
+          '2bb3d0a2ef2f3ff9262723e35c742a80ab0235ce'
+          '6aed29c1399e79f3914b408059610f9e7c0fc38e'
+          '58fa90134f1027e3f05aeb08212cbcc10f420738'
+          '81269db9dd29685b0ece2539070ced3f7a8472df'
+          '93a4db17edfaa99e3498c7d952c560dab49dbe42')
+validpgpkeys=('6EB39358D8328FE3CDC903A8CB6FA340E7075A54')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  sed -i -e '/^AM_C_PROTOTYPES/d' -e '/^AUTOMAKE_OPTIONS.*ansi2knr/d' \
+    -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' -e 's:AM_PROG_CC_STDC:AC_PROG_CC:' \
+    configure.in {contrib/sample,lib,src}/Makefile.am m4/protos.m4
+  sed -i "s:^countdictstack: \0:" contrib/psset.in
+  patch -p1 -i "${srcdir}/a2ps-4.13c-fnmatch-replacement.patch"
+  patch -p1 -i "${srcdir}/a2ps-4.13c-emacs.patch"
+  patch -p1 -i "${srcdir}/a2ps-4.13-manpage-chmod.patch"
+  patch -p1 -i "${srcdir}/a2ps-4.14-check-mempcpy.patch"
+  patch -p0 -i "${srcdir}/a2ps-4.14-fix-stpcpy-proto.patch"
+  patch -p1 -i "${srcdir}/a2ps-texinfo5.patch"
+  patch -p1 -i "${srcdir}/a2ps-4.13-security.patch"
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  libtoolize --force --copy
+  autoreconf --force --install -I m4 
+  LIBS+="-lm" ./configure --prefix=/usr --sysconfdir=/etc/a2ps \
+    --includedir=/usr/include --enable-shared --enable-nls
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+}

Deleted: a2ps-4.13-manpage-chmod.patch
===================================================================
--- a2ps-4.13-manpage-chmod.patch	2018-11-08 12:27:08 UTC (rev 338360)
+++ a2ps-4.13-manpage-chmod.patch	2018-11-08 12:28:55 UTC (rev 338361)
@@ -1,12 +0,0 @@
-diff -ur a2ps-4.13.orig/man/Makefile.maint a2ps-4.13/man/Makefile.maint
---- a2ps-4.13.orig/man/Makefile.maint	2002-03-04 20:46:26.000000000 +0200
-+++ a2ps-4.13/man/Makefile.maint	2007-02-19 21:50:29.000000000 +0200
-@@ -20,7 +20,7 @@
- 	    --include=$(basename $@).x \
- 	    --include=common.x \
- 	    $(executable) > $@-t || exit 1; \
--	  chmod -w $@-t || exit 1; \
-+	  chmod a-w $@-t || exit 1; \
- 	  rm -f $@ || exit 1; \
- 	  mv $@-t $@ || exit 1; \
- 	else \

Copied: a2ps/repos/extra-x86_64/a2ps-4.13-manpage-chmod.patch (from rev 338360, a2ps/trunk/a2ps-4.13-manpage-chmod.patch)
===================================================================
--- a2ps-4.13-manpage-chmod.patch	                        (rev 0)
+++ a2ps-4.13-manpage-chmod.patch	2018-11-08 12:28:55 UTC (rev 338361)
@@ -0,0 +1,12 @@
+diff -ur a2ps-4.13.orig/man/Makefile.maint a2ps-4.13/man/Makefile.maint
+--- a2ps-4.13.orig/man/Makefile.maint	2002-03-04 20:46:26.000000000 +0200
++++ a2ps-4.13/man/Makefile.maint	2007-02-19 21:50:29.000000000 +0200
+@@ -20,7 +20,7 @@
+ 	    --include=$(basename $@).x \
+ 	    --include=common.x \
+ 	    $(executable) > $@-t || exit 1; \
+-	  chmod -w $@-t || exit 1; \
++	  chmod a-w $@-t || exit 1; \
+ 	  rm -f $@ || exit 1; \
+ 	  mv $@-t $@ || exit 1; \
+ 	else \

Deleted: a2ps-4.13-security.patch
===================================================================
--- a2ps-4.13-security.patch	2018-11-08 12:27:08 UTC (rev 338360)
+++ a2ps-4.13-security.patch	2018-11-08 12:28:55 UTC (rev 338361)
@@ -1,65 +0,0 @@
---- a2ps-4.13/lib/routines.c.security	Sat Oct 16 05:46:37 1999
-+++ a2ps-4.13/lib/routines.c	Mon Feb 12 17:45:15 2001
-@@ -242,3 +242,50 @@
-   /* Don't complain if you can't unlink.  Who cares of a tmp file? */
-   unlink (filename);
- }
-+
-+/*
-+ * Securely generate a temp file, and make sure it gets
-+ * deleted upon exit.
-+ */
-+static char **	tempfiles;
-+static unsigned	ntempfiles;
-+
-+static void
-+cleanup_tempfiles()
-+{
-+	while (ntempfiles--)
-+		unlink(tempfiles[ntempfiles]);
-+}
-+
-+char *
-+safe_tempnam(const char *pfx)
-+{
-+	char	*dirname, *filename;
-+	int	fd;
-+
-+	if (!(dirname = getenv("TMPDIR")))
-+		dirname = "/tmp";
-+
-+	tempfiles = (char **) realloc(tempfiles,
-+			(ntempfiles+1) * sizeof(char *));
-+	if (tempfiles == NULL)
-+		return NULL;
-+
-+	filename = malloc(strlen(dirname) + strlen(pfx) + sizeof("/XXXXXX"));
-+	if (!filename)
-+		return NULL;
-+
-+	sprintf(filename, "%s/%sXXXXXX", dirname, pfx);
-+
-+	if ((fd = mkstemp(filename)) < 0) {
-+		free(filename);
-+		return NULL;
-+	}
-+	close(fd);
-+
-+	if (ntempfiles == 0)
-+		atexit(cleanup_tempfiles);
-+	tempfiles[ntempfiles++] = filename;
-+
-+	return filename;
-+}
---- a2ps-4.13/lib/routines.h.security	Mon Oct 18 21:24:41 1999
-+++ a2ps-4.13/lib/routines.h	Mon Feb 12 17:39:30 2001
-@@ -255,7 +255,8 @@
- /* If _STR_ is not defined, give it a tempname in _TMPDIR_ */
- #define tempname_ensure(Str)				\
- do {							\
--  (Str) = (Str) ? (Str) : tempnam (NULL, "a2_");	\
-+  (Str) = (Str) ? (Str) : safe_tempnam("a2_");	\
- } while (0)
-+char * safe_tempnam(const char *);
- 
- #endif

Copied: a2ps/repos/extra-x86_64/a2ps-4.13-security.patch (from rev 338360, a2ps/trunk/a2ps-4.13-security.patch)
===================================================================
--- a2ps-4.13-security.patch	                        (rev 0)
+++ a2ps-4.13-security.patch	2018-11-08 12:28:55 UTC (rev 338361)
@@ -0,0 +1,65 @@
+--- a2ps-4.13/lib/routines.c.security	Sat Oct 16 05:46:37 1999
++++ a2ps-4.13/lib/routines.c	Mon Feb 12 17:45:15 2001
+@@ -242,3 +242,50 @@
+   /* Don't complain if you can't unlink.  Who cares of a tmp file? */
+   unlink (filename);
+ }
++
++/*
++ * Securely generate a temp file, and make sure it gets
++ * deleted upon exit.
++ */
++static char **	tempfiles;
++static unsigned	ntempfiles;
++
++static void
++cleanup_tempfiles()
++{
++	while (ntempfiles--)
++		unlink(tempfiles[ntempfiles]);
++}
++
++char *
++safe_tempnam(const char *pfx)
++{
++	char	*dirname, *filename;
++	int	fd;
++
++	if (!(dirname = getenv("TMPDIR")))
++		dirname = "/tmp";
++
++	tempfiles = (char **) realloc(tempfiles,
++			(ntempfiles+1) * sizeof(char *));
++	if (tempfiles == NULL)
++		return NULL;
++
++	filename = malloc(strlen(dirname) + strlen(pfx) + sizeof("/XXXXXX"));
++	if (!filename)
++		return NULL;
++
++	sprintf(filename, "%s/%sXXXXXX", dirname, pfx);
++
++	if ((fd = mkstemp(filename)) < 0) {
++		free(filename);
++		return NULL;
++	}
++	close(fd);
++
++	if (ntempfiles == 0)
++		atexit(cleanup_tempfiles);
++	tempfiles[ntempfiles++] = filename;
++
++	return filename;
++}
+--- a2ps-4.13/lib/routines.h.security	Mon Oct 18 21:24:41 1999
++++ a2ps-4.13/lib/routines.h	Mon Feb 12 17:39:30 2001
+@@ -255,7 +255,8 @@
+ /* If _STR_ is not defined, give it a tempname in _TMPDIR_ */
+ #define tempname_ensure(Str)				\
+ do {							\
+-  (Str) = (Str) ? (Str) : tempnam (NULL, "a2_");	\
++  (Str) = (Str) ? (Str) : safe_tempnam("a2_");	\
+ } while (0)
++char * safe_tempnam(const char *);
+ 
+ #endif

Deleted: a2ps-4.13c-emacs.patch
===================================================================
--- a2ps-4.13c-emacs.patch	2018-11-08 12:27:08 UTC (rev 338360)
+++ a2ps-4.13c-emacs.patch	2018-11-08 12:28:55 UTC (rev 338361)
@@ -1,10 +0,0 @@
---- a2ps-4.13/contrib/emacs/a2ps-print.el.orig	2005-12-05 08:03:48.000000000 +0100
-+++ a2ps-4.13/contrib/emacs/a2ps-print.el	2005-12-06 16:38:14.000000000 +0100
-@@ -93,6 +93,7 @@
- 			  (concat "--center-title=" name)
- 			  (concat "--footer=" (concat name " Emacs buffer"))
- 			  (concat "--pretty-print=" filetype)
-+			  (concat "-d")
- ;Uncommenting the following gives a print preview (only):
- ;			  (concat "--output=/tmp/foo.ps")
- 			  )

Copied: a2ps/repos/extra-x86_64/a2ps-4.13c-emacs.patch (from rev 338360, a2ps/trunk/a2ps-4.13c-emacs.patch)
===================================================================
--- a2ps-4.13c-emacs.patch	                        (rev 0)
+++ a2ps-4.13c-emacs.patch	2018-11-08 12:28:55 UTC (rev 338361)
@@ -0,0 +1,10 @@
+--- a2ps-4.13/contrib/emacs/a2ps-print.el.orig	2005-12-05 08:03:48.000000000 +0100
++++ a2ps-4.13/contrib/emacs/a2ps-print.el	2005-12-06 16:38:14.000000000 +0100
+@@ -93,6 +93,7 @@
+ 			  (concat "--center-title=" name)
+ 			  (concat "--footer=" (concat name " Emacs buffer"))
+ 			  (concat "--pretty-print=" filetype)
++			  (concat "-d")
+ ;Uncommenting the following gives a print preview (only):
+ ;			  (concat "--output=/tmp/foo.ps")
+ 			  )

Deleted: a2ps-4.13c-fnmatch-replacement.patch
===================================================================
--- a2ps-4.13c-fnmatch-replacement.patch	2018-11-08 12:27:08 UTC (rev 338360)
+++ a2ps-4.13c-fnmatch-replacement.patch	2018-11-08 12:28:55 UTC (rev 338361)
@@ -1,43 +0,0 @@
-diff -Naurp a2ps-4.13.orig/lib/fnmatch.c a2ps-4.13/lib/fnmatch.c
---- a2ps-4.13.orig/lib/fnmatch.c	2002-03-04 12:46:25 -0600
-+++ a2ps-4.13/lib/fnmatch.c	2006-05-27 11:41:15 -0500
-@@ -27,18 +27,6 @@
- #include <fnmatch.h>
- #include <ctype.h>
- 
--
--/* Comment out all this code if we are using the GNU C Library, and are not
--   actually compiling the library itself.  This code is part of the GNU C
--   Library, but also included in many other GNU distributions.  Compiling
--   and linking in this code is a waste when using the GNU C library
--   (especially if it is a shared library).  Rather than having every GNU
--   program understand `configure --with-gnu-libc' and omit the object files,
--   it is simpler to just do this in the source for each such file.  */
--
--#if defined _LIBC || !defined __GNU_LIBRARY__
--
--
- # if defined STDC_HEADERS || !defined isascii
- #  define ISASCII(c) 1
- # else
-@@ -52,10 +40,13 @@
- extern int errno;
- # endif
- 
-+/* fnmatch replacement taken from the GNU C Library for systems that 
-+   provide a broken implementation. */
-+
- /* Match STRING against the filename pattern PATTERN, returning zero if
-    it matches, nonzero if not.  */
- int
--fnmatch (const char *pattern, const char *string, int flags)
-+rpl_fnmatch (const char *pattern, const char *string, int flags)
- {
-   register const char *p = pattern, *n = string;
-   register char c;
-@@ -233,5 +224,3 @@ fnmatch (const char *pattern, const char
- 
- # undef FOLD
- }
--
--#endif	/* _LIBC or not __GNU_LIBRARY__.  */

Copied: a2ps/repos/extra-x86_64/a2ps-4.13c-fnmatch-replacement.patch (from rev 338360, a2ps/trunk/a2ps-4.13c-fnmatch-replacement.patch)
===================================================================
--- a2ps-4.13c-fnmatch-replacement.patch	                        (rev 0)
+++ a2ps-4.13c-fnmatch-replacement.patch	2018-11-08 12:28:55 UTC (rev 338361)
@@ -0,0 +1,43 @@
+diff -Naurp a2ps-4.13.orig/lib/fnmatch.c a2ps-4.13/lib/fnmatch.c
+--- a2ps-4.13.orig/lib/fnmatch.c	2002-03-04 12:46:25 -0600
++++ a2ps-4.13/lib/fnmatch.c	2006-05-27 11:41:15 -0500
+@@ -27,18 +27,6 @@
+ #include <fnmatch.h>
+ #include <ctype.h>
+ 
+-
+-/* Comment out all this code if we are using the GNU C Library, and are not
+-   actually compiling the library itself.  This code is part of the GNU C
+-   Library, but also included in many other GNU distributions.  Compiling
+-   and linking in this code is a waste when using the GNU C library
+-   (especially if it is a shared library).  Rather than having every GNU
+-   program understand `configure --with-gnu-libc' and omit the object files,
+-   it is simpler to just do this in the source for each such file.  */
+-
+-#if defined _LIBC || !defined __GNU_LIBRARY__
+-
+-
+ # if defined STDC_HEADERS || !defined isascii
+ #  define ISASCII(c) 1
+ # else
+@@ -52,10 +40,13 @@
+ extern int errno;
+ # endif
+ 
++/* fnmatch replacement taken from the GNU C Library for systems that 
++   provide a broken implementation. */
++
+ /* Match STRING against the filename pattern PATTERN, returning zero if
+    it matches, nonzero if not.  */
+ int
+-fnmatch (const char *pattern, const char *string, int flags)
++rpl_fnmatch (const char *pattern, const char *string, int flags)
+ {
+   register const char *p = pattern, *n = string;
+   register char c;
+@@ -233,5 +224,3 @@ fnmatch (const char *pattern, const char
+ 
+ # undef FOLD
+ }
+-
+-#endif	/* _LIBC or not __GNU_LIBRARY__.  */

Deleted: a2ps-4.14-check-mempcpy.patch
===================================================================
--- a2ps-4.14-check-mempcpy.patch	2018-11-08 12:27:08 UTC (rev 338360)
+++ a2ps-4.14-check-mempcpy.patch	2018-11-08 12:28:55 UTC (rev 338361)
@@ -1,12 +0,0 @@
---- a2ps-4.14-orig/configure.in	2008-04-16 08:36:03.000000000 +0200
-+++ a2ps-4.14/configure.in	2008-04-16 08:36:29.000000000 +0200
-@@ -137,7 +137,8 @@
- ad_REPLACE_FUNC_STRCASECMP
- ad_REPLACE_FUNC_STRNCASECMP
- ad_REPLACE_FUNC_RENAME
--AC_CHECK_FUNCS(uname strchr strerror strerror_r getcwd bcopy bzero tempnam strsignal psignal setlocale)
-+AC_CHECK_FUNCS(uname strchr strerror strerror_r getcwd bcopy bzero \
-+  tempnam strsignal psignal setlocale mempcpy)
- ad_FUNC_SYSTEMPAPERNAME
- ad_FUNC_ATEXIT
- ad_FUNC_STRFTIME

Copied: a2ps/repos/extra-x86_64/a2ps-4.14-check-mempcpy.patch (from rev 338360, a2ps/trunk/a2ps-4.14-check-mempcpy.patch)
===================================================================
--- a2ps-4.14-check-mempcpy.patch	                        (rev 0)
+++ a2ps-4.14-check-mempcpy.patch	2018-11-08 12:28:55 UTC (rev 338361)
@@ -0,0 +1,12 @@
+--- a2ps-4.14-orig/configure.in	2008-04-16 08:36:03.000000000 +0200
++++ a2ps-4.14/configure.in	2008-04-16 08:36:29.000000000 +0200
+@@ -137,7 +137,8 @@
+ ad_REPLACE_FUNC_STRCASECMP
+ ad_REPLACE_FUNC_STRNCASECMP
+ ad_REPLACE_FUNC_RENAME
+-AC_CHECK_FUNCS(uname strchr strerror strerror_r getcwd bcopy bzero tempnam strsignal psignal setlocale)
++AC_CHECK_FUNCS(uname strchr strerror strerror_r getcwd bcopy bzero \
++  tempnam strsignal psignal setlocale mempcpy)
+ ad_FUNC_SYSTEMPAPERNAME
+ ad_FUNC_ATEXIT
+ ad_FUNC_STRFTIME

Deleted: a2ps-4.14-fix-stpcpy-proto.patch
===================================================================
--- a2ps-4.14-fix-stpcpy-proto.patch	2018-11-08 12:27:08 UTC (rev 338360)
+++ a2ps-4.14-fix-stpcpy-proto.patch	2018-11-08 12:28:55 UTC (rev 338361)
@@ -1,17 +0,0 @@
-=== modified file 'lib/xstrrpl.c'
---- lib/xstrrpl.c	2008-04-14 18:04:50 +0000
-+++ lib/xstrrpl.c	2008-04-14 18:20:20 +0000
-@@ -20,12 +20,10 @@
- 
- #include "system.h"
- #include <assert.h>
- #include "xstrrpl.h"
- 
--extern char * stpcpy();
--
- /* Perform subsitutions in string.  Result is malloc'd
-    E.g., result = xstrrrpl ("1234", subst) gives result = "112333"
-    where subst = { {"1", "11"}, {"3", "333"}, { "4", ""}}
-    */
- char *
-

Copied: a2ps/repos/extra-x86_64/a2ps-4.14-fix-stpcpy-proto.patch (from rev 338360, a2ps/trunk/a2ps-4.14-fix-stpcpy-proto.patch)
===================================================================
--- a2ps-4.14-fix-stpcpy-proto.patch	                        (rev 0)
+++ a2ps-4.14-fix-stpcpy-proto.patch	2018-11-08 12:28:55 UTC (rev 338361)
@@ -0,0 +1,17 @@
+=== modified file 'lib/xstrrpl.c'
+--- lib/xstrrpl.c	2008-04-14 18:04:50 +0000
++++ lib/xstrrpl.c	2008-04-14 18:20:20 +0000
+@@ -20,12 +20,10 @@
+ 
+ #include "system.h"
+ #include <assert.h>
+ #include "xstrrpl.h"
+ 
+-extern char * stpcpy();
+-
+ /* Perform subsitutions in string.  Result is malloc'd
+    E.g., result = xstrrrpl ("1234", subst) gives result = "112333"
+    where subst = { {"1", "11"}, {"3", "333"}, { "4", ""}}
+    */
+ char *
+

Deleted: a2ps-texinfo5.patch
===================================================================
--- a2ps-texinfo5.patch	2018-11-08 12:27:08 UTC (rev 338360)
+++ a2ps-texinfo5.patch	2018-11-08 12:28:55 UTC (rev 338361)
@@ -1,46 +0,0 @@
-diff -Naur a2ps-4.14-orig/doc/a2ps.texi a2ps-4.14/doc/a2ps.texi
---- a2ps-4.14-orig/doc/a2ps.texi	2013-07-30 02:27:21.950434805 -0400
-+++ a2ps-4.14/doc/a2ps.texi	2013-07-30 02:29:07.286445041 -0400
-@@ -22,12 +22,12 @@
- @c `a2ps'.  Avoid those quotes.
- @iftex
- @macro pack
-- at code{@value{PACKAGE}}@c
-+ at code{@value{PACKAGE}}
- @end macro
- @end iftex
- @ifnottex
- @macro pack
-- at value{PACKAGE}@c
-+ at value{PACKAGE}
- @end macro
- @end ifnottex
- 
-@@ -43,11 +43,6 @@
- @end macro
- @end ifnottex
- 
-- at c TeX variants
-- at macro LaTeX
--La at TeX{}
-- at end macro
--
- @macro PreTeX
- Pre at TeX{}
- @end macro
-@@ -3965,13 +3960,13 @@
- @itemx \end@{enumerate@}
- @itemx \begin@{description@}
- @itemx \end@{description@}
--These commands are legal in @LaTeX but have no sense in @PreTeX{}.
-+These commands are legal in @LaTeX{} but have no sense in @PreTeX{}.
- Hence there are simply ignored and not printed (if immediately followed
- by an end-of-line).
- @end table
- 
- @node Differences with LaTeX
-- at subsubsection Differences with @LaTeX
-+ at subsubsection Differences with @LaTeX{}
- The following symbols, inherited from the style sheet @code{Symbol}, are
- not supported by @LaTeX{}:
- 

Copied: a2ps/repos/extra-x86_64/a2ps-texinfo5.patch (from rev 338360, a2ps/trunk/a2ps-texinfo5.patch)
===================================================================
--- a2ps-texinfo5.patch	                        (rev 0)
+++ a2ps-texinfo5.patch	2018-11-08 12:28:55 UTC (rev 338361)
@@ -0,0 +1,46 @@
+diff -Naur a2ps-4.14-orig/doc/a2ps.texi a2ps-4.14/doc/a2ps.texi
+--- a2ps-4.14-orig/doc/a2ps.texi	2013-07-30 02:27:21.950434805 -0400
++++ a2ps-4.14/doc/a2ps.texi	2013-07-30 02:29:07.286445041 -0400
+@@ -22,12 +22,12 @@
+ @c `a2ps'.  Avoid those quotes.
+ @iftex
+ @macro pack
+- at code{@value{PACKAGE}}@c
++ at code{@value{PACKAGE}}
+ @end macro
+ @end iftex
+ @ifnottex
+ @macro pack
+- at value{PACKAGE}@c
++ at value{PACKAGE}
+ @end macro
+ @end ifnottex
+ 
+@@ -43,11 +43,6 @@
+ @end macro
+ @end ifnottex
+ 
+- at c TeX variants
+- at macro LaTeX
+-La at TeX{}
+- at end macro
+-
+ @macro PreTeX
+ Pre at TeX{}
+ @end macro
+@@ -3965,13 +3960,13 @@
+ @itemx \end@{enumerate@}
+ @itemx \begin@{description@}
+ @itemx \end@{description@}
+-These commands are legal in @LaTeX but have no sense in @PreTeX{}.
++These commands are legal in @LaTeX{} but have no sense in @PreTeX{}.
+ Hence there are simply ignored and not printed (if immediately followed
+ by an end-of-line).
+ @end table
+ 
+ @node Differences with LaTeX
+- at subsubsection Differences with @LaTeX
++ at subsubsection Differences with @LaTeX{}
+ The following symbols, inherited from the style sheet @code{Symbol}, are
+ not supported by @LaTeX{}:
+ 


More information about the arch-commits mailing list