Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 115280 - avahi 0.6.1 does not compile with dbus 0.60 due to slight api change
Summary: avahi 0.6.1 does not compile with dbus 0.60 due to slight api change
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major
Assignee: Sven Wegener
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 114463
  Show dependency tree
 
Reported: 2005-12-12 02:26 UTC by Zaheer Abbas Merali (RETIRED)
Modified: 2006-01-02 07:35 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zaheer Abbas Merali (RETIRED) gentoo-dev 2005-12-12 02:26:56 UTC
dbus-protocol.c: In function `dbus_protocol_setup':
dbus-protocol.c:1032: error: `DBUS_NAME_FLAG_PROHIBIT_REPLACEMENT' undeclared
(first use in this function)

http://www.freedesktop.org/Software/dbus states in changes in dbus 0.60:

RequestName queuing behavior has changed (refer to dbus-specification)
    * DBUS_NAME_FLAG_PROHIBIT_REPLACEMENT has been removed and
DBUS_NAME_FLAG_ALLOW_REPLACEMENT has been added to the flags

Patch is available here to fix:
http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/avahi-daemon/dbus-protocol.c?p2=%2Ftrunk%2Favahi-daemon%2Fdbus-protocol.c&p1=trunk%2Favahi-daemon%2Fdbus-protocol.c&r1=1040&r2=1039&rev=1040&view=diff&makepatch=1&diff_format=h
Comment 1 Zaheer Abbas Merali (RETIRED) gentoo-dev 2005-12-12 02:39:36 UTC
that patch is not good enough on its own, it needs someone to define
DBUS_VERSION_MAJOR and DBUS_VERSION_MINOR which is not in svn by the looks of it...
Comment 2 Saleem Abdulrasool (RETIRED) gentoo-dev 2005-12-13 03:31:59 UTC
We know about this.  You can grab the updated ebuild from the Gentopia overlay.
 Need more people to test it out before we move it to the official tree.
Comment 3 Sven Wegener gentoo-dev 2006-01-02 07:35:13 UTC
I commited some other patch to CVS, it checks for DBUS_NAME_FLAG_PROHIBIT_REPLACEMENT being defined. Avoids messing around with autotools stuff in ebuilds.
Comment 4 Sven Wegener gentoo-dev 2006-01-02 07:35:41 UTC
bleh, resolving