mirror of
https://github.com/thead-yocto-mirror/meta-openembedded
synced 2026-09-17 20:51:57 +02:00
Add Base64 encode/decode library, some packages e.g. sysdig can benefit from it Disable parallel make as it races at times make[1]: *** No rule to make target 'libb64.a', needed by 'c-example1'. Stop. Signed-off-by: Khem Raj <raj.khem@gmail.com>
28 lines
968 B
Diff
28 lines
968 B
Diff
From a1b9bb4af819ed389675f16e4a521efeda4cc3f3 Mon Sep 17 00:00:00 2001
|
|
From: Khem Raj <raj.khem@gmail.com>
|
|
Date: Sat, 27 Mar 2021 22:10:48 -0700
|
|
Subject: [PATCH] do not export the CHARS_PER_LINE variable
|
|
|
|
The library exports a variable named "CHARS_PER_LINE". This is a generic name that could conflict with a name in user's code.
|
|
Please either rename the variable or make it static.
|
|
|
|
Upstream-Status: Submitted [http://sourceforge.net/tracker/?func=detail&aid=3591420&group_id=152942&atid=785907]
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
---
|
|
src/cencode.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/cencode.c b/src/cencode.c
|
|
index 03ba5b6..3df62a8 100644
|
|
--- a/src/cencode.c
|
|
+++ b/src/cencode.c
|
|
@@ -7,7 +7,7 @@ For details, see http://sourceforge.net/projects/libb64
|
|
|
|
#include <b64/cencode.h>
|
|
|
|
-const int CHARS_PER_LINE = 72;
|
|
+static const int CHARS_PER_LINE = 72;
|
|
|
|
void base64_init_encodestate(base64_encodestate* state_in)
|
|
{
|