summaryrefslogtreecommitdiffstats
path: root/net-p2p
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2001-11-25 21:00:18 +0000
committerlioux <lioux@FreeBSD.org>2001-11-25 21:00:18 +0000
commitda1986fa293c53644f23789ac1ae20ae3fea870f (patch)
treec93b16f9e09262598fb2177af8ba82a6e5695867 /net-p2p
parent920283d9b93e51a5dee82861ed57984a62e146cd (diff)
downloadFreeBSD-ports-da1986fa293c53644f23789ac1ae20ae3fea870f.zip
FreeBSD-ports-da1986fa293c53644f23789ac1ae20ae3fea870f.tar.gz
Update to 0.34
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/dctc-gui/Makefile2
-rw-r--r--net-p2p/dctc-gui/distinfo2
-rw-r--r--net-p2p/dctc-gui/files/patch-src:callbacks.c25
-rw-r--r--net-p2p/dctc-gui/files/patch-src:init_fnc.c37
4 files changed, 61 insertions, 5 deletions
diff --git a/net-p2p/dctc-gui/Makefile b/net-p2p/dctc-gui/Makefile
index cdcfbb7..767360d 100644
--- a/net-p2p/dctc-gui/Makefile
+++ b/net-p2p/dctc-gui/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= dctc
-PORTVERSION= 0.33
+PORTVERSION= 0.34
CATEGORIES= net gnome
MASTER_SITES= http://ac2i.tzo.com/dctc/
PKGNAMESUFFIX= -gui
diff --git a/net-p2p/dctc-gui/distinfo b/net-p2p/dctc-gui/distinfo
index 0535c29..568ecaa 100644
--- a/net-p2p/dctc-gui/distinfo
+++ b/net-p2p/dctc-gui/distinfo
@@ -1 +1 @@
-MD5 (dc_gui-0.33.tar.gz) = 2beed55a49cc3354a6aee85606df098e
+MD5 (dc_gui-0.34.tar.gz) = 25e98c7d32b7284116be2e48d2480876
diff --git a/net-p2p/dctc-gui/files/patch-src:callbacks.c b/net-p2p/dctc-gui/files/patch-src:callbacks.c
new file mode 100644
index 0000000..26cd4f4
--- /dev/null
+++ b/net-p2p/dctc-gui/files/patch-src:callbacks.c
@@ -0,0 +1,25 @@
+--- src/callbacks.c.orig Sat Nov 24 07:38:45 2001
++++ src/callbacks.c Sat Nov 24 16:22:22 2001
+@@ -2,12 +2,22 @@
+ # include <config.h>
+ #endif
+
++#ifdef HAVE_SYS_PARAM_H
++# include <sys/param.h>
++#endif
++
+ #include <math.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <gdk/gdkkeysyms.h>
++#if !(defined(BSD) && (BSD >= 199103)) /* !BSD */
+ #include <linux/sem.h>
++#endif
+ #include <gnome.h>
++
++#ifndef SEMVMX
++#define SEMVMX 32767
++#endif
+
+ #include "callbacks.h"
+ #include "interface.h"
diff --git a/net-p2p/dctc-gui/files/patch-src:init_fnc.c b/net-p2p/dctc-gui/files/patch-src:init_fnc.c
index 6c4677b..693fdbc 100644
--- a/net-p2p/dctc-gui/files/patch-src:init_fnc.c
+++ b/net-p2p/dctc-gui/files/patch-src:init_fnc.c
@@ -1,6 +1,37 @@
---- src/init_fnc.c.orig Thu Nov 22 02:15:54 2001
-+++ src/init_fnc.c Thu Nov 22 02:16:04 2001
-@@ -376,7 +376,7 @@
+--- src/init_fnc.c.orig Sat Nov 24 07:23:17 2001
++++ src/init_fnc.c Sat Nov 24 16:37:43 2001
+@@ -1,3 +1,11 @@
++#ifdef HAVE_CONFIG_H
++# include <config.h>
++#endif
++
++#ifdef HAVE_SYS_PARAM_H
++# include <sys/param.h>
++#endif
++
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <unistd.h>
+@@ -7,11 +15,17 @@
+ #include <math.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
+-#include <linux/sem.h> /* for the value of SEMVMX */
++#if !(defined(BSD) && (BSD >= 199103)) /* Not BSD */
++# include <linux/sem.h> /* for the value of SEMVMX */
++#endif
+ #include <dirent.h>
+ #include <string.h>
+ #include <gnome.h>
+
++#ifndef SEMVMX
++#define SEMVMX 32767
++#endif
++
+ #include "misc_gtk.h"
+ #include "init_fnc.h"
+ #include "main.h"
+@@ -411,7 +425,7 @@
gtk_clist_freeze(GTK_CLIST(rhcw));
gtk_clist_clear(GTK_CLIST(rhcw));
OpenPOWER on IntegriCloud