Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=gcc6.git;a=commitdiff;h=d144f13f1975f571389af236ebdc89040b84614d

commit d144f13f1975f571389af236ebdc89040b84614d
Author: crazy <[email protected]>
Date:   Sun Sep 25 13:44:50 2016 +0200

e4rat-0.2.3-6-x86_64
* rebuild with tc / boost
* added patches to fix the build

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

pkgname=e4rat
pkgver=0.2.3
-pkgrel=5
+pkgrel=6
pkgdesc="e4rat is a toolset to accelerate the boot process as well as 
application startups."
_F_sourceforge_ext="_src.tar.gz"
_F_sourceforge_sep="_"
_F_cd_path="$pkgname-$pkgver"
-depends=('e2fsprogs' 'libboost>=1.60.0' 'libaudit>=2.5.2-2')
-makedepends=('boost>=1.60.0')
+depends=('e2fsprogs' 'libboost>=1.61.0' 'libaudit>=2.5.2-3')
+makedepends=('boost>=1.61.0')
groups=('apps-extra')
archs=('i686' 'x86_64')
Finclude sourceforge cmake
-source=(${source[@]} boost.patch)
+source+=(boost.patch e4rat-0.2.4-gcc6.patch  e4rat-0.2.4-sysmacros.patch)
sha1sums=('5ac05e6687a64109bd70ac86ccff54cf57322d55' \
-          '17e8bcaaf7ddd48c5cff5336a087493e7d8d257c')
+          '17e8bcaaf7ddd48c5cff5336a087493e7d8d257c' \
+          '5535822441c1aeab5709ede487f7f9582b84d7a2' \
+          '900268b5c890ada9820d0045a68203c0b97b7a4a')

# optimization OK
diff --git a/source/apps-extra/e4rat/e4rat-0.2.4-gcc6.patch 
b/source/apps-extra/e4rat/e4rat-0.2.4-gcc6.patch
new file mode 100644
index 0000000..cdf14e5
--- /dev/null
+++ b/source/apps-extra/e4rat/e4rat-0.2.4-gcc6.patch
@@ -0,0 +1,11 @@
+--- e4rat-0.2.4_pre20141201/src/logging.hh.old 2016-09-21 22:01:37.631925077 
-0400
++++ e4rat-0.2.4_pre20141201/src/logging.hh     2016-09-21 22:01:44.351086734 
-0400
+@@ -93,7 +93,7 @@
+ #define dump_log(...) logger.write(__VA_ARGS__)
+
+ #ifdef DEBUG_ENABLED
+-    #define debug(format,args...) dump_log(Debug, "%s:%d in %s(): "format, 
__FILE__, __LINE__, __FUNCTION__, ## args)
++    #define debug(format,args...) dump_log(Debug, "%s:%d in %s(): " format, 
__FILE__, __LINE__, __FUNCTION__, ## args)
+ #else
+     #define debug(format,args...)
+ #endif
diff --git a/source/apps-extra/e4rat/e4rat-0.2.4-sysmacros.patch 
b/source/apps-extra/e4rat/e4rat-0.2.4-sysmacros.patch
new file mode 100644
index 0000000..5cdcf3f
--- /dev/null
+++ b/source/apps-extra/e4rat/e4rat-0.2.4-sysmacros.patch
@@ -0,0 +1,13 @@
+https://sourceforge.net/p/e4rat/tickets/5/
+https://bugs.gentoo.org/580534
+
+--- a/src/common.hh
++++ b/src/common.hh
+@@ -20,6 +20,7 @@
+ #ifndef COMMON_HH
+ #define COMMON_HH
+
++#include <sys/sysmacros.h>
+ #include <linux/types.h>
+ #include <boost/filesystem.hpp>
+ #include <boost/regex.hpp>
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to