Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jan 2002 06:18:14 -0800 (PST)
From:      Peter Hollaubek <fifteen@inext.hu>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/34116: lopster src also has strcasestr now included libc
Message-ID:  <200201211418.g0LEIEB97909@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         34116
>Category:       ports
>Synopsis:       lopster src also has strcasestr now included libc
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 21 06:20:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Peter Hollaubek
>Release:        4.5-PRERELEASE
>Organization:
>Environment:
FreeBSD fif.inext.hu 4.5-PRERELEASE FreeBSD 4.5-PRERELEASE #0: Tue Jan  8 13:56:00 CET 2002     root@fif.inext.hu:/usr/obj/usr/src/sys/FIF  i386

>Description:
libc now has strcasestr that is also in the lopster source, and the two conflicts during compilation.
>How-To-Repeat:
make
>Fix:
diff -rNub src.orig/global.c src/global.c
--- src.orig/global.c   Mon Jan 21 15:03:30 2002
+++ src/global.c        Mon Jan 21 15:03:54 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)
 {
diff -rNub src.orig/global.h src/global.h
--- src.orig/global.h   Mon Jan 21 15:03:30 2002
+++ src/global.h        Mon Jan 21 15:03:40 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);

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201211418.g0LEIEB97909>