mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
libtasn1: bump to 4.13, add debuginfo. (#2207)
This commit is contained in:
@@ -4,20 +4,24 @@ DESCRIPTION="The Libtasn1 library provides Abstract Syntax Notation One \
|
||||
structures management, and Distinguished Encoding Rules (DER, as per \
|
||||
X.690) encoding and decoding functions."
|
||||
HOMEPAGE="https://www.gnu.org/software/libtasn1/"
|
||||
COPYRIGHT="2002-2017 Free Software Foundation, Inc."
|
||||
COPYRIGHT="2002-2018 Free Software Foundation, Inc."
|
||||
LICENSE="GNU LGPL v2.1
|
||||
GNU GPL v3"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://ftp.gnu.org/gnu/libtasn1/libtasn1-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="6753da2e621257f33f5b051cc114d417e5206a0818fe0b1ecfd6153f70934753"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://ftpmirror.gnu.org/libtasn1/libtasn1-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="7e528e8c317ddd156230c4e31d082cd13e7ddeb7a54824be82632209550c8cca"
|
||||
PATCHES="libtasn1-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
libVersion="6.5.5"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
portVersionCompat="$portVersion compat >= 4"
|
||||
|
||||
PROVIDES="
|
||||
libtasn1$secondaryArchSuffix = $portVersion compat >= 4
|
||||
lib:libtasn1$secondaryArchSuffix = 6.5.4 compat >= 6
|
||||
libtasn1$secondaryArchSuffix = $portVersionCompat
|
||||
lib:libtasn1$secondaryArchSuffix = $libVersionCompat
|
||||
cmd:asn1Coding$secondaryArchSuffix
|
||||
cmd:asn1Decoding$secondaryArchSuffix
|
||||
cmd:asn1Parser$secondaryArchSuffix
|
||||
@@ -27,8 +31,8 @@ REQUIRES="
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libtasn1${secondaryArchSuffix}_devel = $portVersion compat >= 4
|
||||
devel:libtasn1$secondaryArchSuffix = 6.5.4 compat >= 6
|
||||
libtasn1${secondaryArchSuffix}_devel = $portVersionCompat
|
||||
devel:libtasn1$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libtasn1$secondaryArchSuffix == $portVersion base
|
||||
@@ -49,6 +53,9 @@ BUILD_PREREQUIRES="
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
defineDebugInfoPackage libtasn1$secondaryArchSuffix \
|
||||
"$libDir"/libtasn1.so.$libVersion
|
||||
|
||||
BUILD()
|
||||
{
|
||||
runConfigure ./configure --disable-gcc-warnings
|
||||
@@ -60,6 +67,7 @@ INSTALL()
|
||||
make install
|
||||
|
||||
rm $libDir/libtasn1.la
|
||||
rm -f "$infoDir"/dir
|
||||
|
||||
prepareInstalledDevelLibs libtasn1
|
||||
fixPkgconfig
|
||||
@@ -5,11 +5,11 @@ Subject: Do not use __GNUC_PATCHLEVEL__ if it's not defined.
|
||||
|
||||
|
||||
diff --git a/lib/libtasn1.h b/lib/libtasn1.h
|
||||
index 626b11e..06e0307 100644
|
||||
index ea26b78..d41ac8e 100644
|
||||
--- a/lib/libtasn1.h
|
||||
+++ b/lib/libtasn1.h
|
||||
@@ -47,7 +47,11 @@ extern "C"
|
||||
#define ASN1_VERSION "4.12"
|
||||
#define ASN1_VERSION "4.13"
|
||||
|
||||
#if defined(__GNUC__) && !defined(ASN1_INTERNAL_BUILD)
|
||||
+# if defined(__GNUC_PATCHLEVEL)
|
||||
@@ -21,5 +21,5 @@ index 626b11e..06e0307 100644
|
||||
# define _ASN1_GCC_ATTR_DEPRECATED __attribute__ ((__deprecated__))
|
||||
# endif
|
||||
--
|
||||
2.15.1
|
||||
2.16.1
|
||||
|
||||
Reference in New Issue
Block a user