kill prototype hacks, insist on the real thing
This commit is contained in:
parent
ef4c54735f
commit
11e343a5ca
@ -1,7 +1,7 @@
|
||||
$OpenBSD: patch-configure,v 1.1 2005/11/19 01:23:42 alek Exp $
|
||||
--- configure.orig Sat Nov 19 00:29:02 2005
|
||||
+++ configure Sat Nov 19 00:29:44 2005
|
||||
@@ -11036,7 +11036,7 @@ if eval "test \"\${ac_cv_lib_$ac_lib_var
|
||||
$OpenBSD: patch-configure,v 1.2 2010/05/22 13:26:59 espie Exp $
|
||||
--- configure.orig Sat Aug 14 14:51:35 1999
|
||||
+++ configure Sat May 22 15:20:21 2010
|
||||
@@ -11036,7 +11036,7 @@ if eval "test \"\${ac_cv_lib_$ac_lib_var+set}\" = set"
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
ac_save_LIBS="$LIBS"
|
||||
@ -10,7 +10,7 @@ $OpenBSD: patch-configure,v 1.1 2005/11/19 01:23:42 alek Exp $
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 11042 "configure"
|
||||
#include "confdefs.h"
|
||||
@@ -11071,7 +11071,7 @@ if eval "test \"\${ac_cv_lib_$ac_lib_var
|
||||
@@ -11071,7 +11071,7 @@ if eval "test \"\${ac_cv_lib_$ac_lib_var+set}\" = set"
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
ac_save_LIBS="$LIBS"
|
||||
@ -19,7 +19,7 @@ $OpenBSD: patch-configure,v 1.1 2005/11/19 01:23:42 alek Exp $
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 11077 "configure"
|
||||
#include "confdefs.h"
|
||||
@@ -11105,7 +11105,7 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_l
|
||||
@@ -11105,7 +11105,7 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = ye
|
||||
#define $ac_tr_lib 1
|
||||
EOF
|
||||
|
||||
|
40
misc/sh-utils/patches/patch-src_sys2_h
Normal file
40
misc/sh-utils/patches/patch-src_sys2_h
Normal file
@ -0,0 +1,40 @@
|
||||
$OpenBSD: patch-src_sys2_h,v 1.1 2010/05/22 13:26:59 espie Exp $
|
||||
--- src/sys2.h.orig Sat May 22 15:23:31 2010
|
||||
+++ src/sys2.h Sat May 22 15:24:44 2010
|
||||
@@ -131,34 +131,13 @@ char *alloca ();
|
||||
|
||||
#define STREQ(a, b) (strcmp ((a), (b)) == 0)
|
||||
|
||||
-#ifndef HAVE_DECL_FREE
|
||||
-void free ();
|
||||
-#endif
|
||||
+#include <string.h>
|
||||
+#include <stdlib.h>
|
||||
|
||||
-#ifndef HAVE_DECL_MALLOC
|
||||
-char *malloc ();
|
||||
-#endif
|
||||
-
|
||||
-#ifndef HAVE_DECL_MEMCHR
|
||||
-char *memchr ();
|
||||
-#endif
|
||||
-
|
||||
-#ifndef HAVE_DECL_REALLOC
|
||||
-char *realloc ();
|
||||
-#endif
|
||||
-
|
||||
#ifndef HAVE_DECL_STPCPY
|
||||
# ifndef stpcpy
|
||||
char *stpcpy ();
|
||||
# endif
|
||||
-#endif
|
||||
-
|
||||
-#ifndef HAVE_DECL_STRSTR
|
||||
-char *strstr ();
|
||||
-#endif
|
||||
-
|
||||
-#ifndef HAVE_DECL_GETENV
|
||||
-char *getenv ();
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_DECL_LSEEK
|
Loading…
Reference in New Issue
Block a user