diff options
author | Michael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com> | 2017-01-19 18:25:13 +0100 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2017-01-22 13:09:12 -0800 |
commit | 0a20aa6ea5ad8fdbf769888c340e4c17bae39231 (patch) | |
tree | eb076c79bd33969bed725bf0219995e48dfb752a /net-misc/dhcpcd | |
parent | net-misc/dhcp: remove unused patch (diff) | |
download | gentoo-0a20aa6ea5ad8fdbf769888c340e4c17bae39231.tar.gz gentoo-0a20aa6ea5ad8fdbf769888c340e4c17bae39231.tar.bz2 gentoo-0a20aa6ea5ad8fdbf769888c340e4c17bae39231.zip |
net-misc/dhcpcd: remove unused patch
(cherry picked from commit 136eb80cdccd213cfd041cc9132e0efdab65a346)
Fixes: https://github.com/gentoo/gentoo/pull/3542
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'net-misc/dhcpcd')
-rw-r--r-- | net-misc/dhcpcd/files/dhcpcd-6.10.2-fix-configure.patch | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/net-misc/dhcpcd/files/dhcpcd-6.10.2-fix-configure.patch b/net-misc/dhcpcd/files/dhcpcd-6.10.2-fix-configure.patch deleted file mode 100644 index 97cc2fac2b41..000000000000 --- a/net-misc/dhcpcd/files/dhcpcd-6.10.2-fix-configure.patch +++ /dev/null @@ -1,45 +0,0 @@ -Index: configure -================================================================== ---- a/configure -+++ b/configure -@@ -360,19 +360,10 @@ - esac - else - echo "CPPFLAGS+= -DNDEBUG" >>$CONFIG_MK - fi - --if [ -z "$EMBEDDED" -o "$EMBEDDED" = yes ]; then -- echo "dhcpcd-definitions.conf will be embedded in dhcpcd itself" -- echo "DHCPCD_SRCS+= dhcpcd-embedded.c" >>$CONFIG_MK --else -- echo "dhcpcd-definitions.conf will be installed to $LIBEXECDIR" -- echo "CFLAGS+= -DEMBEDDED_CONFIG=\\\"$LIBEXECDIR/dhcpcd-definitions.conf\\\"" >>$CONFIG_MK -- echo "EMBEDDEDINSTALL= _embeddedinstall" >>$CONFIG_MK --fi -- - if [ -n "$FORK" -a "$FORK" != yes -a "$FORK" != true ]; then - echo "There is no fork" - echo "CPPFLAGS+= -DTHERE_IS_NO_FORK" >>$CONFIG_MK - fi - -@@ -460,10 +451,19 @@ - echo "$CC does not create executables" >&2 - exit 1 - fi - [ "$CC" != cc ] && echo "CC= $CC" >>$CONFIG_MK - $CC --version | $SED -e '1!d' -+ -+if [ -z "$EMBEDDED" -o "$EMBEDDED" = yes ]; then -+ echo "dhcpcd-definitions.conf will be embedded in dhcpcd itself" -+ echo "DHCPCD_SRCS+= dhcpcd-embedded.c" >>$CONFIG_MK -+else -+ echo "dhcpcd-definitions.conf will be installed to $LIBEXECDIR" -+ echo "CPPFLAGS+= -DEMBEDDED_CONFIG=\\\"$LIBEXECDIR/dhcpcd-definitions.conf\\\"" >>$CONFIG_MK -+ echo "EMBEDDEDINSTALL= _embeddedinstall" >>$CONFIG_MK -+fi - - if [ "$OS" = linux ]; then - printf "Testing for nl80211 ... " - cat <<EOF >_nl80211.c - #include <linux/nl80211.h> - |