diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2001-11-25 21:00:18 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2001-11-25 21:00:18 +0000 |
commit | 581764e7a64ee2a088c4b9fab0ecc71f5f5a18a2 (patch) | |
tree | 88b83fdda3ba4322e8456abbefceb08cf7cab1e6 /net-p2p/dctc-gui | |
parent | Update to 0.60 (diff) |
Update to 0.34
Notes
Notes:
svn path=/head/; revision=50549
Diffstat (limited to 'net-p2p/dctc-gui')
-rw-r--r-- | net-p2p/dctc-gui/Makefile | 2 | ||||
-rw-r--r-- | net-p2p/dctc-gui/distinfo | 2 | ||||
-rw-r--r-- | net-p2p/dctc-gui/files/patch-src:callbacks.c | 25 | ||||
-rw-r--r-- | net-p2p/dctc-gui/files/patch-src:init_fnc.c | 37 |
4 files changed, 61 insertions, 5 deletions
diff --git a/net-p2p/dctc-gui/Makefile b/net-p2p/dctc-gui/Makefile index cdcfbb7ecee7..767360d098bc 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 0535c2984944..568ecaa56c4e 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 000000000000..26cd4f4342ed --- /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 6c4677b4e0dd..693fdbc955db 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)); |