Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=multilib.git;a=commitdiff;h=85978c8bf04dd4d2e09443a81f8c6a76b5e9f829

commit 85978c8bf04dd4d2e09443a81f8c6a76b5e9f829
Author: crazy <[email protected]>
Date:   Sun Feb 11 03:05:23 2018 +0100

e4rat-0.2.3-7-x86_64

* bleh what a broken app
* added lots patches and other sed hacks to fix the build

diff --git a/source/apps-extra/e4rat/FrugalBuild 
b/source/apps-extra/e4rat/FrugalBuild
index 48068de..bcc5bc4 100644
--- a/source/apps-extra/e4rat/FrugalBuild
+++ b/source/apps-extra/e4rat/FrugalBuild
@@ -4,7 +4,7 @@

pkgname=e4rat
pkgver=0.2.3
-pkgrel=6
+pkgrel=7
pkgdesc="e4rat is a toolset to accelerate the boot process as well as 
application startups."
_F_sourceforge_ext="_src.tar.gz"
_F_sourceforge_sep="_"
@@ -12,12 +12,27 @@ _F_cd_path="$pkgname-$pkgver"
depends=('e2fsprogs' 'libboost>=1.61.0' 'libaudit>=2.5.2-3')
makedepends=('boost>=1.61.0')
groups=('apps-extra')
-archs=('i686' 'x86_64')
+archs=('x86_64')
Finclude sourceforge cmake
-source+=(boost.patch e4rat-0.2.4-gcc6.patch  e4rat-0.2.4-sysmacros.patch)
+source+=(boost.patch e4rat-0.2.4-gcc6.patch  e4rat-0.2.4-sysmacros.patch \
+       
https://data.gpo.zugaina.org/funtoo/sys-fs/e4rat/files/e4rat-0.2.2-shared-build.patch
 \
+       
https://data.gpo.zugaina.org/funtoo/sys-fs/e4rat/files/e4rat-0.2.4-strdup.patch 
\
+       
https://data.gpo.zugaina.org/funtoo/sys-fs/e4rat/files/e4rat-0.2.2-libdir.patch)
sha1sums=('5ac05e6687a64109bd70ac86ccff54cf57322d55' \
-          '17e8bcaaf7ddd48c5cff5336a087493e7d8d257c' \
+          'ddf7cc8abbd2b417499a4fc006557ede93707b46' \
'5535822441c1aeab5709ede487f7f9582b84d7a2' \
-          '900268b5c890ada9820d0045a68203c0b97b7a4a')
+          '900268b5c890ada9820d0045a68203c0b97b7a4a' \
+          'a333aa9828c820f467716320787033b66f5f9d8f' \
+          '1b0ce4fb2249181b798f68c5ff51a6485963eccd' \
+          '6eec53f89c594464095b00c7129049714c25750e')
+_Fbuild_no_patch=yes
+
+build() {
+
+       Fcd
+       Fpatchall
+       Fsed '-DBOOST_FILESYSTEM_VERSION=2' '-DBOOST_FILESYSTEM_VERSION=3' 
CMakeLists.txt
+       CMake_build
+}

# optimization OK
diff --git a/source/apps-extra/e4rat/boost.patch 
b/source/apps-extra/e4rat/boost.patch
index 514c4e3..4d2503e 100644
--- a/source/apps-extra/e4rat/boost.patch
+++ b/source/apps-extra/e4rat/boost.patch
@@ -1,18 +1,3 @@
-diff -ur a/CMakeLists.txt b/CMakeLists.txt
---- a/CMakeLists.txt   2012-11-29 04:20:24.563019830 -0600
-+++ b/CMakeLists.txt   2012-11-30 01:33:57.657711148 -0600
-@@ -14,9 +14,9 @@
-     set(CMAKE_INSTALL_PREFIX "/" CACHE PATH "e4rat install prefix" FORCE)
- ENDIF(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
-
--set(Boost_USE_STATIC_LIBS   ON)
-+set(Boost_USE_STATIC_LIBS   OFF)
- set(Boost_USE_MULTITHREADED OFF)
--add_definitions(-DBOOST_FILESYSTEM_VERSION=2)
-+add_definitions(-DBOOST_FILESYSTEM_VERSION=3)
- find_package(Boost 1.41 COMPONENTS system filesystem regex REQUIRED)
- set(${PROJECT_NAME}_LIBRARIES   ${${PROJECT_NAME}_LIBRARIES}
-     ${Boost_LIBRARIES})
diff -ur a/src/common.cc b/src/common.cc
--- a/src/common.cc     2012-11-29 04:20:24.565019830 -0600
+++ b/src/common.cc     2012-11-30 01:37:17.203792503 -0600
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to