added my Recipes
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
From 82e51fb8ba2640b318826ef4e17b0f5c09c8dded Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Mon, 8 Mar 2021 20:10:18 -0800
|
||||
Subject: [PATCH] nsswitch.y: Replace %empty bison extension
|
||||
|
||||
POSIX compliant yacc do not understand %empty therefore replace it with
|
||||
/* empty */
|
||||
|
||||
https://github.com/pikhq/musl-nscd/issues/13
|
||||
|
||||
Upstream-Status: Pending
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
src/nsswitch.y | 6 +++---
|
||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/src/nsswitch.y b/src/nsswitch.y
|
||||
index 107073b..0b7c71e 100644
|
||||
--- a/src/nsswitch.y
|
||||
+++ b/src/nsswitch.y
|
||||
@@ -38,7 +38,7 @@ top:
|
||||
;
|
||||
|
||||
file:
|
||||
- %empty {
|
||||
+ /* empty */ {
|
||||
list_init(&$$);
|
||||
}
|
||||
| file line {
|
||||
@@ -88,7 +88,7 @@ modifier:
|
||||
;
|
||||
|
||||
modifiers:
|
||||
- %empty {
|
||||
+ /* empty */ {
|
||||
memcpy($$, default_actions, sizeof($$));
|
||||
}
|
||||
| modifiers modifier {
|
||||
@@ -112,7 +112,7 @@ item:
|
||||
;
|
||||
|
||||
list:
|
||||
- %empty {
|
||||
+ /* empty */ {
|
||||
list_init(&$$);
|
||||
}
|
||||
| list item {
|
||||
--
|
||||
2.30.1
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
# Copyright (C) 2020 Armin Kuster <akuster808@gmail.com>
|
||||
# Released under the MIT license (see COPYING.MIT for the terms)
|
||||
|
||||
DESCRIPTION = "Musl-nscd is an implementation of the NSCD protocol, suitable for use with musl and with standard NSS modules"
|
||||
HOMEPAGE = "https://github.com/pikhq/musl-nscd"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=fff9baeb9a392879d7fb25ba3a2696e4"
|
||||
SECTION = "utils"
|
||||
|
||||
DEPENDS += "flex-native bison-native flex bison"
|
||||
|
||||
PV = "1.1.0"
|
||||
|
||||
SRCREV = "cddd6be6c629ca96f2d2e74ee52daf12bbef1f83"
|
||||
SRC_URI = "git://github.com/pikhq/musl-nscd;branch=master;protocol=https \
|
||||
file://0001-nsswitch.y-Replace-empty-bison-extension.patch \
|
||||
"
|
||||
|
||||
UPSTREAM_CHECK_COMMITS = "1"
|
||||
|
||||
inherit autotools-brokensep
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
do_configure () {
|
||||
# no debug set -s flag
|
||||
sed -i -e 's/LDFLAGS_AUTO=-s/LDFLAGS_AUTO=/' ${S}/configure
|
||||
${S}/configure ${CONFIGUREOPTS} ${EXTRA_OECONF}
|
||||
}
|
||||
|
||||
do_compile () {
|
||||
oe_runmake
|
||||
}
|
||||
|
||||
do_install () {
|
||||
make DESTDIR=${D} install
|
||||
}
|
||||
|
||||
COMPATIBLE_HOST = ".*-musl.*"
|
||||
Reference in New Issue
Block a user