dev-libs/newt: remove unused patches

Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/29122
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
This commit is contained in:
Michael Mair-Keimberger
2023-01-15 20:58:18 +01:00
committed by Ben Kohler
parent 5f7dbe9757
commit 08e644b2f7
3 changed files with 0 additions and 69 deletions

View File

@@ -1,12 +0,0 @@
--- a/configure.ac
+++ b/configure.ac
@@ -19,7 +19,8 @@
AC_MSG_CHECKING([for GNU ld])
LD=`$CC -print-prog-name=ld 2>&5`
-if test `$LD -v 2>&1 | $ac_cv_path_GREP -c "GNU ld"` = 0; then
+if test `$LD -v 2>&1 | $ac_cv_path_GREP -c "GNU ld"` = 0 -a \
+ test `$LD -v 2>&1 | $ac_cv_path_GREP -c "GNU gold"` = 0; then
# Not
GNU_LD=""
AC_MSG_RESULT([no])

View File

@@ -1,27 +0,0 @@
From a37a8c15f4653b4edea414f42a0d76f3b1f5652c Mon Sep 17 00:00:00 2001
From: Sam James <sam@gentoo.org>
Date: Wed, 14 Jul 2021 05:19:25 +0100
Subject: [PATCH] Fix non-POSIX backticks
---
configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index cb2b940..9ba4c64 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,8 +23,8 @@ AC_CHECK_SIZEOF([void *])
AC_MSG_CHECKING([for GNU ld])
LD=`$CC -print-prog-name=ld 2>&5`
-if test `$LD -v 2>&1 | $ac_cv_path_GREP -c "GNU ld"` = 0 -a \
- test `$LD -v 2>&1 | $ac_cv_path_GREP -c "GNU gold"` = 0; then
+if test $($LD -v 2>&1 | $ac_cv_path_GREP -c "GNU ld") = 0 -a \
+ $($LD -v 2>&1 | $ac_cv_path_GREP -c "GNU gold") = 0; then
# Not
GNU_LD=""
AC_MSG_RESULT([no])
--
2.32.0

View File

@@ -1,30 +0,0 @@
From 22d44d2cbfcbec216d0028ebdf274247139a8045 Mon Sep 17 00:00:00 2001
From: Sam James <sam@gentoo.org>
Date: Wed, 14 Jul 2021 05:12:32 +0100
Subject: [PATCH] Swap order of LDFLAGS and P*FLAGS
Needed to respect as-needed.
Bug: https://bugs.gentoo.org/798945
---
Makefile.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile.in b/Makefile.in
index 1047efc..f0bc417 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -97,8 +97,8 @@ _snack.$(SOEXT): snack.c $(LIBNEWTSH)
PLFLAGS=`$$pyconfig --libs`; \
echo $(CC) $(SHCFLAGS) $(CFLAGS) $(CPPFLAGS) $$PIFLAGS $$PCFLAGS -c -o $$ver/snack.o snack.c; \
$(CC) $(SHCFLAGS) $(CFLAGS) $(CPPFLAGS) $$PIFLAGS $$PCFLAGS -c -o $$ver/snack.o snack.c; \
- echo $(CC) --shared $$PLDFLAGS $$PLFLAGS $(LDFLAGS) -o $$ver/_snack.$(SOEXT) $$ver/snack.o -L. -lnewt $(LIBS); \
- $(CC) --shared $$PLDFLAGS $$PLFLAGS $(LDFLAGS) -o $$ver/_snack.$(SOEXT) $$ver/snack.o -L. -lnewt $(LIBS); \
+ echo $(CC) --shared $(LDFLAGS) $$PLDFLAGS $$PLFLAGS -o $$ver/_snack.$(SOEXT) $$ver/snack.o -L. -lnewt $(LIBS); \
+ $(CC) --shared $(LDFLAGS) $$PLDFLAGS $$PLFLAGS -o $$ver/_snack.$(SOEXT) $$ver/snack.o -L. -lnewt $(LIBS); \
done || :
touch $@
--
2.32.0