Bug 195629

Summary: [Patch] audio/xfmpc: fix crash on FreeBSD 10.1
Product: Ports & Packages Reporter: Andrey Akhmichin <sepulkarium45>
Component: Individual Port(s)Assignee: Olivier Duchateau <olivierd>
Status: Closed FIXED    
Severity: Affects Only Me CC: olivierd
Priority: --- Flags: bugzilla: maintainer-feedback? (xfce)
Version: Latest   
Hardware: amd64   
OS: Any   
Attachments:
Description Flags
xfmpc.patch
none
Unbreak build with vala 0.26 none

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.