Fix implicit declaration.
This commit is contained in:
parent
67900c9c25
commit
bd359745bf
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.60 2012/09/05 07:15:50 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.61 2012/09/20 17:49:10 ajacoutot Exp $
|
||||
|
||||
# XXX check why our getopt_long(3) fails the configure test
|
||||
# + rm patch-gl_unistd_in_h
|
||||
@ -7,6 +7,7 @@ COMMENT= GNU Transport Layer Security library
|
||||
|
||||
DISTNAME= gnutls-3.1.1
|
||||
EXTRACT_SUFX= .tar.xz
|
||||
REVISION= 0
|
||||
|
||||
CATEGORIES= security
|
||||
|
||||
|
14
security/gnutls/patches/patch-src_libopts_genshell_h
Normal file
14
security/gnutls/patches/patch-src_libopts_genshell_h
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-src_libopts_genshell_h,v 1.1 2012/09/20 17:49:10 ajacoutot Exp $
|
||||
|
||||
genshell.h:147: warning: implicit declaration of function 'gettext'
|
||||
|
||||
--- src/libopts/genshell.h.orig Thu Sep 20 19:26:23 2012
|
||||
+++ src/libopts/genshell.h Thu Sep 20 19:26:44 2012
|
||||
@@ -142,6 +142,7 @@ extern tOptions genshelloptOptions;
|
||||
#if defined(ENABLE_NLS)
|
||||
# ifndef _
|
||||
# include <stdio.h>
|
||||
+# include <libintl.h>
|
||||
static inline char* aoGetsText(char const* pz) {
|
||||
if (pz == NULL) return NULL;
|
||||
return (char*)gettext(pz);
|
Loading…
Reference in New Issue
Block a user