From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Aug 23 15:10:20 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0FBA016A4D6 for ; Mon, 23 Aug 2004 15:10:20 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E722043D2D for ; Mon, 23 Aug 2004 15:10:19 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i7NFAJXu089199 for ; Mon, 23 Aug 2004 15:10:19 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i7NFAJB1089198; Mon, 23 Aug 2004 15:10:19 GMT (envelope-from gnats) Resent-Date: Mon, 23 Aug 2004 15:10:19 GMT Resent-Message-Id: <200408231510.i7NFAJB1089198@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, KATO Tsuguru Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E16DC16A4CE for ; Mon, 23 Aug 2004 15:01:30 +0000 (GMT) Received: from hfep01.dion.ne.jp (hfep01.dion.ne.jp [203.181.105.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id 58A3943D5D for ; Mon, 23 Aug 2004 15:01:29 +0000 (GMT) (envelope-from tkato432@yahoo.com) Received: from localhost ([61.198.217.69]) by hfep01.dion.ne.jp with SMTP id <20040823150124682.EJES@hfep01.dion.ne.jp> for ; Tue, 24 Aug 2004 00:01:24 +0900 Message-Id: <20040824000024.3a9b2327.tkato432@yahoo.com> Date: Tue, 24 Aug 2004 00:00:24 +0900 From: KATO Tsuguru To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/70869: Update port: multimedia/xtheater X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Aug 2004 15:10:20 -0000 >Number: 70869 >Category: ports >Synopsis: Update port: multimedia/xtheater >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Aug 23 15:10:19 GMT 2004 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 4.10-RELEASE-p2 i386 >Organization: >Environment: >Description: - Fix build on -current after gcc 3.4 import New file: files/patch-plugins::ui::gtk::uiopt.c >How-To-Repeat: >Fix: diff -urN /usr/ports/multimedia/xtheater/files/patch-plugins::ui::gtk::uiopt.c multimedia/xtheater/files/patch-plugins::ui::gtk::uiopt.c --- /usr/ports/multimedia/xtheater/files/patch-plugins::ui::gtk::uiopt.c Thu Jan 1 09:00:00 1970 +++ multimedia/xtheater/files/patch-plugins::ui::gtk::uiopt.c Sun Aug 22 22:13:28 2004 @@ -0,0 +1,67 @@ +--- plugins/ui/gtk/uiopt.c.orig Sat Jun 2 07:06:34 2001 ++++ plugins/ui/gtk/uiopt.c Sun Aug 22 22:10:22 2004 +@@ -40,8 +40,8 @@ + void apply_savesettings (GtkWidget * b, gpointer ig); + + /* Data */ +-static GtkWidget *labs[64]; +-static GtkWidget *sets[64]; ++static GtkWidget *my_labs[64]; ++static GtkWidget *my_sets[64]; + static char type[64]; + static char plug_opts[64][80]; + static int num_settings; +@@ -83,26 +83,26 @@ + type[i] = 's'; + tmp = opts[i] + 7; + while (*(tmp++) != '\t'); +- sets[i] = gtk_entry_new (); +- labs[i] = gtk_label_new (tmp); ++ my_sets[i] = gtk_entry_new (); ++ my_labs[i] = gtk_label_new (tmp); + strncpy (plug_opts[i], opts[i] + 7, tmp - opts[i] - 8); +- gtk_box_pack_start (GTK_BOX (horbox[i]), sets[i], 0, 0, 0); +- gtk_box_pack_start (GTK_BOX (horbox[i]), labs[i], 0, 0, 0); ++ gtk_box_pack_start (GTK_BOX (horbox[i]), my_sets[i], 0, 0, 0); ++ gtk_box_pack_start (GTK_BOX (horbox[i]), my_labs[i], 0, 0, 0); + if (loader_get_setting (plug_opts[i])) +- gtk_entry_set_text (GTK_ENTRY (sets[i]), ++ gtk_entry_set_text (GTK_ENTRY (my_sets[i]), + loader_get_setting (plug_opts[i])); + } + if (!strncmp (opts[i], "bool", 4)) { + type[i] = 'b'; + tmp = opts[i] + 5; + while (*(tmp++) != '\t'); +- sets[i] = gtk_check_button_new (); +- labs[i] = gtk_label_new (tmp); ++ my_sets[i] = gtk_check_button_new (); ++ my_labs[i] = gtk_label_new (tmp); + strncpy (plug_opts[i], opts[i] + 5, tmp - opts[i] - 6); +- gtk_box_pack_start (GTK_BOX (horbox[i]), sets[i], 0, 0, 0); +- gtk_box_pack_start (GTK_BOX (horbox[i]), labs[i], 0, 0, 0); ++ gtk_box_pack_start (GTK_BOX (horbox[i]), my_sets[i], 0, 0, 0); ++ gtk_box_pack_start (GTK_BOX (horbox[i]), my_labs[i], 0, 0, 0); + if (loader_get_setting (plug_opts[i])) +- gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (sets[i]), ++ gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (my_sets[i]), + !strcmp (loader_get_setting + (plug_opts[i]), "true")); + +@@ -146,14 +146,14 @@ + for (i = 0; i < num_settings; i++) { + switch (type[i]) { + case 'b': +- if (GTK_TOGGLE_BUTTON (sets[i])->active) ++ if (GTK_TOGGLE_BUTTON (my_sets[i])->active) + loader_set_setting (plug_opts[i], "true"); + else + loader_set_setting (plug_opts[i], "false"); + break; + case 's': + loader_set_setting (plug_opts[i], +- gtk_entry_get_text (GTK_ENTRY (sets[i]))); ++ gtk_entry_get_text (GTK_ENTRY (my_sets[i]))); + break; + } + } >Release-Note: >Audit-Trail: >Unformatted: