summaryrefslogtreecommitdiffstats
path: root/net-p2p/lopster
diff options
context:
space:
mode:
authorpat <pat@FreeBSD.org>2002-01-27 03:31:17 +0000
committerpat <pat@FreeBSD.org>2002-01-27 03:31:17 +0000
commit7e371c9273f358d35b0f8bba41f87058f4719be7 (patch)
tree8898464b824bb089e6267000d7fdf9463efc619c /net-p2p/lopster
parent06c085164c2626e66c2f642866e78b88ba6591cb (diff)
downloadFreeBSD-ports-7e371c9273f358d35b0f8bba41f87058f4719be7.zip
FreeBSD-ports-7e371c9273f358d35b0f8bba41f87058f4719be7.tar.gz
Fix conflicts during compilation since libc now has strcasestr
PR: 34116 Submitted by: Peter Hollaubek <fifteen@inext.hu>
Diffstat (limited to 'net-p2p/lopster')
-rw-r--r--net-p2p/lopster/files/patch-src::global.c20
-rw-r--r--net-p2p/lopster/files/patch-src::global.h8
2 files changed, 26 insertions, 2 deletions
diff --git a/net-p2p/lopster/files/patch-src::global.c b/net-p2p/lopster/files/patch-src::global.c
index d8faf2d..3ad8774 100644
--- a/net-p2p/lopster/files/patch-src::global.c
+++ b/net-p2p/lopster/files/patch-src::global.c
@@ -1,5 +1,21 @@
---- src/global.c.orig Sun Nov 4 20:30:19 2001
-+++ src/global.c Wed Nov 28 21:52:10 2001
+--- src/global.c.orig Sun Nov 4 13:30:19 2001
++++ src/global.c Sat Jan 26 22:15:50 2002
+@@ -1333,7 +1333,6 @@
+
+ return NULL;
+ }
+-*/
+
+ char *strcasestr(char *str, char *sub)
+ {
+@@ -1361,6 +1360,7 @@
+
+ return NULL;
+ }
++*/
+
+ int idle_function(gpointer data ATTR_UNUSED)
+ {
@@ -3597,7 +3597,7 @@
global.auto_save = NULL;
global.execs = NULL;
diff --git a/net-p2p/lopster/files/patch-src::global.h b/net-p2p/lopster/files/patch-src::global.h
new file mode 100644
index 0000000..3837a2c
--- /dev/null
+++ b/net-p2p/lopster/files/patch-src::global.h
@@ -0,0 +1,8 @@
+--- src/global.h.orig Wed Oct 17 20:54:36 2001
++++ src/global.h Sat Jan 26 22:09:13 2002
+@@ -98,7 +98,7 @@
+ void create_dir(char *dir);
+
+ void update_status_line(int highlight);
+-char *strcasestr(char *str, char *sub);
++// char *strcasestr(char *str, char *sub);
OpenPOWER on IntegriCloud