From owner-freebsd-ports Fri Aug 2 3:20:14 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 721FF37B400 for ; Fri, 2 Aug 2002 03:20:03 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9DEF643E70 for ; Fri, 2 Aug 2002 03:20:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g72AK2JU089380 for ; Fri, 2 Aug 2002 03:20:02 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g72AK20c089379; Fri, 2 Aug 2002 03:20:02 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 20F0B37B400; Fri, 2 Aug 2002 03:19:35 -0700 (PDT) Received: from mailout05.sul.t-online.com (mailout05.sul.t-online.com [194.25.134.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A98943E6A; Fri, 2 Aug 2002 03:19:34 -0700 (PDT) (envelope-from corecode@corecode.ath.cx) Received: from fwd11.sul.t-online.de by mailout05.sul.t-online.com with smtp id 17aZWu-0001sa-08; Fri, 02 Aug 2002 12:19:32 +0200 Received: from spirit.zuhause.stoert.net (320050403952-0001@[80.128.122.11]) by fmrl11.sul.t-online.com with esmtp id 17aZWd-0mO3ZwC; Fri, 2 Aug 2002 12:19:15 +0200 Received: from terrorfish.uni.stoert.net (terrorfish.uni.stoert.net [10.150.180.178]) by spirit.zuhause.stoert.net (8.11.6/8.11.6) with ESMTP id g72AJEQ95948; Fri, 2 Aug 2002 12:19:14 +0200 (CEST) (envelope-from corecode@corecode.ath.cx) Received: from terrorfish.uni.stoert.net (localhost [127.0.0.1]) by terrorfish.uni.stoert.net (8.12.5/8.12.5) with ESMTP id g72AIDsS038746; Fri, 2 Aug 2002 12:18:13 +0200 (CEST) (envelope-from corecode@terrorfish.uni.stoert.net) Received: (from corecode@localhost) by terrorfish.uni.stoert.net (8.12.5/8.12.5/Submit) id g72AID7j038745; Fri, 2 Aug 2002 12:18:13 +0200 (CEST) (envelope-from corecode) Message-Id: <200208021018.g72AID7j038745@terrorfish.uni.stoert.net> Date: Fri, 2 Aug 2002 12:18:13 +0200 (CEST) From: "Simon 'corecode' Schubert" Reply-To: "Simon 'corecode' Schubert" To: FreeBSD-gnats-submit@FreeBSD.org Cc: sobomax@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/41257: unbreak build of x11-toolkits/xenostep Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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