[MacPorts] #42402: libdmapsharing: port fails to build with current version of libgee, update to version 0.9.24
MacPorts
noreply at macports.org
Fri Feb 7 11:57:10 PST 2014
#42402: libdmapsharing: port fails to build with current version of libgee, update
to version 0.9.24
----------------------+----------------------------
Reporter: devans@… | Owner: mike@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Keywords: haspatch | Port: libdmapsharing
----------------------+----------------------------
The current archived binary version of libdmapsharing still has a
reference to libpng15 embedded. However, when I attempted to rebuild the
port with the current libpng16, the port failed to build due to API
changes in the current version of libgee @0.12.0. Build log excerpt
follows.
{{{
vala-dmap-db.c:243:100: error: too few arguments to function call,
expected 6, have 4
_tmp0_ = gee_array_list_new (DMAP_TYPE_RECORD, (GBoxedCopyFunc)
g_object_ref, g_object_unref, NULL);
~~~~~~~~~~~~~~~~~~
^
/opt/local/include/gee-0.8/gee.h:1499:1: note: 'gee_array_list_new'
declared here
GeeArrayList* gee_array_list_new (GType g_type, GBoxedCopyFunc g_dup_func,
GDestroyNotify g_destroy_func, GeeEqualDataFunc equal_func, void*
equal_func_target, GDestroyNotify equal_func_target_destroy_notify);
^
7 warnings and 1 error generated.
}}}
Updating the port to version 0.9.24 solves the problem.
The attached patch
* updates to latest version 0.9.24
* updates dependencies as required
* configuration updated to build with Apple dns_sd to avoid linking with
avahi if it happens to be present.
I tried applying the current upstream patches for vala and gobject-
introspection but they don't build for
me as yet so not included here.
Let me know if this is OK to commit or your suggested changes otherwise.
Thanks
--
Ticket URL: <https://trac.macports.org/ticket/42402>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list