1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Fix build on alpha.

Accordingly(by author), update distfiles.
So, bump PORTREVISION instead of.

Reported by:	bento via kris
Submitted by:	Florent Thoumie <flz@xbsd.org> (maintainer)
This commit is contained in:
Norikatsu Shigemura 2004-01-26 08:47:44 +00:00
parent fbd13a2f2c
commit 4625fd6103
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=99164
16 changed files with 24 additions and 84 deletions

View File

@ -7,12 +7,15 @@
PORTNAME= ctorrent
PORTVERSION= 1.3.r1
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= CTorrent-1.3r1
PLIST_FILES= bin/ctorrent
MAINTAINER= flz@xbsd.org
COMMENT= BitTorrent Client program by C for FreeBSD and Linux
COMMENT= BitTorrent Client written in C for FreeBSD and Linux
.include <bsd.port.mk>

View File

@ -1 +1 @@
MD5 (CTorrent-1.3r1.tar.gz) = 833e24c797de4134e78c34aca6c2dd96
MD5 (CTorrent-1.3r1.tar.gz) = 2bbc8598f4a714608a621908f2ab7701

View File

@ -1,7 +0,0 @@
--- btstream.cpp.orig Fri Jan 16 00:01:00 2004
+++ btstream.cpp Sun Jan 18 02:42:47 2004
@@ -1,3 +1,4 @@
+#include <arpa/inet.h>
#include "btstream.h"
#include "msgencode.h"
#include "btconfig.h"

View File

@ -1,14 +1,16 @@
--- httpencode.cpp.orig Sun Jan 11 05:51:45 2004
+++ httpencode.cpp Sun Jan 18 02:43:16 2004
@@ -10,6 +10,7 @@
diff -u -r CTorrent-1.3r1/httpencode.cpp CTorrent-1.3r1.new/httpencode.cpp
--- httpencode.cpp Sat Jan 10 20:51:45 2004
+++ httpencode.cpp.new Fri Jan 23 17:22:28 2004
@@ -10,6 +10,8 @@
/* NOTE: */
/* LINUX/WINDOWS IMPLEMENT's STANDARD C LIBRARY NO strnstr FOUND */
/* FUNCTION PROGRAMER: Siberiaic Sang */
+#if 0
+
+#if defined(__win32__) || defined(__linux__)
static char* strnstr(const char *haystack,const char *needle,size_t haystacklen)
{
char *p;
@@ -30,6 +31,7 @@ static char* strnstr(const char *haystac
@@ -30,6 +32,7 @@
}
return (char*) 0;
}

View File

@ -1,7 +0,0 @@
--- iplist.cpp.orig Sun Jan 11 05:51:45 2004
+++ iplist.cpp Sun Jan 18 02:43:29 2004
@@ -1,3 +1,4 @@
+#include <string.h>
#include "iplist.h"
IpList IPQUEUE;

View File

@ -1,10 +0,0 @@
--- peer.cpp.orig Wed Jan 14 21:54:26 2004
+++ peer.cpp Sun Jan 18 02:43:36 2004
@@ -1,6 +1,7 @@
#include "peer.h"
#include <stdlib.h>
+#include <string.h>
#include "btcontent.h"
#include "msgencode.h"

View File

@ -1,10 +0,0 @@
--- peer.h.orig Fri Jan 16 00:30:15 2004
+++ peer.h Sun Jan 18 02:44:04 2004
@@ -6,6 +6,7 @@
#ifdef WINDOWS
#include <Winsock2.h>
#else
+#include <string.h>
#include <unistd.h>
#include <sys/socket.h>
#include <arpa/inet.h>

View File

@ -1 +0,0 @@
bin/ctorrent

View File

@ -7,12 +7,15 @@
PORTNAME= ctorrent
PORTVERSION= 1.3.r1
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= CTorrent-1.3r1
PLIST_FILES= bin/ctorrent
MAINTAINER= flz@xbsd.org
COMMENT= BitTorrent Client program by C for FreeBSD and Linux
COMMENT= BitTorrent Client written in C for FreeBSD and Linux
.include <bsd.port.mk>

View File

@ -1 +1 @@
MD5 (CTorrent-1.3r1.tar.gz) = 833e24c797de4134e78c34aca6c2dd96
MD5 (CTorrent-1.3r1.tar.gz) = 2bbc8598f4a714608a621908f2ab7701

View File

@ -1,7 +0,0 @@
--- btstream.cpp.orig Fri Jan 16 00:01:00 2004
+++ btstream.cpp Sun Jan 18 02:42:47 2004
@@ -1,3 +1,4 @@
+#include <arpa/inet.h>
#include "btstream.h"
#include "msgencode.h"
#include "btconfig.h"

View File

@ -1,14 +1,16 @@
--- httpencode.cpp.orig Sun Jan 11 05:51:45 2004
+++ httpencode.cpp Sun Jan 18 02:43:16 2004
@@ -10,6 +10,7 @@
diff -u -r CTorrent-1.3r1/httpencode.cpp CTorrent-1.3r1.new/httpencode.cpp
--- httpencode.cpp Sat Jan 10 20:51:45 2004
+++ httpencode.cpp.new Fri Jan 23 17:22:28 2004
@@ -10,6 +10,8 @@
/* NOTE: */
/* LINUX/WINDOWS IMPLEMENT's STANDARD C LIBRARY NO strnstr FOUND */
/* FUNCTION PROGRAMER: Siberiaic Sang */
+#if 0
+
+#if defined(__win32__) || defined(__linux__)
static char* strnstr(const char *haystack,const char *needle,size_t haystacklen)
{
char *p;
@@ -30,6 +31,7 @@ static char* strnstr(const char *haystac
@@ -30,6 +32,7 @@
}
return (char*) 0;
}

View File

@ -1,7 +0,0 @@
--- iplist.cpp.orig Sun Jan 11 05:51:45 2004
+++ iplist.cpp Sun Jan 18 02:43:29 2004
@@ -1,3 +1,4 @@
+#include <string.h>
#include "iplist.h"
IpList IPQUEUE;

View File

@ -1,10 +0,0 @@
--- peer.cpp.orig Wed Jan 14 21:54:26 2004
+++ peer.cpp Sun Jan 18 02:43:36 2004
@@ -1,6 +1,7 @@
#include "peer.h"
#include <stdlib.h>
+#include <string.h>
#include "btcontent.h"
#include "msgencode.h"

View File

@ -1,10 +0,0 @@
--- peer.h.orig Fri Jan 16 00:30:15 2004
+++ peer.h Sun Jan 18 02:44:04 2004
@@ -6,6 +6,7 @@
#ifdef WINDOWS
#include <Winsock2.h>
#else
+#include <string.h>
#include <unistd.h>
#include <sys/socket.h>
#include <arpa/inet.h>

View File

@ -1 +0,0 @@
bin/ctorrent