summaryrefslogtreecommitdiff
path: root/libsec/debian/patches/libsec-acl.y.patch
blob: d8eed940538a4b423cb49be7c4b2e14a428b8156 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Description:
 1. yylex() - implicit declaration
 2. yydebug() - undefined at link time (fixed with -t)
Index: illumos-corelibs/usr/src/lib/libsec/Makefile.com
===================================================================
--- illumos-corelibs.orig/usr/src/lib/libsec/Makefile.com	2012-10-08 04:25:42.000000000 +0400
+++ illumos-corelibs/usr/src/lib/libsec/Makefile.com	2012-10-24 23:49:31.349044187 +0400
@@ -26,7 +26,7 @@
 LIBRARY= libsec.a
 VERS= .1
 
-YFLAGS =	-d -v -b acl
+YFLAGS =	-t -d -v -b acl
 LFLAGS = 	-t
 OBJS_SHARED= acl_common.o
 GENERATED_SRCS = acl.tab.o acl_lex.o
@@ -50,6 +50,7 @@
 CERRWARN +=	-_gcc=-Wno-uninitialized
 CERRWARN +=	-_gcc=-Wno-unused-label
 CERRWARN +=	-_gcc=-Wno-unused-variable
+CERRWARN += -_gcc=-Wno-implicit-function-declaration
 
 # install this library in the root filesystem
 include ../../Makefile.rootfs