Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jul 2024 15:04:29 GMT
From:      Joseph Mingrone <jrm@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 372546c27a5d - main - multimedia/ringrtc: Remove patch to detect mempcpy(3)
Message-ID:  <202407221504.46MF4Tlb050069@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jrm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=372546c27a5d985539321f631705affd69443781

commit 372546c27a5d985539321f631705affd69443781
Author:     Joseph Mingrone <jrm@FreeBSD.org>
AuthorDate: 2024-07-22 10:35:56 +0000
Commit:     Joseph Mingrone <jrm@FreeBSD.org>
CommitDate: 2024-07-22 15:03:30 +0000

    multimedia/ringrtc: Remove patch to detect mempcpy(3)
    
    The patch was applied to detect mempcpy(3) in /usr/include/string.h.  It
    is no longer necessary after ports snapshot d124846683 and did not
    detect the function after src snapshot 0c47b9c211.
    
    Approved by:    mikael (maintainer)
    Sponsored by:   The FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D46058
---
 .../ringrtc/files/patch-third__party_nasm_BUILD.gn       | 16 ----------------
 1 file changed, 16 deletions(-)

diff --git a/multimedia/ringrtc/files/patch-third__party_nasm_BUILD.gn b/multimedia/ringrtc/files/patch-third__party_nasm_BUILD.gn
deleted file mode 100644
index 0132553c4c1a..000000000000
--- a/multimedia/ringrtc/files/patch-third__party_nasm_BUILD.gn
+++ /dev/null
@@ -1,16 +0,0 @@
---- src/webrtc/src/third_party/nasm/BUILD.gn.orig	2023-01-11 09:17:16 UTC
-+++ src/webrtc/src/third_party/nasm/BUILD.gn
-@@ -63,6 +63,13 @@ config("nasm_config") {
- 
-   defines = [ "HAVE_CONFIG_H" ]
- 
-+  _string_h_lines =
-+        read_file("/usr/include/string.h", "list lines")
-+  _mempcpy = filter_include(_string_h_lines, [ "*\*mempcpy*" ])
-+  if (_mempcpy != []) {
-+    defines += [ "HAVE_MEMPCPY=1" ]
-+  }
-+
-   if (is_clang) {
-     cflags = [
-       # The inline functions in NASM's headers flag this.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202407221504.46MF4Tlb050069>