#8215 closed defect (fixed)
libdvdread needs byte swapping routines defined — at Version 3
Reported by: | m-darwinports@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.2 |
Keywords: | Cc: | springer.jonathan@…, markd@… | |
Port: | libdvdread |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
Add this to the big #if/elif/else statement in bswap.h to properly compile:
#elif defined(__APPLE__) #include <libkern/OSByteOrder.h> #define B2N_16(x) x = OSSwapBigToHostConstInt16(x) #define B2N_32(x) x = OSSwapBigToHostConstInt32(x) #define B2N_64(x) x = OSSwapBigToHostConstInt64(x)
Change History (4)
comment:1 Changed 18 years ago by springer.jonathan@…
Cc: | springer.jonathan@… added |
---|
comment:2 Changed 18 years ago by markd@…
Cc: | markd@… added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Committed update to 0.9.7. Patch is no longer necessary.
comment:3 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Port: | libdvdread added |
Note: See
TracTickets for help on using
tickets.
Portfile diff. See also files/patch-bswap.h attachment to bug.