summaryrefslogtreecommitdiff
path: root/security/heimdal/patches/patch-lib_libedit_src_unvis.c
blob: 4617abdc17c20b6f2dd95929234e07e8ec53bcc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-lib_libedit_src_unvis.c,v 1.4 2015/09/17 17:12:19 joerg Exp $

* Fix OpenBSD 5.5 build

--- lib/libedit/src/unvis.c.orig	2012-12-09 22:06:44.000000000 +0000
+++ lib/libedit/src/unvis.c
@@ -46,9 +46,11 @@
 #include <stdio.h>
 #include <vis.h>
 
+#if !defined(__OpenBSD__)
 #ifdef __weak_alias
 __weak_alias(strunvis,_strunvis)
 #endif
+#endif
 
 #if !HAVE_VIS
 /*