openbsd-ports/security/heimdal/patches/patch-lib_libedit_src_vis_c
ajacoutot 4308a01205 Import heimdal-1.5.3; aka resurrect security/heimdal.
Heimdal is an implementation of Kerberos 5 (and some more stuff) largely
written in Sweden.

ok sthen@

Note that it is not enabled yet because none of the requesters for this
port stood up to give me any feedback nor OK. Also this is still a WIP, it
may not even build with all the recent changes in base.
2014-07-13 14:10:13 +00:00

20 lines
591 B
Plaintext

$OpenBSD: patch-lib_libedit_src_vis_c,v 1.1 2014/07/13 14:10:14 ajacoutot Exp $
--- lib/libedit/src/vis.c.orig Thu Apr 24 13:51:29 2014
+++ lib/libedit/src/vis.c Thu Apr 24 13:51:44 2014
@@ -67,6 +67,7 @@ __RCSID("$NetBSD: vis.c,v 1.41 2009/11/23 10:08:47 plu
#include <vis.h>
#include <stdlib.h>
+#if !defined(__OpenBSD__)
#ifdef __weak_alias
__weak_alias(strsvis,_strsvis)
__weak_alias(strsvisx,_strsvisx)
@@ -74,6 +75,7 @@ __weak_alias(strvis,_strvis)
__weak_alias(strvisx,_strvisx)
__weak_alias(svis,_svis)
__weak_alias(vis,_vis)
+#endif
#endif
#if !HAVE_VIS || !HAVE_SVIS