commit: c0a06ff200c2b89daee1f79c62e14936fb89bb8b Author: Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com> AuthorDate: Tue Jan 17 17:50:00 2017 +0000 Commit: David Seifert <soap <AT> gentoo <DOT> org> CommitDate: Wed Jan 18 09:19:26 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0a06ff2
net-p2p/opendchub: remove unused patch Closes: https://github.com/gentoo/gentoo/pull/3516 net-p2p/opendchub/files/0.7.14-overflow.patch | 12 ----------- net-p2p/opendchub/files/0.7.14-telnet.patch | 12 ----------- net-p2p/opendchub/files/opendchub-gentoo.patch | 30 -------------------------- 3 files changed, 54 deletions(-) diff --git a/net-p2p/opendchub/files/0.7.14-overflow.patch b/net-p2p/opendchub/files/0.7.14-overflow.patch deleted file mode 100644 index 996ff65..00000000 --- a/net-p2p/opendchub/files/0.7.14-overflow.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Naur opendchub-0.7.14.vanilla/src/commands.c opendchub-0.7.14/src/commands.c ---- opendchub-0.7.14.vanilla/src/commands.c 2003-11-15 08:07:43.000000000 -0600 -+++ opendchub-0.7.14/src/commands.c 2004-11-27 09:54:57.113410240 -0600 -@@ -2842,7 +2842,7 @@ - { - char move_string[MAX_HOST_LEN+20]; - -- sprintf(move_string, "$ForceMove %s", buf); -+ snprintf(move_string, MAX_HOST_LEN, "$ForceMove %s", buf); - - send_to_humans(move_string, REGULAR | REGISTERED | OP, user); - remove_all(UNKEYED | NON_LOGGED | REGULAR | REGISTERED | OP, 1, 1); diff --git a/net-p2p/opendchub/files/0.7.14-telnet.patch b/net-p2p/opendchub/files/0.7.14-telnet.patch deleted file mode 100644 index f5254cb..00000000 --- a/net-p2p/opendchub/files/0.7.14-telnet.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Naur opendchub-0.7.14.vanilla/src/main.c opendchub-0.7.14/src/main.c ---- opendchub-0.7.14.vanilla/src/main.c 2003-11-15 08:01:16.000000000 -0600 -+++ opendchub-0.7.14/src/main.c 2004-08-23 15:58:33.119710184 -0500 -@@ -1056,7 +1056,7 @@ - /* The chat command, starts with <nick> */ - else if(*temp == '<') - { -- if((user->type & (SCRIPT | UNKEYED | LINKED | NON_LOGGED)) == 0) -+ if((user->type & (SCRIPT | UNKEYED | LINKED | NON_LOGGED | NON_LOGGED_ADM)) == 0) - chat(temp, user); - } - diff --git a/net-p2p/opendchub/files/opendchub-gentoo.patch b/net-p2p/opendchub/files/opendchub-gentoo.patch deleted file mode 100644 index c6854e2..00000000 --- a/net-p2p/opendchub/files/opendchub-gentoo.patch +++ /dev/null @@ -1,30 +0,0 @@ ---- configure~ 2004-04-11 18:31:55.000000000 +0000 -+++ configure 2004-04-11 18:40:42.068793280 +0000 -@@ -4343,12 +4343,6 @@ - fi - fi - --if test ! -d $HOME/.opendchub; then -- echo "creating config directory: $HOME/.opendchub" -- mkdir $HOME/.opendchub -- chmod 700 $HOME/.opendchub; --fi -- - # Check whether --enable-perl or --disable-perl was given. - if test "${enable_perl+set}" = set; then - enableval="$enable_perl" -@@ -4406,14 +4400,6 @@ - - perl_libs=`perl -MExtUtils::Embed -e ldopts` - -- if test ! -d $HOME/.opendchub/scripts; then -- echo "creating script directory: $HOME/.opendchub/scripts" -- mkdir $HOME/.opendchub/scripts -- chmod 700 $HOME/.opendchub/scripts; -- for i in Samplescripts/*; do -- cp $i $HOME/.opendchub/scripts; -- done -- fi - fi - else - echo "Perl script support is disabled."