diff options
| author | Michael Forney <mforney@mforney.org> | 2022-02-18 02:32:44 -0800 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2022-02-18 02:58:00 -0800 |
| commit | 2a1b8ab63fa49462529a7a86fc0e3b88e535dcaa (patch) | |
| tree | 9de527f41f57284350120328ff01b3dfe3e9d4cb /pkg/openbsd/patch/0023-rsync-Add-missing-includes.patch | |
| parent | 131aab560632f3b8ce9fe1833050e6a31c9531fd (diff) | |
openbsd: Update to 7.0
Diffstat (limited to 'pkg/openbsd/patch/0023-rsync-Add-missing-includes.patch')
| -rw-r--r-- | pkg/openbsd/patch/0023-rsync-Add-missing-includes.patch | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/pkg/openbsd/patch/0023-rsync-Add-missing-includes.patch b/pkg/openbsd/patch/0023-rsync-Add-missing-includes.patch index 2f632cb3..a63a55b2 100644 --- a/pkg/openbsd/patch/0023-rsync-Add-missing-includes.patch +++ b/pkg/openbsd/patch/0023-rsync-Add-missing-includes.patch @@ -1,30 +1,32 @@ -From ca34590e5d0065db581b3b4c05c9c7aea0015dff Mon Sep 17 00:00:00 2001 +From d423093f8dec64533733deb0762353f68b0adeb2 Mon Sep 17 00:00:00 2001 From: Michael Forney <mforney@mforney.org> Date: Fri, 14 Jun 2019 12:40:56 -0700 Subject: [PATCH] rsync: Add missing includes - stdio.h in socket.c for sscanf +- stdint.h in extern.h for fixed-width integer types - sys/types.h in extern.h for various type definitions --- - usr.bin/rsync/extern.h | 2 ++ + usr.bin/rsync/extern.h | 3 +++ usr.bin/rsync/socket.c | 1 + - 2 files changed, 3 insertions(+) + 2 files changed, 4 insertions(+) diff --git a/usr.bin/rsync/extern.h b/usr.bin/rsync/extern.h -index 305821be579..040588003a4 100644 +index 2815f82cf89..a3f2a15b959 100644 --- a/usr.bin/rsync/extern.h +++ b/usr.bin/rsync/extern.h -@@ -17,6 +17,8 @@ +@@ -17,6 +17,9 @@ #ifndef EXTERN_H #define EXTERN_H ++#include <stdint.h> +#include <sys/types.h> + /* * This is the rsync protocol version that we support. */ diff --git a/usr.bin/rsync/socket.c b/usr.bin/rsync/socket.c -index 36384d063a0..43d8d7d01af 100644 +index 953b229afbc..aa95cce9369 100644 --- a/usr.bin/rsync/socket.c +++ b/usr.bin/rsync/socket.c @@ -28,6 +28,7 @@ @@ -36,5 +38,5 @@ index 36384d063a0..43d8d7d01af 100644 #include <unistd.h> #include <err.h> -- -2.22.0 +2.34.1 |
