summaryrefslogtreecommitdiff
path: root/libidmap/debian/patches/libidmap-libsunavl.patch
blob: ea50775a8f9de479227eba0814b40b5041c3d25b (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
25
26
Index: libidmap/usr/src/lib/libidmap/common/idmap_cache.c
===================================================================
--- libidmap.orig/usr/src/lib/libidmap/common/idmap_cache.c
+++ libidmap/usr/src/lib/libidmap/common/idmap_cache.c
@@ -31,7 +31,7 @@
 
 
 #include <sys/types.h>
-#include <sys/avl.h>
+#include <libsunavl.h>
 #include <assert.h>
 #include <pthread.h>
 #include <strings.h>
Index: libidmap/usr/src/lib/libidmap/Makefile.com
===================================================================
--- libidmap.orig/usr/src/lib/libidmap/Makefile.com
+++ libidmap/usr/src/lib/libidmap/Makefile.com
@@ -43,7 +43,7 @@ include ../../Makefile.lib
 C99MODE = $(C99_ENABLE)
 
 LIBS =		$(DYNLIB) $(LINTLIB)
-LDLIBS +=	-lc -lavl -lnsl -lnvpair -luutil
+LDLIBS +=	-lc -lsunavl -lnsl -lnvpair -luutil
 
 SRCDIR =	../common
 $(LINTLIB):=	SRCS = $(SRCDIR)/$(LINTSRC)