From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Nov 12 14:00:02 2007 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E47E416A419 for ; Mon, 12 Nov 2007 14:00:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id BEF7C13C4A6 for ; Mon, 12 Nov 2007 14:00:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id lACE01oD002296 for ; Mon, 12 Nov 2007 14:00:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id lACE01kT002295; Mon, 12 Nov 2007 14:00:01 GMT (envelope-from gnats) Resent-Date: Mon, 12 Nov 2007 14:00:01 GMT Resent-Message-Id: <200711121400.lACE01kT002295@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "\"Pietro Cerutti\" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 22C0A16A41B for ; Mon, 12 Nov 2007 13:51:59 +0000 (UTC) (envelope-from gahr@gahr.ch) Received: from cpanel03.rubas-s03.net (cpanel03.rubas-s03.net [195.182.222.73]) by mx1.freebsd.org (Postfix) with ESMTP id A602B13C4A5 for ; Mon, 12 Nov 2007 13:51:58 +0000 (UTC) (envelope-from gahr@gahr.ch) Received: from 80-218-191-236.dclient.hispeed.ch ([80.218.191.236] helo=gahrtop.localhost) by cpanel03.rubas-s03.net with esmtpa (Exim 4.63) (envelope-from ) id 1IrZhZ-0002oR-I3 for FreeBSD-gnats-submit@freebsd.org; Mon, 12 Nov 2007 14:51:45 +0100 Received: from gahrtop.localhost (localhost [127.0.0.1]) by gahrtop.localhost (Postfix) with ESMTP id 4DC8D73085 for ; Mon, 12 Nov 2007 14:51:40 +0100 (CET) Message-Id: <1194875500.26916@gahrtop.localhost> Date: Mon, 12 Nov 2007 14:51:40 +0100 From: "\"Pietro Cerutti\" To: "FreeBSD gnats submit" X-Send-Pr-Version: gtk-send-pr 0.4.8 Cc: Subject: ports/118002: [patch] x11-themes/buffy unbreak fix build with GCC 4.2 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Nov 2007 14:00:02 -0000 >Number: 118002 >Category: ports >Synopsis: [patch] x11-themes/buffy unbreak fix build with GCC 4.2 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Nov 12 14:00:01 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Pietro Cerutti >Release: FreeBSD 8.0-CURRENT i386 >Organization: Bern University of Applied Sciences >Environment: System: FreeBSD 8.0-CURRENT #9: Fri Nov 9 14:50:37 CET 2007 root@gahrtop.localhost:/usr/obj/usr/src/sys/MSI1034 >Description: - fixed a few "static declaration follows non-static declaration" problems. - added USE_LDCONFIG=yes in Makefile >How-To-Repeat: cd /usr/ports/x11-themes/buffy && make >Fix: --- _buffy.diff begins here --- --- Makefile.orig 2007-11-12 14:39:50.000000000 +0100 +++ Makefile 2007-11-12 14:49:45.000000000 +0100 @@ -20,17 +20,12 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} USE_GNOME= gtk12 +USE_LDCONFIG= yes GNU_CONFIGURE= yes -.include - -.if ${OSVERSION} >= 700042 -BROKEN= Broken with gcc 4.2 -.endif - post-patch: @${REINPLACE_CMD} -e 's|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/ltconfig -.include +.include --- /dev/null 2007-11-12 14:49:18.000000000 +0100 +++ files/patch-gtk-engine_draw.c 2007-11-12 14:44:19.000000000 +0100 @@ -0,0 +1,74 @@ +--- gtk-engine/draw.c.orig 2007-11-12 14:41:47.000000000 +0100 ++++ gtk-engine/draw.c 2007-11-12 14:43:43.000000000 +0100 +@@ -97,7 +97,7 @@ + }; + + +-static void ++void + draw_shadow(GtkStyle * style, GdkWindow * window, GtkStateType state_type, GtkShadowType shadow_type, GdkRectangle * area, GtkWidget * widget, gchar * detail, gint x, gint y, gint width, gint height) + { + +@@ -260,7 +260,7 @@ + } + + +-static void ++void + draw_arrow(GtkStyle * style, GdkWindow * window, GtkStateType state_type, GtkShadowType shadow_type, GdkRectangle * area, GtkWidget * widget, gchar * detail, GtkArrowType arrow_type, gint fill, gint x, gint y, gint width, gint height) + { + +@@ -351,7 +351,7 @@ + gdk_draw_polygon(window, shadowGCs[1], TRUE, points, 3); + } + +-static void ++void + draw_diamond(GtkStyle * style, GdkWindow * window, GtkStateType state_type, GtkShadowType shadow_type, GdkRectangle * area, GtkWidget * widget, gchar * detail, gint x, gint y, gint width, gint height) + { + gint half_width; +@@ -441,7 +441,7 @@ + } + } + +-static void ++void + draw_string(GtkStyle * style, GdkWindow * window, GtkStateType state_type, GdkRectangle * area, GtkWidget * widget, gchar * detail, gint x, gint y, const gchar * string) + { + +@@ -467,7 +467,7 @@ + + } + +-static void ++void + draw_box(GtkStyle * style, GdkWindow * window, GtkStateType state_type, GtkShadowType shadow_type, GdkRectangle * area, GtkWidget * widget, gchar * detail, gint x, gint y, gint width, gint height) + { + g_return_if_fail(style != NULL); +@@ -764,7 +764,7 @@ + + + +-static void ++void + draw_check(GtkStyle * style, GdkWindow * window, GtkStateType state_type, GtkShadowType shadow_type, GdkRectangle * area, GtkWidget * widget, gchar * detail, gint x, gint y, gint width, gint height) + { + +@@ -836,7 +836,7 @@ + } + } + +-static void ++void + draw_shadow_gap(GtkStyle * style, GdkWindow * window, GtkStateType state_type, GtkShadowType shadow_type, GdkRectangle * area, GtkWidget * widget, gchar * detail, gint x, gint y, gint width, gint height, GtkPositionType gap_side, gint gap_x, gint gap_width) + { + GdkRectangle rect; +@@ -889,7 +889,7 @@ + gdk_gc_set_clip_rectangle(style->bg_gc[GTK_STATE_NORMAL], NULL); + } + +-static void ++void + draw_box_gap(GtkStyle * style, GdkWindow * window, GtkStateType state_type, GtkShadowType shadow_type, GdkRectangle * area, GtkWidget * widget, gchar * detail, gint x, gint y, gint width, gint height, GtkPositionType gap_side, gint gap_x, gint gap_width) + { + GdkRectangle rect; --- _buffy.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: