garnome-2.11-20050610.1755: gnomemeeting-1.21 revisited



A reminder from a previous post to list made on 07May05:

There is a known gcc "-O2" optimization bug for several versions of gcc
that prevents gnomemeeting from running.  The workaround is compile
"-O1". See

        http://bugzilla.gnome.org/show_bug.cgi?id=170340


Below is a patch for the Makefile that works around the optimization bug
and modifies the configuration arguments so the installed files from
pwlib and openh323 can be located.

-Joseph

=================================================================================

--- Makefile-   2005-06-15 11:27:22.000000000 -0400
+++ Makefile    2005-06-15 13:58:45.000000000 -0400
@@ -3,7 +3,7 @@
 CATEGORIES = geektoys
 DISTFILES = $(GARNAME)-$(GARVERSION).tar.bz2

-LIBDEPS = platform/libgnomeui
+LIBDEPS = platform/libgnomeui bootstrap/howl

 DESCRIPTION = gnomemeeting
 define BLURB
@@ -14,7 +14,11 @@
 BUILD_SCRIPTS = $(WORKSRC)/Makefile
 INSTALL_SCRIPTS = $(WORKSRC)/Makefile

-CONFIGURE_ARGS = $(DIRPATHS)
+CONFIGURE_ARGS = $(DIRPATHS) --with-pwlib-dir=$(prefix) --with-openh323-dir=$(prefix)

 include ../category.mk

+CFLAGS := $(shell echo $(CFLAGS) | sed -e 's/-O2/-O1/g')
+CXXFLAGS := $(shell echo $(CFLAGS) | sed -e 's/-O2/-O1/g')
+CPPFLAGS := $(shell echo $(CFLAGS) | sed -e 's/-O2/-O1/g')
+LDFLAGS := $(shell echo $(CFLAGS) | sed -e 's/-O2/-O1/g')

-- 
joseph_sacco [at] comcast [dot] net




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]