net-dns/ddclient: remove unused patch

Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Part-of: https://github.com/gentoo/gentoo/pull/41973
Closes: https://github.com/gentoo/gentoo/pull/41973
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Michael Mair-Keimberger
2025-05-07 10:29:11 +02:00
committed by Sam James
parent 392eeae25d
commit e251b85abf

View File

@@ -1,48 +0,0 @@
https://github.com/ddclient/ddclient/commit/a12398c315b9b909e57e87acf9fd3a15a0b3e213.patch
https://bugs.gentoo.org/936224
From: Richard Hansen <rhansen@rhansen.org>
Date: Thu, 19 Dec 2024 05:00:56 -0500
Subject: [PATCH] Makefile.am: Fix Automake portability warning
This silences:
Makefile.am:20: warning: escaping \# comment markers is not portable
--- a/Makefile.am
+++ b/Makefile.am
@@ -16,19 +16,7 @@ EXTRA_DIST = \
sample-get-ip-from-fritzbox
CLEANFILES =
-# Command that replaces substitution variables with their values.
-subst = sed \
- -e 's|@PACKAGE_VERSION[@]|$(PACKAGE_VERSION)|g' \
- -e '1 s|^\#\!.*perl$$|\#\!$(PERL)|g' \
- -e 's|@localstatedir[@]|$(localstatedir)|g' \
- -e 's|@runstatedir[@]|$(runstatedir)|g' \
- -e 's|@sysconfdir[@]|$(sysconfdir)|g' \
- -e 's|@CURL[@]|$(CURL)|g'
-
-# Files that will be generated by passing their *.in file through
-# $(subst).
subst_files = ddclient ddclient.conf
-
EXTRA_DIST += $(subst_files:=.in)
CLEANFILES += $(subst_files)
@@ -36,7 +24,14 @@ $(subst_files): Makefile
rm -f '$@' '$@'.tmp
in='$@'.in; \
test -f "$${in}" || in='$(srcdir)/'$${in}; \
- $(subst) "$${in}" >'$@'.tmp && \
+ sed \
+ -e 's|@PACKAGE_VERSION[@]|$(PACKAGE_VERSION)|g' \
+ -e '1 s|^#\!.*perl$$|#\!$(PERL)|g' \
+ -e 's|@localstatedir[@]|$(localstatedir)|g' \
+ -e 's|@runstatedir[@]|$(runstatedir)|g' \
+ -e 's|@sysconfdir[@]|$(sysconfdir)|g' \
+ -e 's|@CURL[@]|$(CURL)|g' \
+ "$${in}" >'$@'.tmp && \
{ ! test -x "$${in}" || chmod +x '$@'.tmp; }
mv '$@'.tmp '$@'