FreeBSD Bugzilla – Attachment 236346 Details for
Bug 266211
devel/py-maturin: update to 0.13.2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
0c33cdad95.patch (text/plain), 3.16 KB, created by
Ivan Rozhuk
on 2022-09-04 02:41:19 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Ivan Rozhuk
Created:
2022-09-04 02:41:19 UTC
Size:
3.16 KB
patch
obsolete
>From 0c33cdad9504ae64ba292420e50a1559c9912589 Mon Sep 17 00:00:00 2001 >From: "Tobias C. Berner" <tcberner@FreeBSD.org> >Date: Mon, 27 Dec 2021 08:12:38 +0100 >Subject: [PATCH] graphics/opencv: add local patch > >- the patch on github has changed a few times (by dropping two > characters). >- instead of having it fail to fetch regularly, just add the patch to > files/ > >Reported by: yuri >--- > graphics/opencv/Makefile | 3 --- > graphics/opencv/distinfo | 2 -- > graphics/opencv/files/patch-git_998406d | 31 +++++++++++++++++++++++++ > 3 files changed, 31 insertions(+), 5 deletions(-) > create mode 100644 graphics/opencv/files/patch-git_998406d > >diff --git a/graphics/opencv/Makefile b/graphics/opencv/Makefile >index 84f5c2fb9f66..1c561f3d126f 100644 >--- a/graphics/opencv/Makefile >+++ b/graphics/opencv/Makefile >@@ -3,9 +3,6 @@ DISTVERSION= 4.5.3 > PORTREVISION= 5 > CATEGORIES= graphics > >-PATCH_SITES= https://github.com/opencv/opencv/commit/ >-PATCHFILES= 998406d20e93aa36b26fd56506f3ea8a82b43c24.patch:-p1 >- > MAINTAINER= tcberner@FreeBSD.org > COMMENT= Open Source Computer Vision library > >diff --git a/graphics/opencv/distinfo b/graphics/opencv/distinfo >index c8bdfa0e0f18..a93b098b8fb5 100644 >--- a/graphics/opencv/distinfo >+++ b/graphics/opencv/distinfo >@@ -15,5 +15,3 @@ SHA256 (opencv-opencv_3rdparty-8afa57abc8229d611c4937165d20e2a2d9fc5a12_GH0.tar. > SIZE (opencv-opencv_3rdparty-8afa57abc8229d611c4937165d20e2a2d9fc5a12_GH0.tar.gz) = 63301261 > SHA256 (opencv-opencv_3rdparty-a56b6ac6f030c312b2dce17430eef13aed9af274_GH0.tar.gz) = 6d3552455d927dd28cdd6a78470398208ff2167b19b0dd51ab30a241d900cb4c > SIZE (opencv-opencv_3rdparty-a56b6ac6f030c312b2dce17430eef13aed9af274_GH0.tar.gz) = 135706483 >-SHA256 (998406d20e93aa36b26fd56506f3ea8a82b43c24.patch) = bce0f541613ac800c9f84bffde2f21b035b0528035e89495e7a49c94546334b7 >-SIZE (998406d20e93aa36b26fd56506f3ea8a82b43c24.patch) = 1074 >diff --git a/graphics/opencv/files/patch-git_998406d b/graphics/opencv/files/patch-git_998406d >new file mode 100644 >index 000000000000..bc1011b18ce5 >--- /dev/null >+++ b/graphics/opencv/files/patch-git_998406d >@@ -0,0 +1,31 @@ >+From f7b4b750d8930b5bb6696cea6d609dc70a0597db Mon Sep 17 00:00:00 2001 >+From: mikael <mikael@FreeBSD.org> >+Date: Tue, 21 Sep 2021 19:46:33 +0200 >+Subject: [PATCH] Detect FP16 on FreeBSD aarch64 >+ >+--- >+ modules/core/src/system.cpp | 4 ++-- >+ 1 file changed, 2 insertions(+), 2 deletions(-) >+ >+diff --git modules/core/src/system.cpp modules/core/src/system.cpp >+index d8b8f6755950..df9e8a0ce76f 100644 >+--- modules/core/src/system.cpp >++++ modules/core/src/system.cpp >+@@ -533,7 +533,7 @@ struct HWFeatures >+ } >+ #endif // CV_CPUID_X86 >+ >+- #if defined __ANDROID__ || defined __linux__ >++ #if defined __ANDROID__ || defined __linux__ || defined __FreeBSD__ >+ #ifdef __aarch64__ >+ have[CV_CPU_NEON] = true; >+ have[CV_CPU_FP16] = true; >+@@ -559,7 +559,7 @@ struct HWFeatures >+ CV_LOG_INFO(NULL, "- FP16 instructions is NOT enabled via build flags"); >+ #endif >+ #endif >+- #elif defined __arm__ >++ #elif defined __arm__ && !defined __FreeBSD__ >+ int cpufile = open("/proc/self/auxv", O_RDONLY); >+ >+ if (cpufile >= 0)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 266211
:
236346
|
236348
|
236432
|
236446