Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Aug 2002 12:18:13 +0200 (CEST)
From:      "Simon 'corecode' Schubert" <corecode@corecode.ath.cx>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        sobomax@FreeBSD.org
Subject:   ports/41257: unbreak build of x11-toolkits/xenostep
Message-ID:  <200208021018.g72AID7j038745@terrorfish.uni.stoert.net>

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

>Number:         41257
>Category:       ports
>Synopsis:       unbreak build of x11-toolkits/xenostep
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 02 03:20:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Simon 'corecode' Schubert
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD terrorfish.uni.stoert.net 5.0-CURRENT FreeBSD 5.0-CURRENT #16: Sun Jul 28 01:41:27 CEST 2002 corecode@terrorfish.uni.stoert.net:/usr/obj/k7/usr/src/sys/TERRORFISH i386

     $FreeBSD: ports/x11-toolkits/xenostep/Makefile,v 1.4 2002/01/29 12:14:16 knu Exp $

	
>Description:
	xenostep contains a bogus strncmp:
		strncmp("buttondefault", detail)

	as it seems gcc 2.95.[34] doesn't care about this, but gcc 3.1 does,
	thankfully.
	this error may not manifest itself, but it's a missing parameter and
	may lead to wrong display.
	
	
>How-To-Repeat:
	
>Fix:

new patch file files/patch-ba

Index: files/patch-ba
===================================================================
RCS file: files/patch-ba
diff -N files/patch-ba
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-ba	2 Aug 2002 09:30:39 -0000
@@ -0,0 +1,11 @@
+--- XenoStep_theme_draw.c.orig	Fri Oct 20 11:27:52 2000
++++ XenoStep_theme_draw.c	Fri Aug  2 11:27:58 2002
+@@ -604,7 +604,7 @@
+ 				width-=2;	height-=2;
+ 			}
+ 		} else if (GTK_IS_BUTTON(widget)) {
+-			 if (detail && !strncmp("buttondefault", detail)) {
++			 if (detail && !strcmp("buttondefault", detail)) {
+ 				newshadow = ((XenoStepThemeData *)style->engine_data)->buttondef_shadow;
+ 			} else
+ 			if (!GTK_IS_TOGGLE_BUTTON(widget) && state_type == GTK_STATE_ACTIVE) {
	


>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?200208021018.g72AID7j038745>