Bug #123

Fix build on OpenBSD

Added by Brad Smith almost 5 years ago. Updated almost 5 years ago.

Status:Closed Start date:June 09, 2012
Priority:Major Due date:
Assignee:- % Done:

100%

Category:libaudcore
Target version:3.2.4
Affects version:3.2.4

Description

At the moment audacious fails to build on OpenBSD due to the
byte swap macros audacious has in libaudcore which conflict
with OpenBSD's byte swap macros. The attached patch renames
the macros so they do not conflict.

0001-Rename-audacious-byte-swap-macros-to-not-conflict-wi.patch Magnifier (2.7 kB) Brad Smith, June 09, 2012 13:23

Associated revisions

Revision 1fe99f3d
Added by John Lindgren almost 5 years ago

Rename swapXX inlines not to conflict with OpenBSD's. Also, we want round(), not lrint(). Closes: #123.

Revision 531d8d97
Added by John Lindgren almost 5 years ago

Rename swapXX inlines not to conflict with OpenBSD's. Also, we want round(), not lrint(). Closes: #123.

Conflicts:
src/libaudcore/audio.c

History

#1 Updated by John Lindgren almost 5 years ago

Does capitalizing them work as well (e.g. SWAP16)?

#2 Updated by Brad Smith almost 5 years ago

John Lindgren wrote:

Does capitalizing them work as well (e.g. SWAP16)?

Yes, that also works.

#3 Updated by John Lindgren almost 5 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF