Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 May 2009 23:40:26 GMT
From:      Piotr Smyrak <smyru@heron.pl>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/135048: [patch] fix broken app by adjusting LDFLAGS
Message-ID:  <200905282340.n4SNeQUg011509@www.freebsd.org>
Resent-Message-ID: <200905282350.n4SNo7L0049790@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         135048
>Category:       ports
>Synopsis:       [patch] fix broken app by adjusting LDFLAGS
>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:   Thu May 28 23:50:07 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Piotr Smyrak
>Release:        FreeBSD 7.2-PRERELEASE i386
>Organization:
>Environment:
FreeBSD dsk.smyrak.com 7.2-PRERELEASE FreeBSD 7.2-PRERELEASE #4: Sat Apr  4 20:24:14 CEST 2009     root@dsk.smyrak.com:/usr/obj/usr/src/sys/SMYRU  i386

>Description:
The current state of port is broken. It will build fine, but after starting application is unresponsive to pointer events. The attached patch fixes it. I also volunteer to maintain it again, as I was the original creator of it. Also there is no need for particular GCC version.
>How-To-Repeat:
Build, run, try RMC and select Quit or any other menu option. App is unresponsive, libglade warning are issued to console.
>Fix:


Patch attached with submission follows:

--- Makefile.orig	2009-05-29 01:34:13.000000000 +0200
+++ Makefile	2009-05-29 01:34:06.000000000 +0200
@@ -11,14 +11,13 @@
 CATEGORIES=	deskutils
 MASTER_SITES=	http://linuxadvocate.org/projects/gruler/downloads/
 
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A customizable screen ruler for GNOME
+MAINTAINER=	smyru@heron.pl
+COMMENT=	A simple customizable GTK screen ruler
 
 USE_GNOME=	gnomeprefix gnomehack libgnomeui libglade2
 USE_AUTOTOOLS=	libtool:15
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
-		LDFLAGS="-L${LOCALBASE}/lib"
-USE_GCC=	3.4
+		LDFLAGS="-L${LOCALBASE}/lib -export-dynamic"
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|^CFLAGS=""||' ${WRKSRC}/configure
--- pkg-descr.orig	2009-05-29 01:33:19.000000000 +0200
+++ pkg-descr	2009-05-29 01:33:24.000000000 +0200
@@ -15,6 +15,3 @@
 	* Speed up keyboard operations (hold SHIFT key)
 
 WWW: http://linuxadvocate.org/projects/gruler/
-
-- Jean-Yves Lefort
-jylefort@FreeBSD.org


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905282340.n4SNeQUg011509>