aboutsummaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorHiroki Tagato <tagattie@FreeBSD.org>2020-06-06 09:31:30 +0000
committerHiroki Tagato <tagattie@FreeBSD.org>2020-06-06 09:31:30 +0000
commit88667648bd0a5c6d29fc4455c73cbf477d216532 (patch)
treec813be3c46c26a3e95e625e7e17df84feb0615c6 /comms
parentd212d9633c93cb3277576e5e28990e17307c855e (diff)
downloadports-88667648bd0a5c6d29fc4455c73cbf477d216532.tar.gz
ports-88667648bd0a5c6d29fc4455c73cbf477d216532.zip
Fix build on GCC architectures
PR: 246975 Submitted by: pkubaj Approved by: mentors (implicit)
Notes
Notes: svn path=/head/; revision=538080
Diffstat (limited to 'comms')
-rw-r--r--comms/scrcpy/files/patch-app_src_sys_unix_command.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/comms/scrcpy/files/patch-app_src_sys_unix_command.c b/comms/scrcpy/files/patch-app_src_sys_unix_command.c
new file mode 100644
index 000000000000..0e68801946ca
--- /dev/null
+++ b/comms/scrcpy/files/patch-app_src_sys_unix_command.c
@@ -0,0 +1,8 @@
+--- app/src/sys/unix/command.c.orig 2020-06-04 10:23:28 UTC
++++ app/src/sys/unix/command.c
+@@ -1,5 +1,4 @@
+ // for portability
+-#define _POSIX_SOURCE // for kill()
+ #define _BSD_SOURCE // for readlink()
+
+ // modern glibc will complain without this