added my Recipes
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
From 23f827ea94284656972652f61f2c6aad96092cc8 Mon Sep 17 00:00:00 2001
|
||||
From: Hongxu Jia <hongxu.jia@windriver.com>
|
||||
Date: Thu, 20 Jul 2017 23:00:29 -0400
|
||||
Subject: [PATCH] fix compile failure against musl C library
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
||||
---
|
||||
lib/rpm.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
--- a/lib/rpm.c
|
||||
+++ b/lib/rpm.c
|
||||
@@ -34,6 +34,11 @@
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
|
||||
+#if !defined(__GLIBC__)
|
||||
+typedef int (*__compar_fn_t) (const void*, const void*);
|
||||
+typedef __compar_fn_t comparison_fn_t;
|
||||
+#endif
|
||||
+
|
||||
struct sr_rpm_package *
|
||||
sr_rpm_package_new()
|
||||
{
|
||||
@@ -0,0 +1,35 @@
|
||||
DESCRIPTION = "Satyr is a collection of low-level algorithms for program \
|
||||
failure processing, analysis, and reporting supporting kernel space, user \
|
||||
space, Python, and Java programs"
|
||||
|
||||
HOMEPAGE = "https://github.com/abrt/satyr"
|
||||
LICENSE = "GPL-2.0-only"
|
||||
|
||||
inherit autotools-brokensep python3native python3targetconfig pkgconfig
|
||||
|
||||
SRC_URI = "git://github.com/abrt/satyr.git;branch=master;protocol=https \
|
||||
file://0002-fix-compile-failure-against-musl-C-library.patch \
|
||||
"
|
||||
SRCREV = "23483cebb238df86cda8b6529e3c58080dc2029d"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
|
||||
|
||||
DEPENDS += " \
|
||||
gdb \
|
||||
gperf-native \
|
||||
json-c \
|
||||
nettle \
|
||||
glib-2.0 \
|
||||
"
|
||||
|
||||
PACKAGES += "python3-${BPN}"
|
||||
FILES:python3-${BPN} = "${PYTHON_SITEPACKAGES_DIR}/${BPN}"
|
||||
|
||||
PACKAGECONFIG ??= "python3 rpm"
|
||||
PACKAGECONFIG[python3] = "--with-python3, --without-python3,,python3"
|
||||
PACKAGECONFIG[rpm] = "--with-rpm, --without-rpm, rpm"
|
||||
|
||||
do_configure:prepend() {
|
||||
${S}/gen-version
|
||||
}
|
||||
Reference in New Issue
Block a user