mirror of
https://github.com/PartialVolume/shredos.x86_64.git
synced 2026-02-20 17:42:10 +00:00
Upgrade buildroot to 2023.05 (from 2021.08.2), kernel is upgraded to 6.3 (from 5.13.19).
This commit is contained in:
49
package/libsolv/0001-Fix-build-without-C.patch
Normal file
49
package/libsolv/0001-Fix-build-without-C.patch
Normal file
@@ -0,0 +1,49 @@
|
||||
From 5691f58d1f8ce1332b02536e48f1ac5864629c6c Mon Sep 17 00:00:00 2001
|
||||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Date: Sun, 12 Feb 2023 15:27:27 +0100
|
||||
Subject: [PATCH] Fix build without C++
|
||||
|
||||
Fix the following build failure without C++:
|
||||
|
||||
CMake Error at CMakeLists.txt:1 (PROJECT):
|
||||
No CMAKE_CXX_COMPILER could be found.
|
||||
|
||||
Tell CMake where to find the compiler by setting either the environment
|
||||
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
|
||||
to the compiler, or to the compiler name if it is in the PATH.
|
||||
|
||||
Fixes:
|
||||
- http://autobuild.buildroot.org/results/a7f2176d40f156c319754ef5d3b7fd0decfe754f
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
[Upstream status: https://github.com/openSUSE/libsolv/pull/520]
|
||||
---
|
||||
CMakeLists.txt | 2 +-
|
||||
ext/CMakeLists.txt | 1 +
|
||||
2 files changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 3541f496..f899c49a 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -1,4 +1,4 @@
|
||||
-PROJECT (libsolv)
|
||||
+PROJECT (libsolv C)
|
||||
|
||||
CMAKE_MINIMUM_REQUIRED (VERSION 2.8.5)
|
||||
|
||||
diff --git a/ext/CMakeLists.txt b/ext/CMakeLists.txt
|
||||
index f01c0238..589fa946 100644
|
||||
--- a/ext/CMakeLists.txt
|
||||
+++ b/ext/CMakeLists.txt
|
||||
@@ -103,6 +103,7 @@ IF (ENABLE_CUDFREPO)
|
||||
ENDIF (ENABLE_CUDFREPO)
|
||||
|
||||
IF (ENABLE_HAIKU)
|
||||
+ enable_language(CXX)
|
||||
SET (libsolvext_SRCS ${libsolvext_SRCS}
|
||||
repo_haiku.cpp)
|
||||
SET (libsolvext_HEADERS ${libsolvext_HEADERS}
|
||||
--
|
||||
2.39.0
|
||||
|
||||
9
package/libsolv/Config.in
Normal file
9
package/libsolv/Config.in
Normal file
@@ -0,0 +1,9 @@
|
||||
config BR2_PACKAGE_LIBSOLV
|
||||
bool "libsolv"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
select BR2_PACKAGE_ZLIB
|
||||
help
|
||||
A free package dependency solver using a satisfiability
|
||||
algorithm.
|
||||
|
||||
https://github.com/openSUSE/libsolv
|
||||
3
package/libsolv/libsolv.hash
Normal file
3
package/libsolv/libsolv.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 968aef452b5493751fa0168cd58745a77c755e202a43fe8d549d791eb16034d5 libsolv-0.7.22.tar.gz
|
||||
sha256 57f15acfb29fbef7749779e096a5885c60b716633e34484a21bb717554c0198f LICENSE.BSD
|
||||
27
package/libsolv/libsolv.mk
Normal file
27
package/libsolv/libsolv.mk
Normal file
@@ -0,0 +1,27 @@
|
||||
################################################################################
|
||||
#
|
||||
# libsolv
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBSOLV_VERSION = 0.7.22
|
||||
LIBSOLV_SITE = $(call github,openSUSE,libsolv,$(LIBSOLV_VERSION))
|
||||
LIBSOLV_LICENSE = BSD-3-Clause
|
||||
LIBSOLV_LICENSE_FILES = LICENSE.BSD
|
||||
LIBSOLV_CPE_ID_VENDOR = opensuse
|
||||
LIBSOLV_INSTALL_STAGING = YES
|
||||
LIBSOLV_DEPENDENCIES = zlib
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS)$(BR2_SHARED_STATIC_LIBS),y)
|
||||
LIBSOLV_CONF_OPTS += -DENABLE_STATIC=ON
|
||||
else
|
||||
LIBSOLV_CONF_OPTS += -DENABLE_STATIC=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_SHARED_LIBS)$(BR2_SHARED_STATIC_LIBS),y)
|
||||
LIBSOLV_CONF_OPTS += -DDISABLE_SHARED=OFF
|
||||
else
|
||||
LIBSOLV_CONF_OPTS += -DDISABLE_SHARED=ON
|
||||
endif
|
||||
|
||||
$(eval $(cmake-package))
|
||||
Reference in New Issue
Block a user