ports/169650: [patch] graphics/gimp-app: do not depend on -lexecinfo, it's unused
Jan Beich
jbeich at tormail.org
Wed Jul 4 20:20:05 UTC 2012
>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:
More information about the freebsd-ports-bugs
mailing list