visp: fix unsupported -mfpu on darwin (#403603)

This commit is contained in:
Weijia Wang
2025-05-04 21:46:44 +02:00
committed by GitHub
+9
View File
@@ -55,6 +55,13 @@ stdenv.mkDerivation (finalAttrs: {
url = "https://github.com/lagadic/visp/pull/1310/commits/9ed0300507e13dddd83fd62a799f5039025ea44e.patch";
hash = "sha256-xrJ7B/8mEfi9dM/ToMr6vCAwX/FMw+GA/W0zFYgT32s=";
})
# fix error: unsupported option '-mfpu=' on darwin
# this was merged upstream, and can be removed on next release
(fetchpatch {
url = "https://github.com/lagadic/visp/commit/8c1461661f99a5db31c89ede9946d2b0244f8123.patch";
hash = "sha256-MER5KDrFxKs+Y5G9UcEIAh95Zilmv1Vp4xq+isRMM/U=";
})
];
nativeBuildInputs = [
@@ -95,6 +102,8 @@ stdenv.mkDerivation (finalAttrs: {
meta = {
description = "Open Source Visual Servoing Platform";
# ref. https://github.com/lagadic/visp/pull/1658
broken = stdenv.hostPlatform.system == "x86_64-darwin";
homepage = "https://visp.inria.fr";
changelog = "https://github.com/lagadic/visp/blob/v${finalAttrs.version}/ChangeLog.txt";
license = lib.licenses.gpl2Plus;