SF.net SVN: gar:[26639] csw/mgar/pkg/zlib/trunk

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Tue May 12 09:50:51 CEST 2020


Revision: 26639
          http://sourceforge.net/p/gar/code/26639
Author:   dmichelsen
Date:     2020-05-12 07:50:51 +0000 (Tue, 12 May 2020)
Log Message:
-----------
zlib/trunk: Add mapfile to allow running on older Solaris versions

Modified Paths:
--------------
    csw/mgar/pkg/zlib/trunk/Makefile

Added Paths:
-----------
    csw/mgar/pkg/zlib/trunk/files/map.zlib

Modified: csw/mgar/pkg/zlib/trunk/Makefile
===================================================================
--- csw/mgar/pkg/zlib/trunk/Makefile	2020-05-08 16:07:30 UTC (rev 26638)
+++ csw/mgar/pkg/zlib/trunk/Makefile	2020-05-12 07:50:51 UTC (rev 26639)
@@ -21,6 +21,7 @@
 MASTER_SITES += $(SF_MIRROR)
 SF_PROJECT = libpng
 DISTFILES += $(DISTNAME).tar.xz
+DISTFILES += map.zlib
 
 LICENSE = README
 
@@ -58,4 +59,10 @@
 REINPLACE_WITH  = \#!$(prefix)/bin/bash
 REINPLACE_FILES = configure
 
+# Use custom map for Solaris 10
+# This is needed because sudo uses zlib and sudo is built to also be run
+# on older Solaris versions
+LINKER_MAPS-5.10 += -M "$(abspath $(WORKDIR)/map.zlib)"
+LINKER_MAPS += $(LINKER_MAPS-$(GAROSREL))
+
 include gar/category.mk

Added: csw/mgar/pkg/zlib/trunk/files/map.zlib
===================================================================
--- csw/mgar/pkg/zlib/trunk/files/map.zlib	                        (rev 0)
+++ csw/mgar/pkg/zlib/trunk/files/map.zlib	2020-05-12 07:50:51 UTC (rev 26639)
@@ -0,0 +1,7 @@
+# Solaris 10 mapfile with libc Version 1.22.2 which is Update?? Kernel Version
+#   http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/libc/port/mapfile-vers#301
+libc.so - SUNW_1.22.2 SUNWprivate_1.1 $ADDVERS=SUNW_1.22.2;
+#  http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/libresolv2/common/mapfile-vers
+libresolv.so - SUNW_2.2 SUNWprivate_2.1 $ADDVERS=SUNW_2.2;
+# http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/libnsl/common/mapfile-vers
+libnsl.so - SUNW_1.9 SUNWprivate_1.5 $ADDVERS=SUNW_1.9;

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list