mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Fix make patch, some patches were applied twice
Reported by: pkg-fallout
This commit is contained in:
parent
1117e12d37
commit
c5e857d4b8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=351145
3 changed files with 0 additions and 64 deletions
|
@ -13,18 +13,3 @@
|
|||
char *orig_arg;
|
||||
{
|
||||
char *arg, *lc = NULL, *try2 = NULL, *try3 = NULL, *try4 = NULL;
|
||||
--- help.c.orig
|
||||
+++ help.c
|
||||
@@ -16,10 +16,11 @@
|
||||
#include "globals.h"
|
||||
|
||||
extern char compile_time[], version[];
|
||||
+extern void cmd_help();
|
||||
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
||||
-cmd_help(orig_arg)
|
||||
+void cmd_help(orig_arg)
|
||||
char *orig_arg;
|
||||
{
|
||||
char *arg, *lc = NULL, *try2 = NULL, *try3 = NULL, *try4 = NULL;
|
||||
|
|
|
@ -19,24 +19,3 @@
|
|||
unsigned int one, two, three;
|
||||
{
|
||||
unsigned char reply[3];
|
||||
--- ipc.c.orig
|
||||
+++ ipc.c
|
||||
@@ -35,8 +35,7 @@
|
||||
#endif /* FD_ZERO */
|
||||
|
||||
extern char *get_now_date_string();
|
||||
-
|
||||
-extern int errno;
|
||||
+extern void telnet_protocol();
|
||||
|
||||
static struct in_addr host_address;
|
||||
static struct sockaddr_in socket_address;
|
||||
@@ -360,7 +359,7 @@
|
||||
/* This function takes the three bytes from a telnet command,
|
||||
* and implements a very limited telnet protocol.
|
||||
*/
|
||||
-telnet_protocol(one, two, three)
|
||||
+void telnet_protocol(one, two, three)
|
||||
unsigned int one, two, three;
|
||||
{
|
||||
unsigned char reply[3];
|
||||
|
|
|
@ -26,31 +26,3 @@
|
|||
char *filename, *optional_filename;
|
||||
{
|
||||
char *local_filename, *remote_filename, cmd_buffer[MAX_LINE_LENGTH + 1];
|
||||
--- putget.c.orig
|
||||
+++ putget.c
|
||||
@@ -30,6 +30,7 @@
|
||||
*expand_variables(),
|
||||
*find_robot_action_string(),
|
||||
*return_last();
|
||||
+extern void cmd_putfile(), cmd_getfile();
|
||||
|
||||
/* This is a temporary buffer of text received from the MUD game.
|
||||
* If the flag "getfiling" is true, the routines that receive the MUD
|
||||
@@ -44,7 +45,7 @@
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
||||
/* Send a file to LPmud using the built-in editor */
|
||||
-cmd_putfile(filename, optional_filename)
|
||||
+void cmd_putfile(filename, optional_filename)
|
||||
char *filename, *optional_filename;
|
||||
{
|
||||
char *local_filename, *remote_filename, cmd_buffer[MAX_LINE_LENGTH + 1];
|
||||
@@ -103,7 +104,7 @@
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
||||
/* Get a file from LPmud using the built-in editor */
|
||||
-cmd_getfile(filename, optional_filename)
|
||||
+void cmd_getfile(filename, optional_filename)
|
||||
char *filename, *optional_filename;
|
||||
{
|
||||
char *local_filename, *remote_filename, cmd_buffer[MAX_LINE_LENGTH + 1];
|
||||
|
|
Loading…
Add table
Reference in a new issue