diff --git a/srcpkgs/ledger/patches/boost-1.89.patch b/srcpkgs/ledger/patches/boost-1.89.patch new file mode 100644 index 00000000000..e8392bb4707 --- /dev/null +++ b/srcpkgs/ledger/patches/boost-1.89.patch @@ -0,0 +1,19 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -90,14 +90,11 @@ endif() + + # Set BOOST_ROOT to help CMake to find the right Boost version + find_package(Boost 1.49.0 +- REQUIRED date_time filesystem system iostreams regex unit_test_framework ++ REQUIRED filesystem iostreams unit_test_framework + ${BOOST_PYTHON} OPTIONAL_COMPONENTS nowide) + + # enable Boost::nowide library (for UTF8 command line args on Windows) +-set(HAVE_BOOST_NOWIDE 0) +-if (Boost_NOWIDE_FOUND) +- set(HAVE_BOOST_NOWIDE 1) +-endif() ++set(HAVE_BOOST_NOWIDE 1) + + include_directories(SYSTEM ${Boost_INCLUDE_DIRS}) + link_directories(${Boost_LIBRARY_DIRS}) diff --git a/srcpkgs/ledger/template b/srcpkgs/ledger/template index 19840d78e6d..875dd31c6b5 100644 --- a/srcpkgs/ledger/template +++ b/srcpkgs/ledger/template @@ -1,10 +1,10 @@ # Template file for 'ledger' pkgname=ledger version=3.3.2 -revision=2 +revision=3 build_style=cmake -makedepends="boost-devel-minimal libboost_filesystem libboost_date_time - libboost_iostreams libboost_unit_test_framework libboost_nowide +makedepends="boost-devel-minimal libboost_filesystem libboost_iostreams + libboost_nowide libboost_unit_test_framework gmp-devel mpfr-devel gettext-devel libedit-devel" short_desc="Double-entry accounting system with a command-line reporting interface" maintainer="Orphaned "