Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 7435295b9e | |||
| fec9ac78dd |
19
boost-system.patch
Normal file
19
boost-system.patch
Normal file
@@ -0,0 +1,19 @@
|
||||
diff -purN a/m4/boost.m4 b/m4/boost.m4
|
||||
--- a/m4/boost.m4 2020-07-30 00:20:40.000000000 +0200
|
||||
+++ b/m4/boost.m4 2025-10-11 15:06:49.581067581 +0200
|
||||
@@ -1023,11 +1023,13 @@ BOOST_DEFUN([String_Algo],
|
||||
# --------------------------------
|
||||
# Look for Boost.System. For the documentation of PREFERRED-RT-OPT, see the
|
||||
# documentation of BOOST_FIND_LIB above. This library was introduced in Boost
|
||||
-# 1.35.0.
|
||||
+# 1.35.0 and removed in 1.69.0
|
||||
BOOST_DEFUN([System],
|
||||
-[BOOST_FIND_LIB([system], [$1],
|
||||
+[if test $boost_major_version -lt 169; then
|
||||
+ BOOST_FIND_LIB([system], [$1],
|
||||
[boost/system/error_code.hpp],
|
||||
[boost::system::error_code e; e.clear();])
|
||||
+fi
|
||||
])# BOOST_SYSTEM
|
||||
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 11 13:11:02 UTC 2025 - Arjen de Korte <suse+build@de-korte.org>
|
||||
|
||||
- Boost.System is headers only since 1.69
|
||||
* remove boost.m4 and use upstream version instead
|
||||
* add boost-system.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 18 04:13:59 UTC 2023 - Wang Jun <badboywj@gmail.com>
|
||||
|
||||
|
||||
14
cc-tool.spec
14
cc-tool.spec
@@ -22,17 +22,18 @@ Release: 0
|
||||
Summary: Programmer for Texas Instruments 8051-based System-On-Chip devices
|
||||
License: GPL-2.0-only
|
||||
Group: Hardware/Other
|
||||
URL: http://sourceforge.net/projects/cctool/
|
||||
URL: https://github.com/dashesy/cc-tool
|
||||
Source0: https://github.com/dashesy/cc-tool/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
Source1: boost.m4
|
||||
BuildRequires: autoconf
|
||||
# PATCH-FIX-OPENSUSE - Boost.System is headers only since 1.69
|
||||
Patch1: boost-system.patch
|
||||
BuildRequires: automake
|
||||
BuildRequires: boost-devel >= 1.55
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: gettext-devel
|
||||
BuildRequires: libboost_filesystem-devel >= 1.55
|
||||
BuildRequires: libboost_program_options-devel >= 1.55
|
||||
BuildRequires: libboost_regex-devel >= 1.55
|
||||
BuildRequires: libboost_system-devel >= 1.55
|
||||
BuildRequires: (libboost_system-devel >= 1.55 if boost-devel < 1.69)
|
||||
BuildRequires: libtool
|
||||
BuildRequires: libusb-devel
|
||||
|
||||
@@ -41,13 +42,12 @@ cc-tool provides support for Texas Instruments CC Debugger for Linux in order
|
||||
to program 8051-based System-On-Chip devices: CC254x CC253x CC243x CC251x CC111x.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
cp %{SOURCE1} m4/
|
||||
autoreconf -vfi
|
||||
%configure
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
Reference in New Issue
Block a user