Bug 195629 - [Patch] audio/xfmpc: fix crash on FreeBSD 10.1
Summary: [Patch] audio/xfmpc: fix crash on FreeBSD 10.1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Olivier Duchateau
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-03 17:29 UTC by Andrey Akhmichin
Modified: 2015-01-13 20:36 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (xfce)


Attachments
xfmpc.patch (5.21 KB, patch)
2014-12-03 17:51 UTC, Andrey Akhmichin
no flags Details | Diff
Unbreak build with vala 0.26 (6.61 KB, patch)
2015-01-03 15:14 UTC, Olivier Duchateau
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Akhmichin 2014-12-03 17:29:40 UTC
Hello!
xfmpc crash on start with error messages:

% xfmpc
Timeout or error() 1792 - Unknown error: 203185152
GLib (gthread-posix.c): Unexpected error from C library during 'pthread_mutex_unlock': Operation not permitted.  Aborting.
[1]    12309 abort (core dumped)  xfmpc

This patch fix it and all compiler warnings( deprecated glib calls, unused variables, incompatible types).
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2014-12-03 17:29:40 UTC
Auto-assigned to maintainer xfce@FreeBSD.org
Comment 2 Andrey Akhmichin 2014-12-03 17:51:57 UTC
Created attachment 150149 [details]
xfmpc.patch
Comment 3 Olivier Duchateau freebsd_committer freebsd_triage 2015-01-03 15:14:17 UTC
Created attachment 151291 [details]
Unbreak build with vala 0.26

Your patch looks good, unfortunately, build still fails. Xfmpc uses GTK2 functions which are dropped in Vala since >= 0.21 release.

New one unbreak build.
Comment 4 Olivier Duchateau freebsd_committer freebsd_triage 2015-01-13 20:36:15 UTC
Fixed with revision r376716.

Thanks.