mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-26 23:42:57 +02:00
dante: fix build on ppc*
This commit is contained in:
parent
b3e2781617
commit
64dcabcae8
1 changed files with 19 additions and 0 deletions
19
srcpkgs/dante/patches/ppc.patch
Normal file
19
srcpkgs/dante/patches/ppc.patch
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
Source: Debian
|
||||||
|
Description: Use a flag, not an ioctl value, for HAVE_SENDBUF_IOCTL
|
||||||
|
The preprocessor throws a hissy fit if we try to check for
|
||||||
|
the truthiness of an ioctl definition itself, at least on PowerPC.
|
||||||
|
Author: Peter Pentchev <roam@ringlet.net>
|
||||||
|
Forwarded: not-yet
|
||||||
|
Last-Update: 2016-04-11
|
||||||
|
|
||||||
|
--- libscompat.m4
|
||||||
|
+++ libscompat.m4
|
||||||
|
@@ -377,7 +377,7 @@
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}], [AC_MSG_RESULT(yes)
|
||||||
|
- AC_DEFINE(HAVE_SENDBUF_IOCTL, TIOCOUTQ, [send buffer data])
|
||||||
|
+ AC_DEFINE(HAVE_SENDBUF_IOCTL, 1, [send buffer data])
|
||||||
|
AC_DEFINE(SENDBUF_IOCTLVAL, TIOCOUTQ, [send buffer ioctl])],
|
||||||
|
[AC_MSG_RESULT(no)])],
|
||||||
|
[dnl assume no when cross-compiling
|
Loading…
Add table
Reference in a new issue