diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2017-10-31 12:04:51 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-10-31 12:04:51 +0000 |
commit | f30ca0c6f5b6cadc7b7a9f4610a96b53b6353154 (patch) | |
tree | 8b2274011772eae20ac7ad3d034d1c96c273ed4a /community/freerdp/musl-fix.patch | |
parent | a34c5e0d77f5c39e3875afda62db0894d515d5bf (diff) | |
download | aports-f30ca0c6f5b6cadc7b7a9f4610a96b53b6353154.tar.bz2 aports-f30ca0c6f5b6cadc7b7a9f4610a96b53b6353154.tar.xz |
community/freerdp: move from main
Diffstat (limited to 'community/freerdp/musl-fix.patch')
-rw-r--r-- | community/freerdp/musl-fix.patch | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/community/freerdp/musl-fix.patch b/community/freerdp/musl-fix.patch new file mode 100644 index 0000000000..ffc2e4ad3f --- /dev/null +++ b/community/freerdp/musl-fix.patch @@ -0,0 +1,47 @@ +--- ./winpr/libwinpr/synch/wait.c.orig ++++ ./winpr/libwinpr/synch/wait.c +@@ -109,12 +109,7 @@ + #if !defined(HAVE_PTHREAD_GNU_EXT) + #include <pthread.h> + +-#if defined(__FreeBSD__) +-/*the only way to get it work is to remove the static*/ + int pthread_mutex_timedlock(pthread_mutex_t *mutex, const struct timespec *timeout) +-#else +-static int pthread_mutex_timedlock(pthread_mutex_t *mutex, const struct timespec *timeout) +-#endif + { + struct timespec timenow; + struct timespec sleepytime; +--- ./winpr/libwinpr/comm/comm_serial_sys.c.orig ++++ ./winpr/libwinpr/comm/comm_serial_sys.c +@@ -42,6 +42,9 @@ + #define TTY_THRESHOLD_UNTHROTTLE 128 + #define N_TTY_BUF_SIZE 4096 + ++#ifndef CMSPAR ++#define CMSPAR 010000000000 ++#endif + + #define _BAUD_TABLE_END 0010020 /* __MAX_BAUD + 1 */ + +--- ./winpr/libwinpr/synch/wait.c.orig ++++ ./winpr/libwinpr/synch/wait.c +@@ -24,6 +24,7 @@ + #ifdef HAVE_UNISTD_H + #include <unistd.h> + #endif ++#include <sys/select.h> + + #include <winpr/crt.h> + #include <winpr/synch.h> +--- ./winpr/libwinpr/comm/comm_io.c.orig ++++ ./winpr/libwinpr/comm/comm_io.c +@@ -27,6 +27,7 @@ + #include <errno.h> + #include <termios.h> + #include <unistd.h> ++#include <sys/select.h> + + #include <winpr/io.h> + #include <winpr/wlog.h> |