diff options
author | Zach van Rijn <me@zv.io> | 2022-04-28 20:33:24 +0000 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2022-10-21 18:33:58 -0500 |
commit | 624e14df6f662abd56aae050d715d700487aa939 (patch) | |
tree | f409eb42bf3cb57fe3d89b248fa3b74f6445d2c0 /user/efivar/0001-makeguids-Ensure-compatibility-with-other-libcs.patch | |
parent | cb92b4063486a5ebb52b6b5622f361a35f75714d (diff) | |
download | packages-624e14df6f662abd56aae050d715d700487aa939.tar.gz packages-624e14df6f662abd56aae050d715d700487aa939.tar.bz2 packages-624e14df6f662abd56aae050d715d700487aa939.tar.xz packages-624e14df6f662abd56aae050d715d700487aa939.zip |
user/efivar: bump { 37 --> 38 }.
Diffstat (limited to 'user/efivar/0001-makeguids-Ensure-compatibility-with-other-libcs.patch')
-rw-r--r-- | user/efivar/0001-makeguids-Ensure-compatibility-with-other-libcs.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/user/efivar/0001-makeguids-Ensure-compatibility-with-other-libcs.patch b/user/efivar/0001-makeguids-Ensure-compatibility-with-other-libcs.patch index 1577d306b..4ab037e53 100644 --- a/user/efivar/0001-makeguids-Ensure-compatibility-with-other-libcs.patch +++ b/user/efivar/0001-makeguids-Ensure-compatibility-with-other-libcs.patch @@ -15,10 +15,10 @@ diff --git a/src/makeguids.c b/src/makeguids.c index ec75a86..6b0d80e 100644 --- a/src/makeguids.c +++ b/src/makeguids.c -@@ -152,6 +152,15 @@ main(int argc, char *argv[]) +@@ -178,6 +178,15 @@ main(int argc, char *argv[]) fprintf(symout, "#include <efivar/efivar.h>\n"); fprintf(symout, "#include <endian.h>\n"); - fprintf(symout, """\n\ + fprintf(symout, "\n\ +#ifndef __bswap_constant_16\n\ +#define __bswap_constant_16(x)\\\n\ + ((unsigned short int) ((((x) >> 8) & 0xff) | (((x) & 0xff) << 8)))\n\ |