diff options
| author | Michael Forney <mforney@mforney.org> | 2025-04-29 16:35:44 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2025-04-29 18:08:11 -0700 |
| commit | 06624ed7867c902e0ca44b5ca381e9d4dc157e14 (patch) | |
| tree | b599a63619db2f17915395b1b7c01025a6181159 /pkg/openbsd/patch/0023-rsync-Add-missing-includes.patch | |
| parent | f14538ac33402854509d46e1a7bdaae091c2fb80 (diff) | |
openbsd: Update to 7.7
Diffstat (limited to 'pkg/openbsd/patch/0023-rsync-Add-missing-includes.patch')
| -rw-r--r-- | pkg/openbsd/patch/0023-rsync-Add-missing-includes.patch | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/pkg/openbsd/patch/0023-rsync-Add-missing-includes.patch b/pkg/openbsd/patch/0023-rsync-Add-missing-includes.patch deleted file mode 100644 index a63a55b2..00000000 --- a/pkg/openbsd/patch/0023-rsync-Add-missing-includes.patch +++ /dev/null @@ -1,42 +0,0 @@ -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 | 3 +++ - usr.bin/rsync/socket.c | 1 + - 2 files changed, 4 insertions(+) - -diff --git a/usr.bin/rsync/extern.h b/usr.bin/rsync/extern.h -index 2815f82cf89..a3f2a15b959 100644 ---- a/usr.bin/rsync/extern.h -+++ b/usr.bin/rsync/extern.h -@@ -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 953b229afbc..aa95cce9369 100644 ---- a/usr.bin/rsync/socket.c -+++ b/usr.bin/rsync/socket.c -@@ -28,6 +28,7 @@ - #include <poll.h> - #include <resolv.h> - #include <stdlib.h> -+#include <stdio.h> - #include <string.h> - #include <unistd.h> - #include <err.h> --- -2.34.1 - |
