summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/rangehttpserver
diff options
context:
space:
mode:
authorPalmer Cox <p@lmercox.com>2025-01-25 22:21:43 -0500
committerBjørn Forsman <bjorn.forsman@gmail.com>2025-01-26 23:47:12 +0100
commit479d8786151352de75ea8198ec40624ee18f1f00 (patch)
treee7be84d41d3667c01de5598f73f9f279ed31314d /pkgs/development/python-modules/rangehttpserver
parent165e9d15d18a94393788b220097bd26f41910749 (diff)
mbrola: Fix compilation on Darwin
It looks like mbrola hasn't done a release in 6 years or so. In that time, they have a few fixes for compiling on Darwin. However, picking up those changes would require us to start packaging the latest git which is unreleased. I tried grabbing the relevant patches, but they don't seem to apply cleanly. So, instead, I just made some tweaks to the files to get things to compile using substituteInPlace. The first thing we patch is that the Makefile requests the "O6" optimization level - which does not exist in gcc or clang - but is an error in clang. The second thing is that the project attempts to re-define the "swab" function from unistd.h. Which maybe was necessary in the past, but now is an error.
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions