diff options
author | 2023-05-28 06:33:36 +0000 | |
---|---|---|
committer | 2024-05-09 02:13:08 +0100 | |
commit | cf89ce244af18d0d54ed206ddac1dff02f687a88 (patch) | |
tree | ce1bd3e63d7089864ef05f1170400676a2dac3b2 /sys-apps/utempter/files | |
parent | app-text/crf++: Removing register keywords (diff) | |
download | gentoo-cf89ce244af18d0d54ed206ddac1dff02f687a88.tar.gz gentoo-cf89ce244af18d0d54ed206ddac1dff02f687a88.tar.bz2 gentoo-cf89ce244af18d0d54ed206ddac1dff02f687a88.zip |
sys-apps/utempter: Fix undeclared gettimeofday
Closes: https://bugs.gentoo.org/898552
Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/31197
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps/utempter/files')
-rw-r--r-- | sys-apps/utempter/files/utempter-0.5.5.6-no_gettimeofday.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/sys-apps/utempter/files/utempter-0.5.5.6-no_gettimeofday.patch b/sys-apps/utempter/files/utempter-0.5.5.6-no_gettimeofday.patch new file mode 100644 index 000000000000..26bfdb9e9eb0 --- /dev/null +++ b/sys-apps/utempter/files/utempter-0.5.5.6-no_gettimeofday.patch @@ -0,0 +1,23 @@ +From: Brahmajit Das <brahmajit.xyz@gmail.com> +Date: Sun, 28 May 2023 06:25:33 +0000 +Subject: [PATCH] Fix undeclared funtion gettimeofday. + +Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com> +--- + utempter.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/utempter.c b/utempter.c +index 3f2f3a2..13214cc 100644 +--- a/utempter.c ++++ b/utempter.c +@@ -11,6 +11,7 @@ + #include <sys/stat.h> + #include <sys/sysmacros.h> + #include <utmp.h> ++#include <sys/time.h> + #ifndef __UCLIBC__ + #include <utmpx.h> + #endif +-- +2.40.1 |