commit: 83b9757c6c48a2fad0ee6eeeb53edb2de02c7ca5 Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at> AuthorDate: Wed Dec 11 18:42:51 2024 +0000 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> CommitDate: Thu Dec 12 16:56:27 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83b9757c
dev-libs/kpathsea: remove unused patches Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at> Signed-off-by: Florian Schmaus <flow <AT> gentoo.org> ...210325-Fix-Wimplicit-function-declaration.patch | 31 -------------- ...pathsea-6.3.3_p20210325-Fix-slibtool-test.patch | 47 ---------------------- 2 files changed, 78 deletions(-) diff --git a/dev-libs/kpathsea/files/kpathsea-6.3.3_p20210325-Fix-Wimplicit-function-declaration.patch b/dev-libs/kpathsea/files/kpathsea-6.3.3_p20210325-Fix-Wimplicit-function-declaration.patch deleted file mode 100644 index 89cf314856ae..000000000000 --- a/dev-libs/kpathsea/files/kpathsea-6.3.3_p20210325-Fix-Wimplicit-function-declaration.patch +++ /dev/null @@ -1,31 +0,0 @@ -Sent upstream to tlbuild mailing list. Not yet in archive. - -From: Sam James <[email protected]> -Date: Fri, 4 Nov 2022 04:58:38 +0000 -Subject: [PATCH] Fix -Wimplicit-function-declaration - -Add <stdlib.h> includes for exit(). Clang 16 makes -Wimplicit-function-declaration an error by default. - -Signed-off-by: Sam James <[email protected]> ---- a/configure.ac -+++ b/configure.ac -@@ -45,7 +45,8 @@ if test "x$ac_cv_func_getcwd" = xyes; then - # We only need to run this if we have getcwd. - AC_CACHE_CHECK([whether getcwd uses fork or vfork], - [kb_cv_func_getcwd_forks], -- [AC_RUN_IFELSE([AC_LANG_PROGRAM([[int fork() { exit(1); } -+ [AC_RUN_IFELSE([AC_LANG_PROGRAM([[#include <stdlib.h> -+ int fork() { exit(1); } - int vfork() { exit(1); } - extern char *getcwd(); - char path[100];]], ---- a/configure -+++ b/configure -@@ -13920,6 +13920,7 @@ else - else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ -+#include <stdlib.h> - int fork() { exit(1); } - int vfork() { exit(1); } - extern char *getcwd(); diff --git a/dev-libs/kpathsea/files/kpathsea-6.3.3_p20210325-Fix-slibtool-test.patch b/dev-libs/kpathsea/files/kpathsea-6.3.3_p20210325-Fix-slibtool-test.patch deleted file mode 100644 index 39a7fafb6fda..000000000000 --- a/dev-libs/kpathsea/files/kpathsea-6.3.3_p20210325-Fix-slibtool-test.patch +++ /dev/null @@ -1,47 +0,0 @@ -https://bugs.gentoo.org/924405 -https://github.com/TeX-Live/texlive-source/pull/65 -https://github.com/TeX-Live/texlive-source/commit/9c4aec9b1b85f3f0e336914d65d55ca6263c5526 - -From 9c4aec9b1b85f3f0e336914d65d55ca6263c5526 Mon Sep 17 00:00:00 2001 -From: Karl Berry <[email protected]> -Date: Thu, 22 Feb 2024 23:41:54 +0000 -Subject: [PATCH] make kpsereadlink.test generic, instead of depending on - libtool - -git-svn-id: svn://tug.org/texlive/trunk/Build/source@70081 c570f23f-e606-0410-a88d-b1316a301751 ---- - texk/kpathsea/tests/kpsereadlink.test | 17 +++++++++++++---- - 1 files changed, 13 insertions(+), 4 deletions(-) - -diff --git a/tests/kpsereadlink.test b/tests/kpsereadlink.test -index 3b3570aa8d..2e1a852494 100755 ---- a/tests/kpsereadlink.test -+++ b/tests/kpsereadlink.test -@@ -1,14 +1,23 @@ - #! /bin/sh -vx - # $Id$ --# Copyright 2017 Karl Berry <[email protected]> -+# Copyright 2017-2024 Karl Berry <[email protected]> - # Copyright 2010 Peter Breitenlohner <[email protected]> - # You may freely use, modify and/or distribute this file. - -+test -n "$LN_S" || LN_S="ln -s" # standalone testing -+ - test "x$LN_S" = 'xln -s' || exit 77 - --./kpsereadlink $LT_OBJDIR/libkpathsea.lai && exit 1 -+rm -f readlink_test_file readlink_test_symlink -+ -+touch readlink_test_file -+ -+$LN_S readlink_test_file readlink_test_symlink || exit 1 -+ -+./kpsereadlink readlink_test_file && exit 1 - --link=`./kpsereadlink $LT_OBJDIR/libkpathsea.la` || exit 1 -+link=`./kpsereadlink readlink_test_symlink` || exit 1 - --test "x$link" = x../libkpathsea.la || exit 1 -+test "x$link" = xreadlink_test_file || exit 1 - -+rm -f readlink_test_file readlink_test_symlink
