mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
zlib: export Haiku versionning symbols.
This commit is contained in:
committed by
Adrien Destugues
parent
b162f3b98c
commit
a42c514411
24
sys-libs/zlib/patches/zlib-1.2.8.patchset
Normal file
24
sys-libs/zlib/patches/zlib-1.2.8.patchset
Normal file
@@ -0,0 +1,24 @@
|
||||
From faf76068355cc9169c3b3cc6564a352218ee47d1 Mon Sep 17 00:00:00 2001
|
||||
From: Adrien Destugues <pulkomandy@pulkomandy.tk>
|
||||
Date: Sun, 28 Aug 2016 18:33:07 +0200
|
||||
Subject: zlib: export Haiku shared object symbols
|
||||
|
||||
zlib by default hides all symbols starting with _ from its ABI, which
|
||||
also hides symbols used for ABI versionning on Haiku. This makes
|
||||
runtime_loader complain that it can't identify the version used.
|
||||
|
||||
diff --git a/zlib.map b/zlib.map
|
||||
index 55c6647..0a6e90e 100644
|
||||
--- a/zlib.map
|
||||
+++ b/zlib.map
|
||||
@@ -6,6 +6,7 @@ ZLIB_1.2.0 {
|
||||
inflateBackEnd;
|
||||
inflateBackInit_;
|
||||
inflateCopy;
|
||||
+ _gSharedObjectHaiku*;
|
||||
local:
|
||||
deflate_copyright;
|
||||
inflate_copyright;
|
||||
--
|
||||
2.7.0
|
||||
|
||||
@@ -16,6 +16,7 @@ LICENSE="Zlib"
|
||||
REVISION="4"
|
||||
SOURCE_URI="http://zlib.net/zlib-1.2.8.tar.xz"
|
||||
CHECKSUM_SHA256="831df043236df8e9a7667b9e3bb37e1fcb1220a0f163b6de2626774b9590d057"
|
||||
PATCHES="zlib-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64 arm ?ppc"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
Reference in New Issue
Block a user