[glibc] 02/02: patches/hurd-i386/git-preadwritev2.diff: New patch
This is an automated email from the git hooks/post-receive script.
sthibault pushed a commit to branch glibc-2.26
in repository glibc.
commit 5f62f6f668e9a8c3c9c6ed68acc4cbe0d3080b65
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Sun Sep 3 01:09:32 2017 +0000
patches/hurd-i386/git-preadwritev2.diff: New patch
---
debian/changelog | 1 +
debian/patches/hurd-i386/git-preadwritev2.diff | 212 +++++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 214 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 48e0899..2401ed1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -50,6 +50,7 @@ glibc (2.26-0experimental0~ppa4) UNRELEASED; urgency=medium
- patches/hurd-i386/git-sigsetopts.h: New patch.
- patches/hurd-i386/tg2.26-sigsetops.h: New patch.
- patches/hurd-i386/git-bits_socket.h: New patch.
+ - patches/hurd-i386/git-preadwritev2.diff: New patch.
-- Adam Conrad <adconrad@0c3.net> Sat, 02 Sep 2017 12:15:10 -0600
diff --git a/debian/patches/hurd-i386/git-preadwritev2.diff b/debian/patches/hurd-i386/git-preadwritev2.diff
new file mode 100644
index 0000000..96297b6
--- /dev/null
+++ b/debian/patches/hurd-i386/git-preadwritev2.diff
@@ -0,0 +1,212 @@
+commit dd2b31dec0c0e792bec0486d72c8a049eea4bee1
+Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
+Date: Sun Sep 3 02:45:06 2017 +0200
+
+ hurd: Fix p{read,write}{,v64}v2.c build
+
+ * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
+ * sysdeps/posix/preadv64v2.c: Use off_t instead of OFF_T.
+ * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
+ * sysdeps/posix/pwritev64v2.c: Use off_t instead of OFF_T.
+
+diff --git a/sysdeps/posix/preadv2.c b/sysdeps/posix/preadv2.c
+index d27f7028ed..b79b7b1bc3 100644
+--- a/sysdeps/posix/preadv2.c
++++ b/sysdeps/posix/preadv2.c
+@@ -23,7 +23,7 @@
+
+ /* Since we define no flags for preadv2 just route to preadv. */
+ ssize_t
+-preadv2 (int fd, const struct iovec *vector, int count, OFF_T offset,
++preadv2 (int fd, const struct iovec *vector, int count, off_t offset,
+ int flags)
+ {
+ if (flags != 0)
+diff --git a/sysdeps/posix/preadv64v2.c b/sysdeps/posix/preadv64v2.c
+index ce7cb40bf2..ab71f027d4 100644
+--- a/sysdeps/posix/preadv64v2.c
++++ b/sysdeps/posix/preadv64v2.c
+@@ -20,7 +20,7 @@
+ #include <sys/uio.h>
+
+ ssize_t
+-preadv64v2 (int fd, const struct iovec *vector, int count, OFF_T offset,
++preadv64v2 (int fd, const struct iovec *vector, int count, off_t offset,
+ int flags)
+ {
+ if (flags != 0)
+diff --git a/sysdeps/posix/pwritev2.c b/sysdeps/posix/pwritev2.c
+index 7ec8cbc407..d746059d42 100644
+--- a/sysdeps/posix/pwritev2.c
++++ b/sysdeps/posix/pwritev2.c
+@@ -23,7 +23,7 @@
+
+ /* Since we define no flags for pwritev2 just route to pwritev. */
+ ssize_t
+-pwritev2 (int fd, const struct iovec *vector, int count, OFF_T offset,
++pwritev2 (int fd, const struct iovec *vector, int count, off_t offset,
+ int flags)
+ {
+ if (flags != 0)
+diff --git a/sysdeps/posix/pwritev64v2.c b/sysdeps/posix/pwritev64v2.c
+index be98aeed9d..bf62d74190 100644
+--- a/sysdeps/posix/pwritev64v2.c
++++ b/sysdeps/posix/pwritev64v2.c
+@@ -21,7 +21,7 @@
+
+ /* Since we define no flags for pwritev2 just route to pwritev. */
+ ssize_t
+-pwritev64v2 (int fd, const struct iovec *vector, int count, OFF_T offset,
++pwritev64v2 (int fd, const struct iovec *vector, int count, off_t offset,
+ int flags)
+ {
+ if (flags != 0)
+commit ed95bf5638748068ef05ccbaa0a008b50ebecb42
+Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
+Date: Sun Sep 3 03:00:32 2017 +0200
+
+ hurd: Fix p{read,write}v64v2.c build
+
+ * sysdeps/posix/preadv64v2.c: Use off64_t instead of off_t.
+ * sysdeps/posix/pwritev64v2.c: Use off64_t instead of off_t.
+
+diff --git a/sysdeps/posix/preadv64v2.c b/sysdeps/posix/preadv64v2.c
+index ab71f027d4..263f9b77c4 100644
+--- a/sysdeps/posix/preadv64v2.c
++++ b/sysdeps/posix/preadv64v2.c
+@@ -20,7 +20,7 @@
+ #include <sys/uio.h>
+
+ ssize_t
+-preadv64v2 (int fd, const struct iovec *vector, int count, off_t offset,
++preadv64v2 (int fd, const struct iovec *vector, int count, off64_t offset,
+ int flags)
+ {
+ if (flags != 0)
+diff --git a/sysdeps/posix/pwritev64v2.c b/sysdeps/posix/pwritev64v2.c
+index bf62d74190..f340c8a46d 100644
+--- a/sysdeps/posix/pwritev64v2.c
++++ b/sysdeps/posix/pwritev64v2.c
+@@ -21,7 +21,7 @@
+
+ /* Since we define no flags for pwritev2 just route to pwritev. */
+ ssize_t
+-pwritev64v2 (int fd, const struct iovec *vector, int count, off_t offset,
++pwritev64v2 (int fd, const struct iovec *vector, int count, off64_t offset,
+ int flags)
+ {
+ if (flags != 0)
+commit 2263ca7ce8a824f53debcc724bd21cd7099e1161
+Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
+Date: Sun Sep 3 03:03:40 2017 +0200
+
+ hurd: Fix p{read,write}{,v64}v2.c build
+
+ * misc/preadv2.c: Include <errno.h>.
+ * misc/preadv64v2.c: Include <errno.h>.
+ * misc/pwritev2.c: Include <errno.h>.
+ * misc/pwritev64v2.c: Include <errno.h>.
+ * sysdeps/posix/preadv2.c: Include <errno.h>.
+ * sysdeps/posix/preadv64v2.c: Include <errno.h>.
+ Fix <unistd.h> inclusion.
+ * sysdeps/posix/pwritev2.c: Include <errno.h>.
+ * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
+
+diff --git a/misc/preadv2.c b/misc/preadv2.c
+index a62dcaa699..fe379401ee 100644
+--- a/misc/preadv2.c
++++ b/misc/preadv2.c
+@@ -16,6 +16,7 @@
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
+
++#include <errno.h>
+ #include <sys/uio.h>
+
+ /* Same as preadv but with an additional flags argument. */
+diff --git a/misc/preadv64v2.c b/misc/preadv64v2.c
+index a802c2f1ab..e0f05a506a 100644
+--- a/misc/preadv64v2.c
++++ b/misc/preadv64v2.c
+@@ -16,6 +16,7 @@
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
+
++#include <errno.h>
+ #include <sys/uio.h>
+
+ /* Same as preadv64 but with an addional flag argument. */
+diff --git a/misc/pwritev2.c b/misc/pwritev2.c
+index b9e07272da..ead84471fc 100644
+--- a/misc/pwritev2.c
++++ b/misc/pwritev2.c
+@@ -16,6 +16,7 @@
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
+
++#include <errno.h>
+ #include <sys/uio.h>
+
+ /* Same as pwritev but with an additional flags argument. */
+diff --git a/misc/pwritev64v2.c b/misc/pwritev64v2.c
+index 1f874f054c..c72689cc70 100644
+--- a/misc/pwritev64v2.c
++++ b/misc/pwritev64v2.c
+@@ -16,6 +16,7 @@
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
+
++#include <errno.h>
+ #include <sys/uio.h>
+
+ /* Same as preadv64 but with an addional flag argument. */
+diff --git a/sysdeps/posix/preadv2.c b/sysdeps/posix/preadv2.c
+index b79b7b1bc3..cd96677ade 100644
+--- a/sysdeps/posix/preadv2.c
++++ b/sysdeps/posix/preadv2.c
+@@ -16,6 +16,7 @@
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
+
++#include <errno.h>
+ #include <unistd.h>
+ #include <sys/uio.h>
+
+diff --git a/sysdeps/posix/preadv64v2.c b/sysdeps/posix/preadv64v2.c
+index 263f9b77c4..649bde4c5a 100644
+--- a/sysdeps/posix/preadv64v2.c
++++ b/sysdeps/posix/preadv64v2.c
+@@ -16,7 +16,8 @@
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
+
+-#include <unistd.>
++#include <errno.h>
++#include <unistd.h>
+ #include <sys/uio.h>
+
+ ssize_t
+diff --git a/sysdeps/posix/pwritev2.c b/sysdeps/posix/pwritev2.c
+index d746059d42..601f6b1b10 100644
+--- a/sysdeps/posix/pwritev2.c
++++ b/sysdeps/posix/pwritev2.c
+@@ -16,6 +16,7 @@
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
+
++#include <errno.h>
+ #include <unistd.h>
+ #include <sys/uio.h>
+
+diff --git a/sysdeps/posix/pwritev64v2.c b/sysdeps/posix/pwritev64v2.c
+index f340c8a46d..9f05f97b40 100644
+--- a/sysdeps/posix/pwritev64v2.c
++++ b/sysdeps/posix/pwritev64v2.c
+@@ -16,6 +16,7 @@
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
+
++#include <errno.h>
+ #include <unistd.h>
+ #include <sys/uio.h>
+
diff --git a/debian/patches/series b/debian/patches/series
index 7efddf4..ab3718b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -137,6 +137,7 @@ hurd-i386/git-stack-protect-static.diff
hurd-i386/git-sigsetopts.h
hurd-i386/tg2.26-sigsetops.h
hurd-i386/git-bits_socket.h
+hurd-i386/git-preadwritev2.diff
i386/local-biarch.diff
i386/unsubmitted-quiet-ldconfig.diff
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-glibc/glibc.git
Reply to: