diff options
author | Wesley Shields <wxs@FreeBSD.org> | 2008-06-05 01:53:43 +0000 |
---|---|---|
committer | Wesley Shields <wxs@FreeBSD.org> | 2008-06-05 01:53:43 +0000 |
commit | 29510aa3fc90275f288ae79a57d7dc8583964366 (patch) | |
tree | 21349bdd04bf7a3af0d3bf644536a99ed13bb768 /ftp/uftp/files | |
parent | 0a66c5e1a5cf654817bcf2f172ff13fd3b762304 (diff) | |
download | ports-29510aa3fc90275f288ae79a57d7dc8583964366.tar.gz ports-29510aa3fc90275f288ae79a57d7dc8583964366.zip |
Notes
Diffstat (limited to 'ftp/uftp/files')
-rw-r--r-- | ftp/uftp/files/patch-Makefile | 15 | ||||
-rw-r--r-- | ftp/uftp/files/patch-uftpd.c | 23 |
2 files changed, 38 insertions, 0 deletions
diff --git a/ftp/uftp/files/patch-Makefile b/ftp/uftp/files/patch-Makefile new file mode 100644 index 000000000000..b695973f8ca6 --- /dev/null +++ b/ftp/uftp/files/patch-Makefile @@ -0,0 +1,15 @@ +*** /dev/null Wed Jun 4 14:07:15 2008 +--- Makefile Wed Jun 4 14:07:49 2008 +*************** +*** 0 **** +--- 1,10 ---- ++ # ++ # Makefile for uftp client and server ++ # ++ all: uftp uftpd ++ ++ uftp: uftp.c ++ ${CC} ${CFLAGS} -o $@ $< -lm ++ ++ uftpd: uftpd.c ++ ${CC} ${CFLAGS} -o $@ $< -lm diff --git a/ftp/uftp/files/patch-uftpd.c b/ftp/uftp/files/patch-uftpd.c new file mode 100644 index 000000000000..54fcfcf9a83b --- /dev/null +++ b/ftp/uftp/files/patch-uftpd.c @@ -0,0 +1,23 @@ +*** uftpd.c Sun Feb 25 16:55:42 2007 +--- uftpd.c Wed Jun 4 14:05:20 2008 +*************** +*** 853,861 **** + applog=stderr; + nice(-20); + for (c=1;c<=17;c++) +! sigset(c,gotsig); +! sigset(SIGPIPE,gotpipe); +! sigset(SIGCHLD,SIG_IGN); + #endif + for (c=0;c<MAXLIST;c++) + id_list[c].txID=0; +--- 853,861 ---- + applog=stderr; + nice(-20); + for (c=1;c<=17;c++) +! signal(c,gotsig); +! signal(SIGPIPE,gotpipe); +! signal(SIGCHLD,SIG_IGN); + #endif + for (c=0;c<MAXLIST;c++) + id_list[c].txID=0; |