diff options
author | Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de> | 2019-03-23 17:56:18 +0000 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de> | 2019-03-23 17:56:18 +0000 |
commit | 4e574b64ac30b77c767f6466eaced934c7a4ce54 (patch) | |
tree | 4020dafa63b71dd605d0e76528c1ebfaa5697713 /patches/libtirpc-1.1.4.local.patch | |
parent | 3c21bc0ef035b510bc3691c79cfd939fe4755068 (diff) | |
download | midipix_build-4e574b64ac30b77c767f6466eaced934c7a4ce54.tar.bz2 midipix_build-4e574b64ac30b77c767f6466eaced934c7a4ce54.tar.xz |
vars/build.vars:{clzip,expat}{_host,}: updated to v{1.11,2.2.6} (via Redfoxmoon.)
vars/build.vars:libxml2: updated to v2.9.9 (via Redfoxmoon.)
vars/build.vars:libunistring: updated to v0.9.10 (via Redfoxmoon.)
vars/build.vars:libpng: updated to v1.6.36 (via Redfoxmoon.)
vars/build.vars:tiff: updated to v4.0.10 (via Redfoxmoon.)
vars/build.vars:gdbm: updated to v1.18.1 (via Redfoxmoon.)
vars/build.vars:pcre: updated to v8.43 (via Redfoxmoon.)
vars/build.vars:gzip: updated to v1.10 (via Redfoxmoon.)
vars/build.vars:gzip:${PKG_{CFLAGS_CONFIGURE_EXTRA,CONFIGURE_ARGS,MAKEFLAGS_{BUILD,INSTALL}_EXTRA}}: unset (via Redfoxmoon.)
vars/build.vars:libvorbis: updated to v1.3.6 (via Redfoxmoon.)
vars/build.vars:libxslt: updated to v1.1.33 (via Redfoxmoon.)
vars/build.vars:libtirpc: updated to v1.1.4 (via Redfoxmoon.)
patches/expat-2.2.{5,6}.local.patch: updated (via Redfoxmoon.)
patches/libtirpc-1.{0.3,1.4}.local.patch: updated (via Redfoxmoon.)
patches/libvorbis-1.3.5.local.patch: removes obsolete patch (via Redfoxmoon.)
patches/libxslt-1.1.3{2,3}.local.patch: updated (via Redfoxmoon.)
patches/pcre-8.4{2,3}.local.patch: updated (via Redfoxmoon.)
patches/tiff/CVE-{2017-{11613,17095,18013,9935},2018-{10963,5784,7456,8905}}.patch: removes obsolete patches (via Redfoxmoon.)
patches/tiff/CVE-2018-12900.patch: added (via Redfoxmoon.)
Diffstat (limited to 'patches/libtirpc-1.1.4.local.patch')
-rw-r--r-- | patches/libtirpc-1.1.4.local.patch | 90 |
1 files changed, 90 insertions, 0 deletions
diff --git a/patches/libtirpc-1.1.4.local.patch b/patches/libtirpc-1.1.4.local.patch new file mode 100644 index 00000000..535880fe --- /dev/null +++ b/patches/libtirpc-1.1.4.local.patch @@ -0,0 +1,90 @@ +diff -ru libtirpc-1.0.3.orig/src/bindresvport.c libtirpc-1.0.3/src/bindresvport.c +--- libtirpc-1.0.3.orig/src/bindresvport.c 2018-03-14 14:55:12.000000000 +0100 ++++ libtirpc-1.0.3/src/bindresvport.c 2018-08-04 19:37:31.972078008 +0200 +@@ -61,7 +61,7 @@ + return bindresvport_sa(sd, (struct sockaddr *)sin); + } + +-#ifdef __linux__ ++#if defined(__linux__) || defined(__midipix__) + + #define STARTPORT 600 + #define LOWPORT 512 +diff -ru libtirpc-1.0.3.orig/src/clnt_dg.c libtirpc-1.0.3/src/clnt_dg.c +--- libtirpc-1.0.3.orig/src/clnt_dg.c 2018-03-14 14:55:12.000000000 +0100 ++++ libtirpc-1.0.3/src/clnt_dg.c 2018-08-04 19:41:06.325266026 +0200 +@@ -54,12 +54,16 @@ + #include <err.h> + #include "rpc_com.h" + +-#ifdef IP_RECVERR ++#if defined(IP_RECVERR) && !defined(__midipix__) + #include <asm/types.h> + #include <linux/errqueue.h> + #include <sys/uio.h> + #endif + ++#ifdef __midipix__ ++#include <sys/uio.h> ++#endif ++ + + #define MAX_DEFAULT_FDS 20000 + +@@ -421,7 +425,7 @@ + } + break; + } +-#ifdef IP_RECVERR ++#if defined(IP_RECVERR) && !defined(__midipix__) + if (fd.revents & POLLERR) + { + struct msghdr msg; +diff -ru libtirpc-1.0.3.orig/src/rtime.c libtirpc-1.0.3/src/rtime.c +--- libtirpc-1.0.3.orig/src/rtime.c 2018-03-14 14:55:12.000000000 +0100 ++++ libtirpc-1.0.3/src/rtime.c 2018-08-04 19:47:49.089270334 +0200 +@@ -46,7 +46,7 @@ + #include <unistd.h> + #include <errno.h> + #include <sys/types.h> +-#include <sys/poll.h> ++#include <poll.h> + #include <sys/socket.h> + #include <sys/time.h> + #include <netinet/in.h> +diff -ru libtirpc-1.0.3.orig/src/svc_run.c libtirpc-1.0.3/src/svc_run.c +--- libtirpc-1.0.3.orig/src/svc_run.c 2018-03-14 14:55:12.000000000 +0100 ++++ libtirpc-1.0.3/src/svc_run.c 2018-08-04 19:48:02.569155655 +0200 +@@ -37,7 +37,7 @@ + #include <stdio.h> + #include <string.h> + #include <unistd.h> +-#include <sys/poll.h> ++#include <poll.h> + + + #include <rpc/rpc.h> +diff -ru libtirpc-1.0.3.orig/tirpc/reentrant.h libtirpc-1.0.3/tirpc/reentrant.h +--- libtirpc-1.0.3.orig/tirpc/reentrant.h 2018-03-14 14:55:12.000000000 +0100 ++++ libtirpc-1.0.3/tirpc/reentrant.h 2018-08-04 19:23:48.165632436 +0200 +@@ -36,7 +36,7 @@ + * These definitions are only guaranteed to be valid on Linux. + */ + +-#if defined(__linux__) ++#if defined(__linux__) || defined(__midipix__) + + #include <pthread.h> + +diff -ru libtirpc-1.0.3.orig/tirpc/rpc/types.h libtirpc-1.0.3/tirpc/rpc/types.h +--- libtirpc-1.0.3.orig/tirpc/rpc/types.h 2018-03-14 14:55:12.000000000 +0100 ++++ libtirpc-1.0.3/tirpc/rpc/types.h 2018-08-04 19:18:35.415064046 +0200 +@@ -66,7 +66,7 @@ + #define mem_free(ptr, bsize) free(ptr) + + +-#if defined __APPLE_CC__ || defined __FreeBSD__ ++#if defined __APPLE_CC__ || defined __FreeBSD__ || !defined(__GLIBC__) + # define __u_char_defined + # define __daddr_t_defined + #endif |