Date: Wed, 04 Jul 2012 19:14:26 -0100 From: Jan Beich <jbeich@tormail.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/169650: [patch] graphics/gimp-app: do not depend on -lexecinfo, it's unused Message-ID: <1SmVyS-0000Zk-GJ@internal.tormail.org> Resent-Message-ID: <201207042020.q64KK4g9008241@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 169650 >Category: ports >Synopsis: [patch] graphics/gimp-app: do not depend on -lexecinfo, it's unused >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: Wed Jul 04 20:20:04 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Jan Beich >Release: FreeBSD 10.0-CURRENT amd64 >Organization: >Environment: >Description: get_backtrace() is unused within gimp and ports are stripped of all symbols by default. >How-To-Repeat: >Fix: --- no_execinfo_dep.diff begins here --- --- /dev/null +++ graphics/gimp-app/files/patch-app-base-base-utils.c @@ -0,0 +1,20 @@ +--- app/base/base-utils.c~ ++++ app/base/base-utils.c +@@ -29,7 +29,7 @@ + #include <process.h> + #endif + +-#ifdef G_OS_UNIX ++#ifdef __GLIBC__ + /* For get_backtrace() */ + #include <stdlib.h> + #include <string.h> +@@ -112,7 +112,7 @@ get_physical_memory_size (void) + char * + get_backtrace (void) + { +-#ifdef G_OS_UNIX ++#ifdef __GLIBC__ + void *functions[MAX_FUNC]; + char **function_names; + int n_functions; --- no_execinfo_dep.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1SmVyS-0000Zk-GJ>