diff options
| author | Michael Forney <mforney@mforney.org> | 2021-10-28 11:25:52 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2021-11-05 15:05:35 -0700 |
| commit | 5b9e1701e375dcbcbf569f172b7d0fcabdbcdba4 (patch) | |
| tree | 3e6ddedd596b52643b8b189d90380118f944b0da | |
| parent | 38310afa8870b1643dddbffe7b28391efb1929f7 (diff) | |
wayland: Remove unused math.h includes
| -rw-r--r-- | pkg/wayland/patch/0002-wayland-util.h-remove-unused-math.h-include.patch | 38 | ||||
| -rw-r--r-- | pkg/wayland/ver | 2 |
2 files changed, 39 insertions, 1 deletions
diff --git a/pkg/wayland/patch/0002-wayland-util.h-remove-unused-math.h-include.patch b/pkg/wayland/patch/0002-wayland-util.h-remove-unused-math.h-include.patch new file mode 100644 index 00000000..92223831 --- /dev/null +++ b/pkg/wayland/patch/0002-wayland-util.h-remove-unused-math.h-include.patch @@ -0,0 +1,38 @@ +From 73a48baabf1e154c6d6bc79270106305773ef95f Mon Sep 17 00:00:00 2001 +From: Michael Forney <mforney@mforney.org> +Date: Wed, 16 Dec 2020 00:56:19 -0800 +Subject: [PATCH] wayland-util.h: remove unused math.h include + +This header is unused since f5df38959b (2012). +--- + src/connection.c | 1 - + src/wayland-util.h | 1 - + 2 files changed, 2 deletions(-) + +diff --git a/src/connection.c b/src/connection.c +index d0c7d9f..62e6dbd 100644 +--- a/src/connection.c ++++ b/src/connection.c +@@ -26,7 +26,6 @@ + + #define _GNU_SOURCE + +-#include <math.h> + #include <stdlib.h> + #include <stdint.h> + #include <string.h> +diff --git a/src/wayland-util.h b/src/wayland-util.h +index 7997778..5731cf8 100644 +--- a/src/wayland-util.h ++++ b/src/wayland-util.h +@@ -31,7 +31,6 @@ + #ifndef WAYLAND_UTIL_H + #define WAYLAND_UTIL_H + +-#include <math.h> + #include <stddef.h> + #include <inttypes.h> + #include <stdarg.h> +-- +2.32.0 + diff --git a/pkg/wayland/ver b/pkg/wayland/ver index a138b435..e4283ccd 100644 --- a/pkg/wayland/ver +++ b/pkg/wayland/ver @@ -1 +1 @@ -1.19.0 r0 +1.19.0 r1 |
