Fix pkglint warning about sun preprocessor symbol.

This commit is contained in:
wiz 2014-04-29 20:05:11 +00:00
parent c16156fff7
commit c90d06c832

View file

@ -1,4 +1,4 @@
$NetBSD: patch-ac,v 1.3 2013/11/17 17:02:09 minskim Exp $
$NetBSD: patch-ac,v 1.4 2014/04/29 20:05:11 wiz Exp $
--- texk/web2c/luatexdir/lua52/luaconf.h.orig 2013-04-05 10:58:37.000000000 +0000
+++ texk/web2c/luatexdir/lua52/luaconf.h
@ -16,7 +16,7 @@ $NetBSD: patch-ac,v 1.3 2013/11/17 17:02:09 minskim Exp $
*/
#if defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 302) && \
- defined(__ELF__) /* { */
+ defined(__ELF__) && !defined(__sun__) /* { */
+ defined(__ELF__) && !defined(__sun) /* { */
#define LUAI_FUNC __attribute__((visibility("hidden"))) extern
#define LUAI_DDEC LUAI_FUNC
#define LUAI_DDEF /* empty */