summaryrefslogtreecommitdiff
path: root/system/fakeroot/fakeroot-skip-ipc-sanity-check.patch
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2022-01-08 15:35:13 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2022-05-01 17:05:41 -0500
commit67036d66488115901510a51c83147ad37dd871e9 (patch)
tree41add2d48aa3eec3e4c5f4435bceec8a2b8fc2d8 /system/fakeroot/fakeroot-skip-ipc-sanity-check.patch
parent473a51c44dc72c39a14eef332a68c6e50cf2fdc6 (diff)
downloadpackages-67036d66488115901510a51c83147ad37dd871e9.tar.gz
packages-67036d66488115901510a51c83147ad37dd871e9.tar.bz2
packages-67036d66488115901510a51c83147ad37dd871e9.tar.xz
packages-67036d66488115901510a51c83147ad37dd871e9.zip
system/fakeroot: bump { 1.24 --> 1.25.3 } and pull Alpine patches. fixes test failure on ppc64.
Diffstat (limited to 'system/fakeroot/fakeroot-skip-ipc-sanity-check.patch')
-rw-r--r--system/fakeroot/fakeroot-skip-ipc-sanity-check.patch46
1 files changed, 46 insertions, 0 deletions
diff --git a/system/fakeroot/fakeroot-skip-ipc-sanity-check.patch b/system/fakeroot/fakeroot-skip-ipc-sanity-check.patch
new file mode 100644
index 000000000..fc96c2922
--- /dev/null
+++ b/system/fakeroot/fakeroot-skip-ipc-sanity-check.patch
@@ -0,0 +1,46 @@
+diff -urN fakeroot-1.25.3.orig/configure.ac fakeroot-1.25.3/configure.ac
+--- fakeroot-1.25.3.orig/configure.ac 2020-12-15 02:33:22.866626448 -0700
++++ fakeroot-1.25.3/configure.ac 2020-12-15 02:33:40.563359415 -0700
+@@ -25,42 +25,6 @@
+ [ac_cv_use_ipc],
+ [ac_cv_use_ipc=sysv])
+
+-if test $ac_cv_use_ipc = "sysv"; then
+- AC_MSG_CHECKING([whether SysV IPC message queues are actually working on the host])
+-
+- AC_LANG_PUSH(C)
+- AC_TRY_RUN([
+-#include <stdlib.h>
+-#include <sys/types.h>
+-#include <sys/ipc.h>
+-#include <sys/msg.h>
+-#include <time.h>
+-#include <unistd.h>
+-
+-int main() {
+-
+- srandom(time(NULL)+getpid()*33151);
+- key_t msg_key = random();
+- int msg_get = msgget(msg_key, IPC_CREAT|0600);
+-
+- if (msg_get==-1) {
+- return 1;
+- } else {
+- msgctl(msg_get, IPC_RMID, NULL);
+- return 0;
+- }
+-
+-}], [ac_cv_use_ipc=sysv], [ac_cv_use_ipc=tcp])
+-
+- if test $ac_cv_use_ipc = "tcp"; then
+- AC_MSG_RESULT([No, using TCP])
+- else
+- AC_MSG_RESULT([Yes])
+- fi
+-
+- AC_LANG_POP(C)
+-fi
+-
+ AC_ARG_WITH([dbformat],
+ AS_HELP_STRING([--with-dbformat@<:@=DBFORMAT@:>@],
+ [database format to use: either inode (default) or path]),