aboutsummaryrefslogtreecommitdiffstats
path: root/community/pipewire/fix-s390x.patch
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2019-09-09 21:50:37 +0200
committerLeo <thinkabit.ukim@gmail.com>2019-09-11 15:14:40 -0300
commit8576cac01f686709ca19725e065b7ccdac12f07a (patch)
tree2af3f9e86e6293d03f2b5e917588b3b7bd722718 /community/pipewire/fix-s390x.patch
parent252d5710720e605b8761a84fca6be6091d08a90c (diff)
downloadaports-8576cac01f686709ca19725e065b7ccdac12f07a.tar.bz2
aports-8576cac01f686709ca19725e065b7ccdac12f07a.tar.xz
community/pipewire: move from testing
Diffstat (limited to 'community/pipewire/fix-s390x.patch')
-rw-r--r--community/pipewire/fix-s390x.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/community/pipewire/fix-s390x.patch b/community/pipewire/fix-s390x.patch
new file mode 100644
index 0000000000..f1a31b40d0
--- /dev/null
+++ b/community/pipewire/fix-s390x.patch
@@ -0,0 +1,17 @@
+diff --git a/src/modules/module-protocol-native.c b/src/modules/module-protocol-native.c
+index 131657f..7b56863 100644
+--- a/src/modules/module-protocol-native.c
++++ b/src/modules/module-protocol-native.c
+@@ -58,6 +58,11 @@
+ #define UNIX_PATH_MAX 108
+ #endif
+
++/* Required for s390x */
++#ifndef SO_PEERSEC
++#define SO_PEERSEC 31
++#endif
++
+ static bool debug_messages = 0;
+
+ #define LOCK_SUFFIX ".lock"
+