Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jan 2002 13:00:29 +0100 (CET)
From:      Jochem Kossen <jochem@jochem.dyndns.org>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        roman@xpert.com
Subject:   ports/34300: audio/lopster fails to build
Message-ID:  <200201261200.g0QC0T716516@jochem.dyndns.org>

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

>Number:         34300
>Category:       ports
>Synopsis:       audio/lopster fails to build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 26 04:10:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Jochem Kossen
>Release:        FreeBSD 4.5-RC i386
>Organization:
>Environment:
System: FreeBSD lisa.jochem.dyndns.org 4.5-RC FreeBSD 4.5-RC #0: Thu Jan 24 13:36:21 CET 2002 root@lisa.jochem.dyndns.org:/usr/obj/usr/src/sys/LISA i386


	
>Description:
	The lopster port fails to build. Here are the error messages:

glib12 -I/usr/local/include -I/usr/X11R6/include  -I/usr/local/include  -O -pipe  -W -Wall -c main.c
In file included from main.c:23:
global.h:101: conflicting types for `strcasestr'
/usr/include/string.h:86: previous declaration of `strcasestr'
gmake[2]: *** [main.o] Error 1
gmake[2]: Leaving directory `/usr/ports/audio/lopster.orig/work/lopster-1.0.1/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/audio/lopster.orig/work/lopster-1.0.1'
gmake: *** [all-recursive-am] Error 2
*** Error code 2

Stop in /usr/ports/audio/lopster.orig.
*** Error code 1

Stop in /usr/ports/audio/lopster.orig.
*** Error code 1

Stop in /usr/ports/audio/lopster.orig.

	
>How-To-Repeat:
	
>Fix:

	

--- patch-lopsterport begins here ---
diff -urN audio/lopster.orig/files/patch-src::global.c audio/lopster/files/patch-src::global.c
--- audio/lopster.orig/files/patch-src::global.c	Sun Dec  2 19:32:20 2001
+++ audio/lopster/files/patch-src::global.c	Sat Jan 26 12:25:58 2002
@@ -1,5 +1,23 @@
---- 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 19:30:19 2001
++++ src/global.c	Sat Jan 26 12:24:41 2002
+@@ -1335,7 +1335,7 @@
+ }
+ */
+ 
+-char *strcasestr(char *str, char *sub)
++/*char *strcasestr(char *str, char *sub)
+ {
+   int len;
+   int max_pos;
+@@ -1361,7 +1361,7 @@
+ 
+   return NULL;
+ }
+-
++*/
+ int idle_function(gpointer data ATTR_UNUSED)
+ {
+   GtkWidget *temp;
 @@ -3597,7 +3597,7 @@
    global.auto_save = NULL;
    global.execs = NULL;
diff -urN audio/lopster.orig/files/patch-src::global.h audio/lopster/files/patch-src::global.h
--- audio/lopster.orig/files/patch-src::global.h	Thu Jan  1 01:00:00 1970
+++ audio/lopster/files/patch-src::global.h	Sat Jan 26 12:21:26 2002
@@ -0,0 +1,11 @@
+--- src/global.h.orig	Thu Oct 18 02:54:36 2001
++++ src/global.h	Sat Jan 26 12:20:33 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);*/
+ 
+ 
+ 
--- patch-lopsterport ends here ---


>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?200201261200.g0QC0T716516>