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/0037-libutil-Include-util.h-instead-of-util.h.patch | |
| parent | f14538ac33402854509d46e1a7bdaae091c2fb80 (diff) | |
openbsd: Update to 7.7
Diffstat (limited to 'pkg/openbsd/patch/0037-libutil-Include-util.h-instead-of-util.h.patch')
| -rw-r--r-- | pkg/openbsd/patch/0037-libutil-Include-util.h-instead-of-util.h.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkg/openbsd/patch/0037-libutil-Include-util.h-instead-of-util.h.patch b/pkg/openbsd/patch/0037-libutil-Include-util.h-instead-of-util.h.patch new file mode 100644 index 00000000..6ebdce8f --- /dev/null +++ b/pkg/openbsd/patch/0037-libutil-Include-util.h-instead-of-util.h.patch @@ -0,0 +1,28 @@ +From 43cb99e0700fe904af34962b9b7ca4560dd70d62 Mon Sep 17 00:00:00 2001 +From: Michael Forney <mforney@mforney.org> +Date: Tue, 6 Sep 2022 23:36:35 -0700 +Subject: [PATCH] libutil: Include <util.h> instead of "util.h" + +We provide our own util.h and want to use that instead of OpenBSD's +version. +--- + lib/libutil/fmt_scaled.c | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/lib/libutil/fmt_scaled.c b/lib/libutil/fmt_scaled.c +index 374901ffe1e..05ef9983afe 100644 +--- a/lib/libutil/fmt_scaled.c ++++ b/lib/libutil/fmt_scaled.c +@@ -42,8 +42,7 @@ + #include <string.h> + #include <ctype.h> + #include <limits.h> +- +-#include "util.h" ++#include <util.h> + + typedef enum { + NONE = 0, KILO = 1, MEGA = 2, GIGA = 3, TERA = 4, PETA = 5, EXA = 6 +-- +2.35.1 + |
