pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/pango Switch compiler optimisation off under Mac...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d4acd6aba060
branches:  trunk
changeset: 400591:d4acd6aba060
user:      tron <tron%pkgsrc.org@localhost>
date:      Thu Oct 22 19:54:03 2009 +0000

description:
Switch compiler optimisation off under Mac OS X to stop GTK+ applications
from entering a busy loop on startup. Bump package revision as the package
previously built fine but didn't work.

diffstat:

 devel/pango/Makefile |   3 ++-
 devel/pango/hacks.mk |  14 ++++++++++++++
 2 files changed, 16 insertions(+), 1 deletions(-)

diffs (30 lines):

diff -r 4a74160fa1d0 -r d4acd6aba060 devel/pango/Makefile
--- a/devel/pango/Makefile      Thu Oct 22 19:32:01 2009 +0000
+++ b/devel/pango/Makefile      Thu Oct 22 19:54:03 2009 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.134 2009/10/21 15:42:18 drochner Exp $
+# $NetBSD: Makefile,v 1.135 2009/10/22 19:54:03 tron Exp $
 
 DISTNAME=              pango-1.26.0
+PKGREVISION=           1
 CATEGORIES=            devel fonts
 MASTER_SITES=          ${MASTER_SITE_GNOME:=sources/pango/1.26/}
 EXTRACT_SUFX=          .tar.bz2
diff -r 4a74160fa1d0 -r d4acd6aba060 devel/pango/hacks.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/pango/hacks.mk      Thu Oct 22 19:54:03 2009 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: hacks.mk,v 1.1 2009/10/22 19:54:03 tron Exp $
+
+.if !defined(PANGO_HACKS_MK)
+PANGO_HACKS_MK=        # defined
+
+# Avoid high CPU usage caused by code generaton problems in Apple's G++.
+# Please look here for details:
+# https://bugzilla.gnome.org/show_bug.cgi?id=593240
+
+.  if ${OPSYS} == "Darwin"
+PKG_HACKS+=    darwin-pango-code-gen-bug
+CFLAGS=                -pipe -O0 -g
+.  endif
+.endif



Home | Main Index | Thread Index | Old Index