diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-06-16 20:37:37 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-06-16 20:37:37 +0000 |
commit | 2cbe04286b605b2bdedab24b390056897a954931 (patch) | |
tree | a633ae9b1f3d370d4271f9f3d1090901a10fdf67 | |
parent | 51b832fc51be32629fd4269468d12337cf2e5fa2 (diff) | |
download | packages-2cbe04286b605b2bdedab24b390056897a954931.tar.gz packages-2cbe04286b605b2bdedab24b390056897a954931.tar.bz2 packages-2cbe04286b605b2bdedab24b390056897a954931.tar.xz packages-2cbe04286b605b2bdedab24b390056897a954931.zip |
system/libucontext: Update to 0.11
-rw-r--r-- | system/libucontext/APKBUILD | 9 | ||||
-rw-r--r-- | system/libucontext/git.patch | 115 |
2 files changed, 3 insertions, 121 deletions
diff --git a/system/libucontext/APKBUILD b/system/libucontext/APKBUILD index 78b079435..eb9f4a933 100644 --- a/system/libucontext/APKBUILD +++ b/system/libucontext/APKBUILD @@ -1,6 +1,6 @@ # Maintainer: A. Wilcox <awilfox@adelielinux.org> pkgname=libucontext -pkgver=0.10 +pkgver=0.11 pkgrel=0 pkgdesc="Implementation of software-defined threading" url=" " @@ -9,9 +9,7 @@ license="ISC" depends="" makedepends="" subpackages="$pkgname-dev" -source="https://distfiles.dereferenced.org/libucontext/libucontext-$pkgver.tar.xz - git.patch - " +source="https://distfiles.dereferenced.org/libucontext/libucontext-$pkgver.tar.xz" case "$CTARGET_ARCH" in aarch64_be) LIBUCONTEXT_ARCH="aarch64" ;; @@ -33,5 +31,4 @@ package() { make ARCH="$LIBUCONTEXT_ARCH" DESTDIR="$pkgdir" install } -sha512sums="ef04485f66edd94711a15681953aed12652ea3821036e6a5b10d1ba3c0371ffabd689c85ee2403bc6a94544932e64855d8f5412f46b50d8b5a934f70a771fcb1 libucontext-0.10.tar.xz -f3f5da2f76302fb3aeba8cca6e3485f264714ad12160e83ef92785a5f2a318cb4cea88e350df71dd6c976d075525361f36e67467ffb82b30fed6acee11be8095 git.patch" +sha512sums="afc8ea6e03b5f1757aec0035090e0553c58d84c03bab6809cf00df8f12a0a3d5aa6c3516f258f1fb531ff38ba7d39e3f72e450903a159df6e85d22da850cb3bb libucontext-0.11.tar.xz" diff --git a/system/libucontext/git.patch b/system/libucontext/git.patch deleted file mode 100644 index d42ee0803..000000000 --- a/system/libucontext/git.patch +++ /dev/null @@ -1,115 +0,0 @@ -From d7688a41df4cbe51e52bfebbab7d411548ed7738 Mon Sep 17 00:00:00 2001 -From: "A. Wilcox" <AWilcox@Wilcox-Tech.com> -Date: Mon, 30 Mar 2020 02:22:43 -0500 -Subject: [PATCH 1/3] README: Remove support section - -This is no longer a member of the gcompat family of projects; -remove the mention of that and the gcompat mailing list link. ---- - README.md | 5 ----- - 1 file changed, 5 deletions(-) - -diff --git a/README.md b/README.md -index 97a03b6..1db0516 100644 ---- a/README.md -+++ b/README.md -@@ -38,8 +38,3 @@ $ make ARCH=x86_64 check - $ make ARCH=x86_64 DESTDIR=out install - ``` - -- --## support -- --`libucontext` is offered as part of the `gcompat` project. Accordingly, please address all questions --and bug reports to gcompat@lists.adelielinux.org. - -From e2178de76a7d3f41fed7cc5bef3e68eea623a72a Mon Sep 17 00:00:00 2001 -From: Khem Raj <raj.khem@gmail.com> -Date: Mon, 30 Mar 2020 08:21:20 +0000 -Subject: [PATCH 2/3] Makefile: Add LIBDIR variable - -This ensures that it can be installed into custom location and also - -Upstream-Status: Submitted -Signed-off-by: Khem Raj <raj.khem@gmail.com> ---- - Makefile | 11 ++++++----- - 1 file changed, 6 insertions(+), 5 deletions(-) - -diff --git a/Makefile b/Makefile -index a8dedc2..74ebdbf 100644 ---- a/Makefile -+++ b/Makefile -@@ -3,6 +3,7 @@ ifeq ($(ARCH),$(filter $(ARCH),i386 i686)) - override ARCH = x86 - endif - -+LIBDIR := /lib - CFLAGS = -ggdb3 -O2 -Wall -Iarch/${ARCH} -Iarch/common - - LIBUCONTEXT_C_SRC = $(wildcard arch/${ARCH}/*.c) -@@ -13,8 +14,8 @@ LIBUCONTEXT_SOVERSION = 0 - LIBUCONTEXT_NAME = libucontext.so - LIBUCONTEXT_STATIC_NAME = libucontext.a - LIBUCONTEXT_SONAME = libucontext.so.${LIBUCONTEXT_SOVERSION} --LIBUCONTEXT_PATH = /lib/${LIBUCONTEXT_SONAME} --LIBUCONTEXT_STATIC_PATH = /lib/${LIBUCONTEXT_STATIC_NAME} -+LIBUCONTEXT_PATH = ${LIBDIR}/${LIBUCONTEXT_SONAME} -+LIBUCONTEXT_STATIC_PATH = ${LIBDIR}/${LIBUCONTEXT_STATIC_NAME} - - all: ${LIBUCONTEXT_SONAME} ${LIBUCONTEXT_STATIC_NAME} - -@@ -39,9 +40,9 @@ clean: - ${LIBUCONTEXT_OBJ} test_libucontext - - install: all -- install -D -m755 ${LIBUCONTEXT_NAME} ${DESTDIR}/${LIBUCONTEXT_PATH} -- install -D -m664 ${LIBUCONTEXT_STATIC_NAME} ${DESTDIR}/${LIBUCONTEXT_STATIC_PATH} -- ln -sf ${LIBUCONTEXT_SONAME} ${DESTDIR}/lib/${LIBUCONTEXT_NAME} -+ install -D -m755 ${LIBUCONTEXT_NAME} ${DESTDIR}${LIBUCONTEXT_PATH} -+ install -D -m664 ${LIBUCONTEXT_STATIC_NAME} ${DESTDIR}${LIBUCONTEXT_STATIC_PATH} -+ ln -sf ${LIBUCONTEXT_SONAME} ${DESTDIR}${LIBDIR}/${LIBUCONTEXT_NAME} - - check: test_libucontext ${LIBUCONTEXT_SONAME} - env LD_LIBRARY_PATH=$(shell pwd) ./test_libucontext - -From 467ee2916d0eacbd32af10ead14e5d86e365fa2b Mon Sep 17 00:00:00 2001 -From: "A. Wilcox" <AWilcox@Wilcox-Tech.com> -Date: Mon, 30 Mar 2020 17:25:30 -0500 -Subject: [PATCH 3/3] x86: Update copyright statement -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Commit d0ccf2f96f12bfa040cc056f7dc26b3fd25c168d contains the makecontext -fix from Adélie commit aaeb73ea701388e55b7640e32509a5f6a57f6350[1], as -seen at AdelieLinux/libucontext@aaeb73ea – but it didn't include the -addition of my author line. - -The full commit text, for future documentation/reference, was: - -``` -x86: Write link pointer at correct stack offset - -It must come *after* the parameters, not *before*. -``` - -Fixes: d0ccf2f96f12 ("x86: modernize") -Signed-off-by: A. Wilcox <AWilcox@Wilcox-Tech.com> - -[1]: https://code.foxkit.us/adelie/libucontext/commit/aaeb73ea701388e55b7640e32509a5f6a57f6350 ---- - arch/x86/makecontext.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/arch/x86/makecontext.c b/arch/x86/makecontext.c -index ee9c2e2..bc8163c 100644 ---- a/arch/x86/makecontext.c -+++ b/arch/x86/makecontext.c -@@ -1,5 +1,6 @@ - /* - * Copyright (c) 2018 Ariadne Conill <ariadne@dereferenced.org> -+ * Copyright (c) 2019 A. Wilcox <awilfox@adelielinux.org> - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above |