aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroki Tagato <tagattie@FreeBSD.org>2021-11-08 06:57:45 +0000
committerHiroki Tagato <tagattie@FreeBSD.org>2021-11-08 06:58:43 +0000
commit6a080dbb0f5b699dd399e6ddb31a8cb88be7c22e (patch)
tree5cbbfb0a6f125aec182ba5c7acafb78583622189
parentaa926422203b12f543baaa6784870077ec1e3cf3 (diff)
downloadports-6a080dbb0f5b699dd399e6ddb31a8cb88be7c22e.tar.gz
ports-6a080dbb0f5b699dd399e6ddb31a8cb88be7c22e.zip
comms/scrcpy: update to 1.19
-rw-r--r--comms/scrcpy/Makefile2
-rw-r--r--comms/scrcpy/distinfo10
-rw-r--r--comms/scrcpy/files/patch-app_src_compat.h13
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