summaryrefslogtreecommitdiffstats
path: root/net/libfreenet/files
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-12-30 15:44:17 +0000
committerijliao <ijliao@FreeBSD.org>2001-12-30 15:44:17 +0000
commit75b16f8320eee8b1bf408cae6ab4d0cce168d506 (patch)
treeecb1d96084f8c43cbd527c2b6558fe19273e5798 /net/libfreenet/files
parentf3f38b5c6f2db43d22de15c522476d2a0d82da1c (diff)
downloadFreeBSD-ports-75b16f8320eee8b1bf408cae6ab4d0cce168d506.zip
FreeBSD-ports-75b16f8320eee8b1bf408cae6ab4d0cce168d506.tar.gz
upgrade to 0.5.0
PR: 33341 Submitted by: Ports Fury
Diffstat (limited to 'net/libfreenet/files')
-rw-r--r--net/libfreenet/files/patch-client.c12
-rw-r--r--net/libfreenet/files/patch-protocol.c11
-rw-r--r--net/libfreenet/files/patch-testserver.c12
3 files changed, 28 insertions, 7 deletions
diff --git a/net/libfreenet/files/patch-client.c b/net/libfreenet/files/patch-client.c
new file mode 100644
index 0000000..ba0702f
--- /dev/null
+++ b/net/libfreenet/files/patch-client.c
@@ -0,0 +1,12 @@
+--- client.c.orig Wed Jun 13 19:04:37 2001
++++ client.c Sun Dec 30 14:35:28 2001
+@@ -15,7 +15,9 @@
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
++#ifdef HAVE_MALLOC_H
+ #include <malloc.h>
++#endif
+ #include <string.h>
+ #include <openssl/dsa.h>
+
diff --git a/net/libfreenet/files/patch-protocol.c b/net/libfreenet/files/patch-protocol.c
index 59fed22..66628da 100644
--- a/net/libfreenet/files/patch-protocol.c
+++ b/net/libfreenet/files/patch-protocol.c
@@ -1,15 +1,18 @@
---- protocol.c.orig Thu Mar 22 13:27:34 2001
-+++ protocol.c Sat Mar 31 15:14:32 2001
-@@ -17,6 +17,8 @@
+--- protocol.c.orig Wed Jun 13 19:03:11 2001
++++ protocol.c Sun Dec 30 14:37:45 2001
+@@ -16,7 +16,11 @@
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include <stdio.h>
++#ifdef HAVE_MALLOC_H
#include <malloc.h>
++#endif
+#include <sys/types.h>
+#include <netinet/in.h>
#include <sys/socket.h>
#include <netdb.h>
#include <string.h>
-@@ -24,7 +26,6 @@
+@@ -24,7 +28,6 @@
#include <errno.h>
#include <fcntl.h>
#include <unistd.h>
diff --git a/net/libfreenet/files/patch-testserver.c b/net/libfreenet/files/patch-testserver.c
index 876e5a6..9df4920 100644
--- a/net/libfreenet/files/patch-testserver.c
+++ b/net/libfreenet/files/patch-testserver.c
@@ -1,6 +1,12 @@
---- testserver.c.orig Tue May 22 05:04:28 2001
-+++ testserver.c Sun May 27 18:47:01 2001
-@@ -19,6 +19,7 @@
+--- testserver.c.orig Wed Jun 13 19:05:19 2001
++++ testserver.c Sun Dec 30 14:36:07 2001
+@@ -15,10 +15,13 @@
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
++#ifdef HAVE_MALLOC_H
+ #include <malloc.h>
++#endif
#include <string.h>
#include <unistd.h>
#include <stdlib.h>
OpenPOWER on IntegriCloud