aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/edonkey-tool-hash/files
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2004-08-13 10:23:24 +0800
committerlioux <lioux@FreeBSD.org>2004-08-13 10:23:24 +0800
commit1108d2b96a566bac465b28d64a4bae6148a33c93 (patch)
treeead22748ad89d61132805fcdf2071c02fb758d99 /net-p2p/edonkey-tool-hash/files
parenta4d607791494a5940db5dd27b786d5780e3bd161 (diff)
downloadfreebsd-ports-gnome-1108d2b96a566bac465b28d64a4bae6148a33c93.tar.gz
freebsd-ports-gnome-1108d2b96a566bac465b28d64a4bae6148a33c93.tar.zst
freebsd-ports-gnome-1108d2b96a566bac465b28d64a4bae6148a33c93.zip
Update to 0.4.0
Submitted by: dinoex
Diffstat (limited to 'net-p2p/edonkey-tool-hash/files')
-rw-r--r--net-p2p/edonkey-tool-hash/files/patch-processfile.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/net-p2p/edonkey-tool-hash/files/patch-processfile.c b/net-p2p/edonkey-tool-hash/files/patch-processfile.c
new file mode 100644
index 000000000000..b1553b8edf39
--- /dev/null
+++ b/net-p2p/edonkey-tool-hash/files/patch-processfile.c
@@ -0,0 +1,12 @@
+--- ed2k_hash/processfile.c.orig Wed Jun 25 00:51:21 2003
++++ ed2k_hash/processfile.c Mon Aug 9 20:39:37 2004
+@@ -123,6 +123,9 @@
+ return 0;
+ }
+
++#ifndef _SC_PAGE_SIZE
++#define _SC_PAGE_SIZE _SC_PAGESIZE
++#endif
+ pagesize = sysconf(_SC_PAGE_SIZE);
+
+ for (b=0; b < fi.blocks; b++)