- add a bunch of missing headers that fix a crash at startup on amd64.
* another example why checking build logs for implicit declarations makes sense crash noticed by claudio@
This commit is contained in:
parent
22df7c0f3c
commit
e5e123db33
@ -1,8 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.39 2008/11/23 20:28:32 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.40 2009/01/07 17:51:16 jasper Exp $
|
||||
|
||||
COMMENT= format files for printing on PostScript printers
|
||||
|
||||
DISTNAME= a2ps-4.14
|
||||
PKGNAME= ${DISTNAME}p0
|
||||
CATEGORIES= print
|
||||
SHARED_LIBS= a2ps 2.0
|
||||
MODGNU_SHARED_LIBS=a2ps ''
|
||||
|
13
print/a2ps/patches/patch-lib_obstack_c
Normal file
13
print/a2ps/patches/patch-lib_obstack_c
Normal file
@ -0,0 +1,13 @@
|
||||
$OpenBSD: patch-lib_obstack_c,v 1.1 2009/01/07 17:51:16 jasper Exp $
|
||||
--- lib/obstack.c.orig Wed Jan 7 18:35:58 2009
|
||||
+++ lib/obstack.c Wed Jan 7 18:36:48 2009
|
||||
@@ -43,6 +43,9 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
+#if HAVE_STDLIB_H
|
||||
+# include <stdlib.h>
|
||||
+#endif
|
||||
|
||||
#ifndef ELIDE_CODE
|
||||
|
12
print/a2ps/patches/patch-lib_path-concat_c
Normal file
12
print/a2ps/patches/patch-lib_path-concat_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-lib_path-concat_c,v 1.1 2009/01/07 17:51:16 jasper Exp $
|
||||
--- lib/path-concat.c.orig Wed Jan 7 18:27:53 2009
|
||||
+++ lib/path-concat.c Wed Jan 7 18:28:12 2009
|
||||
@@ -31,6 +31,8 @@
|
||||
#endif
|
||||
#include <sys/types.h>
|
||||
|
||||
+#include <stdlib.h>
|
||||
+
|
||||
/* char *malloc (); */
|
||||
|
||||
#ifndef DIRECTORY_SEPARATOR
|
14
print/a2ps/patches/patch-lib_quotearg_c
Normal file
14
print/a2ps/patches/patch-lib_quotearg_c
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-lib_quotearg_c,v 1.1 2009/01/07 17:51:16 jasper Exp $
|
||||
--- lib/quotearg.c.orig Wed Jan 7 18:33:26 2009
|
||||
+++ lib/quotearg.c Wed Jan 7 18:34:52 2009
|
||||
@@ -67,6 +67,10 @@
|
||||
# define mbstate_t int
|
||||
#endif
|
||||
|
||||
+#if HAVE_WCTYPE_H
|
||||
+# include <wctype.h>
|
||||
+#endif
|
||||
+
|
||||
#define INT_BITS (sizeof (int) * CHAR_BIT)
|
||||
|
||||
struct quoting_options
|
14
print/a2ps/patches/patch-lib_title_c
Normal file
14
print/a2ps/patches/patch-lib_title_c
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-lib_title_c,v 1.1 2009/01/07 17:51:16 jasper Exp $
|
||||
--- lib/title.c.orig Wed Jan 7 18:35:10 2009
|
||||
+++ lib/title.c Wed Jan 7 18:35:34 2009
|
||||
@@ -27,6 +27,10 @@
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
+#if HAVE_STRING_H
|
||||
+# include <string.h>
|
||||
+#endif
|
||||
+
|
||||
#include <stdio.h>
|
||||
|
||||
#if HAVE_VPRINTF || HAVE_DOPRNT || _LIBC
|
Loading…
Reference in New Issue
Block a user