From owner-freebsd-ports-bugs@FreeBSD.ORG Thu May 17 09:30:02 2012 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 760CF106568C for ; Thu, 17 May 2012 09:30:02 +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 2E4528FC0C for ; Thu, 17 May 2012 09:30:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q4H9U2Yf002888 for ; Thu, 17 May 2012 09:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q4H9U2Dj002885; Thu, 17 May 2012 09:30:02 GMT (envelope-from gnats) Resent-Date: Thu, 17 May 2012 09:30:02 GMT Resent-Message-Id: <201205170930.q4H9U2Dj002885@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, Makoto Kishimoto Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BC65A106566C for ; Thu, 17 May 2012 09:20:28 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id A82568FC08 for ; Thu, 17 May 2012 09:20:28 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q4H9KSBo000808 for ; Thu, 17 May 2012 09:20:28 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q4H9KSGT000807; Thu, 17 May 2012 09:20:28 GMT (envelope-from nobody) Message-Id: <201205170920.q4H9KSGT000807@red.freebsd.org> Date: Thu, 17 May 2012 09:20:28 GMT From: Makoto Kishimoto To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/168004: more patch for gdk, to remove "-I${libdir}/gtk-2.0/include" in gdk-2.0.pc 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: Thu, 17 May 2012 09:30:02 -0000 >Number: 168004 >Category: ports >Synopsis: more patch for gdk, to remove "-I${libdir}/gtk-2.0/include" in gdk-2.0.pc >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu May 17 09:30:01 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Makoto Kishimoto >Release: 8.3-STABLE >Organization: na >Environment: FreeBSD norikura.localdomain 8.3-STABLE FreeBSD 8.3-STABLE #0 r235428: Wed May 16 18:32:03 JST 2012 ksmakoto@norikura.localdomain:/export/obj/usr/src/sys/NORIKURA20120516 amd64 >Description: By "patch-ak", FreeBSD ports of gtk+2 moves directory for .h files to $(prefix)/include/gtk-2.0 , but gdk-2.0.pc (and gdk-x11-2.0.pc) specifies -I${libdir}/gtk-2.0/include to CFLAGS . Non existent directory of -I option of gcc, sometimes cause gcc crash ( see http://docs.freebsd.org/cgi/getmsg.cgi?fetch=120904+0+archive/2008/freebsd-current/20081026.freebsd-current ). For example, ruby-gnome2 1.1.0 (newer version than ports') build failed. Attached patch modify gdk-2.0.pc.in to fix this problem. >How-To-Repeat: na >Fix: Add attached patch to ports/x11-toolkits/gtk20/files . Patch attached with submission follows: --- gdk-2.0.pc.in.ORG 2012-05-17 13:07:34.000000000 +0900 +++ gdk-2.0.pc.in 2012-05-17 13:08:59.000000000 +0900 @@ -9,4 +9,4 @@ Version: @VERSION@ Requires: @GDK_PACKAGES@ Libs: -L${libdir} -lgdk-${target}-@GTK_API_VERSION@ @GDK_EXTRA_LIBS@ -Cflags: -I${includedir}/gtk-2.0 -I${libdir}/gtk-2.0/include @GDK_EXTRA_CFLAGS@ +Cflags: -I${includedir}/gtk-2.0 @GDK_EXTRA_CFLAGS@ >Release-Note: >Audit-Trail: >Unformatted: