git: 6a080dbb0f5b - main - comms/scrcpy: update to 1.19

From: Hiroki Tagato <tagattie_at_FreeBSD.org>
Date: Mon, 08 Nov 2021 06:58:54 UTC
The branch main has been updated by tagattie:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6a080dbb0f5b699dd399e6ddb31a8cb88be7c22e

commit 6a080dbb0f5b699dd399e6ddb31a8cb88be7c22e
Author:     Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2021-11-08 06:57:45 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2021-11-08 06:58:43 +0000

    comms/scrcpy: update to 1.19
    
    Changelog:
    - https://github.com/Genymobile/scrcpy/releases/tag/v1.18
    - https://github.com/Genymobile/scrcpy/releases/tag/v1.19
---
 comms/scrcpy/Makefile                     |  2 +-
 comms/scrcpy/distinfo                     | 10 +++++-----
 comms/scrcpy/files/patch-app_src_compat.h | 13 +++++++++++++
 3 files changed, 19 insertions(+), 6 deletions(-)

diff --git a/comms/scrcpy/Makefile b/comms/scrcpy/Makefile
index 79b8ac7b0fa1..bd39c9410e3b 100644
--- a/comms/scrcpy/Makefile
+++ b/comms/scrcpy/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	scrcpy
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.17
+DISTVERSION=	1.19
 CATEGORIES=	comms net
 MASTER_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/${DISTVERSIONFULL}/:server
 DISTFILES=	${SERVER_FILE}:server
diff --git a/comms/scrcpy/distinfo b/comms/scrcpy/distinfo
index f650faead523..67789d34084e 100644
--- a/comms/scrcpy/distinfo
+++ b/comms/scrcpy/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1609823739
-SHA256 (scrcpy-server-v1.17) = 11b5ad2d1bc9b9730fb7254a78efd71a8ff46b1938ff468e47a21b653a1b6725
-SIZE (scrcpy-server-v1.17) = 34930
-SHA256 (Genymobile-scrcpy-v1.17_GH0.tar.gz) = c16f1fe1789290d0c7dd3a2778f33d6dc6347ffe3e78e64127b85eda52420d7f
-SIZE (Genymobile-scrcpy-v1.17_GH0.tar.gz) = 266637
+TIMESTAMP = 1636261198
+SHA256 (scrcpy-server-v1.19) = 876f9322182e6aac6a58db1334f4225855ef3a17eaebc80aab6601d9d1ecb867
+SIZE (scrcpy-server-v1.19) = 37330
+SHA256 (Genymobile-scrcpy-v1.19_GH0.tar.gz) = 40ac2059618f18a0e6f9cd0e40d3bff240ade98664bd619422f875bff7e8c70e
+SIZE (Genymobile-scrcpy-v1.19_GH0.tar.gz) = 314821
diff --git a/comms/scrcpy/files/patch-app_src_compat.h b/comms/scrcpy/files/patch-app_src_compat.h
new file mode 100644
index 000000000000..d5cd7624b497
--- /dev/null
+++ b/comms/scrcpy/files/patch-app_src_compat.h
@@ -0,0 +1,13 @@
+--- app/src/compat.h.orig	2021-11-07 06:03:53 UTC
++++ app/src/compat.h
+@@ -1,8 +1,8 @@
+ #ifndef COMPAT_H
+ #define COMPAT_H
+ 
+-#define _POSIX_C_SOURCE 200809L
+-#define _XOPEN_SOURCE 700
++// #define _POSIX_C_SOURCE 200809L
++// #define _XOPEN_SOURCE 700
+ #define _GNU_SOURCE
+ #ifdef __APPLE__
+ # define _DARWIN_C_SOURCE