Unverified Commit 382b1de5 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

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

parents cbaab9e8 a1e71778
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -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;