summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--groups/251.native_packages_lib.group8
-rw-r--r--patches/libtasn1-4.16.0_pre.local.patch32
2 files changed, 39 insertions, 1 deletions
diff --git a/groups/251.native_packages_lib.group b/groups/251.native_packages_lib.group
index 342107f2..e049ef18 100644
--- a/groups/251.native_packages_lib.group
+++ b/groups/251.native_packages_lib.group
@@ -6,7 +6,7 @@ NATIVE_PACKAGES_PACKAGES="$(rtl_lconcat "${NATIVE_PACKAGES_PACKAGES}" "
glib libarchive libasr libassuan libatomic_ops libdmtx libedit libelf
libevent libfetch libffi libfirm libflac libgcrypt libgpg_error
libjpeg_turbo libksba libnettle libogg libpcap libpipeline libpng
-libreadline libredwg libressl libsasl2 libshine libsndfile libsolv
+libreadline libredwg libressl libsasl2 libshine libsndfile libsolv libtasn1
libtelnet libtheora libtirpc libudns libunistring libuv libvorbis libxml2
libxslt libz libzip")";
: ${PKG_GLIB_DEPENDS:="libffi libz pcre"};
@@ -152,6 +152,12 @@ libxslt libz libzip")";
: ${PKG_LIBSOLV_VERSION:=0.6.34};
: ${PKG_LIBSOLV_URL:=https://github.com/openSUSE/libsolv/archive/${PKG_LIBSOLV_VERSION}.tar.gz};
: ${PKG_LIBSOLV_SUBDIR:=libsolv-${PKG_LIBSOLV_VERSION}};
+: ${PKG_LIBTASN1_SHA256SUM:=0e0fb0903839117cb6e3b56e68222771bebf22ad7fc2295a0ed7d576e8d4329d};
+: ${PKG_LIBTASN1_VERSION:=4.16.0};
+: ${PKG_LIBTASN1_URL:=https://ftp.gnu.org/gnu/libtasn1/libtasn1-${PKG_LIBTASN1_VERSION}.tar.gz};
+: ${PKG_LIBTASN1_CONFIGURE_ARGS_EXTRA:="--disable-static"};
+: ${PKG_LIBTASN1_CFLAGS_CONFIGURE_EXTRA:=-std=c99};
+: ${PKG_LIBTASN1_LIBTOOL=rdlibtool};
: ${PKG_LIBTELNET_DEPENDS:="libz"};
: ${PKG_LIBTELNET_SHA256SUM:=d2f01a9dc0cc01777844b6d27f0f836dad9a4b9a32a31c7bbde0762480262f25};
: ${PKG_LIBTELNET_VERSION:=0.23};
diff --git a/patches/libtasn1-4.16.0_pre.local.patch b/patches/libtasn1-4.16.0_pre.local.patch
new file mode 100644
index 00000000..d7f0101a
--- /dev/null
+++ b/patches/libtasn1-4.16.0_pre.local.patch
@@ -0,0 +1,32 @@
+diff -ru libtasn1-4.16.0.orig/configure libtasn1-4.16.0/configure
+--- libtasn1-4.16.0.orig/configure 2020-02-01 23:22:23.000000000 +0100
++++ libtasn1-4.16.0/configure 2020-04-12 15:39:06.225324685 +0200
+@@ -12621,6 +12621,16 @@
+ dynamic_linker='NetBSD ld.elf_so'
+ ;;
+
++midipix*)
++ version_type=linux # correct to gnu/linux during the next big refactor
++ need_lib_prefix=no
++ need_version=no
++ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
++ soname_spec='$libname$release$shared_ext$major'
++ finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
++ shlibpath_var=LD_LIBRARY_PATH
++ ;;
++
+ netbsd*)
+ version_type=sunos
+ need_lib_prefix=no
+diff -ru libtasn1-4.16.0.orig/Makefile.in libtasn1-4.16.0/Makefile.in
+--- libtasn1-4.16.0.orig/Makefile.in 2020-02-01 23:22:24.000000000 +0100
++++ libtasn1-4.16.0/Makefile.in 2020-04-12 22:44:21.614252148 +0200
+@@ -557,7 +557,7 @@
+ windows/test-tree/test-tree.vcproj windows/libtasn14win.mk \
+ CONTRIBUTING.md cfg.mk maint.mk AUTHORS NEWS ChangeLog THANKS \
+ LICENSE cfg.mk maint.mk .clcopying README.md
+-SUBDIRS = lib src fuzz tests $(am__append_1)
++SUBDIRS = lib src fuzz $(am__append_1)
+ @CODE_COVERAGE_ENABLED_TRUE@GITIGNOREFILES = $(GITIGNOREFILES) $(CODE_COVERAGE_OUTPUT_FILE) $(CODE_COVERAGE_OUTPUT_DIRECTORY)
+ @CODE_COVERAGE_ENABLED_TRUE@code_coverage_v_lcov_cap = $(code_coverage_v_lcov_cap_$(V))
+ @CODE_COVERAGE_ENABLED_TRUE@code_coverage_v_lcov_cap_ = $(code_coverage_v_lcov_cap_$(AM_DEFAULT_VERBOSITY))