summaryrefslogtreecommitdiff
path: root/libzonecfg/debian/patches/libzonecfg-use-gnuld.patch
blob: 4381b06af50665529b6b0019b5610c0b98331382 (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
27
28
29
30
Index: libzonecfg/usr/src/lib/libzonecfg/common/mapfile-vers
===================================================================
--- libzonecfg.orig/usr/src/lib/libzonecfg/common/mapfile-vers	2012-10-08 04:25:42.000000000 +0400
+++ libzonecfg/usr/src/lib/libzonecfg/common/mapfile-vers	2014-04-05 16:05:00.580952172 +0400
@@ -36,9 +36,8 @@
 # MAPFILE HEADER END
 #
 
-$mapfile_version 2
 
-SYMBOL_VERSION SUNWprivate_1.1 {
+SUNWprivate_1.1 {
     global:
 	endzoneent;
 	getzoneent;
Index: libzonecfg/usr/src/lib/Makefile.lib
===================================================================
--- libzonecfg.orig/usr/src/lib/Makefile.lib	2014-04-05 16:04:58.039833413 +0400
+++ libzonecfg/usr/src/lib/Makefile.lib	2014-04-05 16:10:19.345463535 +0400
@@ -136,8 +136,8 @@
 
 
 HSONAME=	-h$(SONAME)
-DYNFLAGS=	$(HSONAME) $(ZTEXT) $(ZDEFS) $(BDIRECT) \
-		$(MAPFILES:%=-M%) $(MAPFILE.PGA:%=-M%) $(MAPFILE.NED:%=-M%)
+DYNFLAGS=	$(HSONAME) $(ZTEXT) $(ZDEFS) \
+		$(MAPFILES:%=-Wl,--version-script=%)
 
 LDLIBS=		$(LDLIBS.lib)