diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2019-03-07 16:54:26 +0100 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2019-03-10 11:56:15 +0100 |
commit | 7aba2012cd6bc4f10720a8b319a8342649e41e99 (patch) | |
tree | 1445b1f235895c79aaa5e09ed8d5231e29f8df8b /main/openrc/0008-fix-undeclared-UT_LINESIZE.patch | |
parent | f0b6781f559a05c99bac9ac2329262fd5834cc55 (diff) | |
download | aports-7aba2012cd6bc4f10720a8b319a8342649e41e99.tar.bz2 aports-7aba2012cd6bc4f10720a8b319a8342649e41e99.tar.xz |
main/openrc: convert patch to git-format(1) patch
For consistency and to allow easy rebasing of the patchset with git(1).
Diffstat (limited to 'main/openrc/0008-fix-undeclared-UT_LINESIZE.patch')
-rw-r--r-- | main/openrc/0008-fix-undeclared-UT_LINESIZE.patch | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/main/openrc/0008-fix-undeclared-UT_LINESIZE.patch b/main/openrc/0008-fix-undeclared-UT_LINESIZE.patch index da33a25a48..a61f0c6c7f 100644 --- a/main/openrc/0008-fix-undeclared-UT_LINESIZE.patch +++ b/main/openrc/0008-fix-undeclared-UT_LINESIZE.patch @@ -1,11 +1,21 @@ +From e7a8d2d5f988d6a9688b7359f62209b6ed296c64 Mon Sep 17 00:00:00 2001 +From: Jakub Jirutka <jakub@jirutka.cz> +Date: Mon, 12 Nov 2018 18:41:32 +0100 +Subject: [PATCH] Fix undeclared UT_LINESIZE + Fix the following error: - broadcast.c:41:21: error: '__UT_LINESIZE' undeclared (first use in this function); did you mean 'UT_LINESIZE'? - #define UT_LINESIZE __UT_LINESIZE + broadcast.c:41:21: error: '__UT_LINESIZE' undeclared (first use in this function); did you mean 'UT_LINESIZE'? + #define UT_LINESIZE __UT_LINESIZE ^~~~~~~~~~ Constant UT_LINESIZE is defined in <utmp.h> provided by musl. +--- + src/rc/broadcast.c | 1 + + 1 file changed, 1 insertion(+) +diff --git a/src/rc/broadcast.c b/src/rc/broadcast.c +index 47c093ce..4877fb74 100644 --- a/src/rc/broadcast.c +++ b/src/rc/broadcast.c @@ -22,6 +22,7 @@ |