summaryrefslogtreecommitdiff
path: root/net-p2p/gtkhx/files
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-01-10 23:19:30 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-01-10 23:19:30 +0000
commit1e282bc63c7a5fb1f3679e9e1b10251c13a8cab0 (patch)
treeb594a0476ca0df1f4e355c25647d7b491ba8705e /net-p2p/gtkhx/files
parent- Update to 20080109 (diff)
- Update to 0.9.4
PR: 119503 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Notes
Notes: svn path=/head/; revision=205430
Diffstat (limited to 'net-p2p/gtkhx/files')
-rw-r--r--net-p2p/gtkhx/files/patch-Makefile.in20
-rw-r--r--net-p2p/gtkhx/files/patch-intl::Makefile.in11
-rw-r--r--net-p2p/gtkhx/files/patch-plugins::Makefile.in11
-rw-r--r--net-p2p/gtkhx/files/patch-po::Makefile.in.in11
-rw-r--r--net-p2p/gtkhx/files/patch-sounds::Makefile.in11
-rw-r--r--net-p2p/gtkhx/files/patch-src::Makefile.in11
-rw-r--r--net-p2p/gtkhx/files/patch-src::xfers.c13
-rw-r--r--net-p2p/gtkhx/files/patch-src__files.c20
-rw-r--r--net-p2p/gtkhx/files/patch-src__hx.h13
9 files changed, 33 insertions, 88 deletions
diff --git a/net-p2p/gtkhx/files/patch-Makefile.in b/net-p2p/gtkhx/files/patch-Makefile.in
deleted file mode 100644
index ba5d9946c3d5..000000000000
--- a/net-p2p/gtkhx/files/patch-Makefile.in
+++ /dev/null
@@ -1,20 +0,0 @@
---- Makefile.in.orig Tue Feb 19 22:14:44 2002
-+++ Makefile.in Fri Mar 15 17:01:22 2002
-@@ -16,7 +16,7 @@
- srcdir = @srcdir@
- top_srcdir = @top_srcdir@
- VPATH = @srcdir@
--prefix = @prefix@
-+prefix = ${PREFIX}
- exec_prefix = @exec_prefix@
-
- bindir = @bindir@
-@@ -102,7 +102,7 @@
- icon_DATA = icons.rsrc
-
- man_DATA = gtkhx.1
--mandir = $(prefix)/share/man/man1
-+mandir = $(prefix)/man/man1
- ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
- mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
- CONFIG_HEADER = config.h
diff --git a/net-p2p/gtkhx/files/patch-intl::Makefile.in b/net-p2p/gtkhx/files/patch-intl::Makefile.in
deleted file mode 100644
index 053249b00b75..000000000000
--- a/net-p2p/gtkhx/files/patch-intl::Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- intl/Makefile.in.orig Tue Feb 19 22:14:43 2002
-+++ intl/Makefile.in Fri Mar 15 13:43:30 2002
-@@ -26,7 +26,7 @@
- top_builddir = ..
- VPATH = @srcdir@
-
--prefix = @prefix@
-+prefix = ${PREFIX}
- exec_prefix = @exec_prefix@
- transform = @program_transform_name@
- libdir = @libdir@
diff --git a/net-p2p/gtkhx/files/patch-plugins::Makefile.in b/net-p2p/gtkhx/files/patch-plugins::Makefile.in
deleted file mode 100644
index 62b3aa4cd2ef..000000000000
--- a/net-p2p/gtkhx/files/patch-plugins::Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- plugins/Makefile.in.orig Tue Feb 19 22:14:43 2002
-+++ plugins/Makefile.in Fri Mar 15 13:43:31 2002
-@@ -16,7 +16,7 @@
- srcdir = @srcdir@
- top_srcdir = @top_srcdir@
- VPATH = @srcdir@
--prefix = @prefix@
-+prefix = ${PREFIX}
- exec_prefix = @exec_prefix@
-
- bindir = @bindir@
diff --git a/net-p2p/gtkhx/files/patch-po::Makefile.in.in b/net-p2p/gtkhx/files/patch-po::Makefile.in.in
deleted file mode 100644
index 4ae550855ddc..000000000000
--- a/net-p2p/gtkhx/files/patch-po::Makefile.in.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- po/Makefile.in.in.orig Tue Feb 19 22:14:43 2002
-+++ po/Makefile.in.in Fri Mar 15 13:43:31 2002
-@@ -20,7 +20,7 @@
- top_srcdir = @top_srcdir@
- VPATH = @srcdir@
-
--prefix = @prefix@
-+prefix = ${PREFIX}
- exec_prefix = @exec_prefix@
- datadir = @datadir@
- localedir = $(datadir)/locale
diff --git a/net-p2p/gtkhx/files/patch-sounds::Makefile.in b/net-p2p/gtkhx/files/patch-sounds::Makefile.in
deleted file mode 100644
index 61230086aadd..000000000000
--- a/net-p2p/gtkhx/files/patch-sounds::Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- sounds/Makefile.in.orig Tue Feb 19 22:14:43 2002
-+++ sounds/Makefile.in Fri Mar 15 13:43:31 2002
-@@ -16,7 +16,7 @@
- srcdir = @srcdir@
- top_srcdir = @top_srcdir@
- VPATH = @srcdir@
--prefix = @prefix@
-+prefix = ${PREFIX}
- exec_prefix = @exec_prefix@
-
- bindir = @bindir@
diff --git a/net-p2p/gtkhx/files/patch-src::Makefile.in b/net-p2p/gtkhx/files/patch-src::Makefile.in
deleted file mode 100644
index 4dd3e26b3d1f..000000000000
--- a/net-p2p/gtkhx/files/patch-src::Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/Makefile.in.orig Tue Feb 19 22:14:43 2002
-+++ src/Makefile.in Fri Mar 15 13:43:31 2002
-@@ -16,7 +16,7 @@
- srcdir = @srcdir@
- top_srcdir = @top_srcdir@
- VPATH = @srcdir@
--prefix = @prefix@
-+prefix = ${PREFIX}
- exec_prefix = @exec_prefix@
-
- bindir = @bindir@
diff --git a/net-p2p/gtkhx/files/patch-src::xfers.c b/net-p2p/gtkhx/files/patch-src::xfers.c
deleted file mode 100644
index a63102e158fa..000000000000
--- a/net-p2p/gtkhx/files/patch-src::xfers.c
+++ /dev/null
@@ -1,13 +0,0 @@
---- src/xfers.c.orig Fri Mar 22 16:26:04 2002
-+++ src/xfers.c Tue Mar 26 17:39:53 2002
-@@ -611,7 +611,9 @@
- pthread_join(htxf->tid, &thread_retval);
- }
- #ifdef USE_IPV6
-- freeaddrinfo(htxf->listen_addr);
-+ if(htxf->listen_addr) {
-+ freeaddrinfo(htxf->listen_addr);
-+ }
- #endif
- g_free(htxf);
- if (nxfers > (i+1)) {
diff --git a/net-p2p/gtkhx/files/patch-src__files.c b/net-p2p/gtkhx/files/patch-src__files.c
new file mode 100644
index 000000000000..d7150d1539a2
--- /dev/null
+++ b/net-p2p/gtkhx/files/patch-src__files.c
@@ -0,0 +1,20 @@
+--- src/files.c.orig Tue Apr 8 05:05:31 2003
++++ src/files.c Sun Jan 6 01:52:06 2008
+@@ -1000,7 +1000,7 @@
+ gtk_hlist_clear(GTK_HLIST(files_list));
+
+ for (fh = cfl->fh; (guint32)((char *)fh - (char *)cfl->fh) < cfl->fhlen;
+- (char *)fh += fh->len + SIZEOF_HL_DATA_HDR) {
++ fh = (char *)fh + fh->len + SIZEOF_HL_DATA_HDR) {
+ fh->fnlen = ntohl(fh->fnlen);
+ fh->len = ntohs(fh->len);
+ fh->fsize = ntohl(fh->fsize);
+@@ -1304,7 +1304,7 @@
+ return 0;
+
+ for (fh = cfl->fh; (guint32)((char *)fh - (char *)cfl->fh) < cfl->fhlen;
+- (char *)fh += fh->len + SIZEOF_HL_DATA_HDR) {
++ fh = (char *)fh + fh->len + SIZEOF_HL_DATA_HDR) {
+ if ((int)fh->fnlen == len && !strncmp(fh->fname, ent, len))
+ return 1;
+ }
diff --git a/net-p2p/gtkhx/files/patch-src__hx.h b/net-p2p/gtkhx/files/patch-src__hx.h
new file mode 100644
index 000000000000..5a10948e68cc
--- /dev/null
+++ b/net-p2p/gtkhx/files/patch-src__hx.h
@@ -0,0 +1,13 @@
+--- src/hx.h.orig Tue Apr 8 05:05:31 2003
++++ src/hx.h Fri Jan 11 01:49:32 2008
+@@ -172,10 +172,6 @@
+
+ extern char **hxd_environ;
+
+-#if !defined(HAVE_INET_NTOA_R)
+-extern int inet_ntoa_r (struct in_addr in, char *buf, size_t buflen);
+-#endif
+-
+ #ifndef HAVE_LOCALTIME_R
+ extern struct tm *localtime_r (const time_t *t, struct tm *tm);
+ #endif