summaryrefslogtreecommitdiff
path: root/net-p2p/trackerbt/files/patch-tracker.cpp
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2005-01-16 05:08:43 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2005-01-16 05:08:43 +0000
commit0dc6e9ece016b405fe97a315015058248887e277 (patch)
tree11454eb70689e0adb4ae1acfaaaab679ac5720fc /net-p2p/trackerbt/files/patch-tracker.cpp
parentNew port minder version 1.1: A small network application for automatic (diff)
New port trackerbt version 0.1: A BitTorrent tracker with additional
distributed functionality
Notes
Notes: svn path=/head/; revision=126549
Diffstat (limited to 'net-p2p/trackerbt/files/patch-tracker.cpp')
-rw-r--r--net-p2p/trackerbt/files/patch-tracker.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/net-p2p/trackerbt/files/patch-tracker.cpp b/net-p2p/trackerbt/files/patch-tracker.cpp
new file mode 100644
index 000000000000..71014509b0cd
--- /dev/null
+++ b/net-p2p/trackerbt/files/patch-tracker.cpp
@@ -0,0 +1,22 @@
+--- tracker.cpp.orig Sun Jan 16 02:18:36 2005
++++ tracker.cpp Sun Jan 16 02:19:42 2005
+@@ -19,6 +19,10 @@
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
++#if (defined(__unix__) || defined(unix)) && !defined(USG)
++#include <sys/param.h>
++#endif
++
+ #include <ListenSocket.h>
+ #include <signal.h>
+ #include "MyHandler.h"
+@@ -43,6 +47,8 @@
+ fprintf(fil,"\tedge [arrowhead=open]\n");
+ #ifdef _WIN32
+ std::string os = "Win32";
++#elif defined __FreeBSD__
++ std::string os = "FreeBSD";
+ #else
+ std::string os = "Linux";
+ #endif