Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=kernelbump.git;a=commitdiff;h=510bdc36cc85a3d6e2dc297cf9909b9dfcf693ec

commit 510bdc36cc85a3d6e2dc297cf9909b9dfcf693ec
Author: DeX77 <[email protected]>
Date:   Mon Jul 3 11:53:18 2017 +0200

frandom-1.1-135-x86_64

* rebuild with kernel 4.12

diff --git a/source/base-extra/frandom/FrugalBuild 
b/source/base-extra/frandom/FrugalBuild
index 71629ef..68e4a59 100644
--- a/source/base-extra/frandom/FrugalBuild
+++ b/source/base-extra/frandom/FrugalBuild
@@ -3,18 +3,21 @@

pkgname=frandom
pkgver=1.1
-pkgrel=134
+pkgrel=135
pkgdesc="A RNG that is faster than /dev/urandom."
groups=('base-extra')
archs=('i686' 'x86_64')
Finclude sourceforge kernel-module
url="http://billauer.co.il/frandom.html";
-sha1sums=('5c27593074e17d26e8fe7f30131e15451fbb8f78')
+source+=('kernel-4.12.patch')
+sha1sums=('5c27593074e17d26e8fe7f30131e15451fbb8f78' \
+          'a10228f5c11dba84f5e314415fb296c215027215')

build()
{
Fmkdir /dev
Fsed '$(shell uname -r)' "$_F_kernelmod_uname" Makefile
+       Fpatchall
Fmake
Ffilerel /lib/modules/$_F_kernelmod_uname/kernel/$pkgname.ko
Fbuild_kernelmod_scriptlet
diff --git a/source/base-extra/frandom/kernel-4.12.patch 
b/source/base-extra/frandom/kernel-4.12.patch
new file mode 100644
index 0000000..3c25ac7
--- /dev/null
+++ b/source/base-extra/frandom/kernel-4.12.patch
@@ -0,0 +1,11 @@
+--- frandom-1.1/frandom.c      2011-07-28 00:14:14.000000000 +0200
++++ frandom-1.1.new/frandom.c  2017-07-03 11:51:56.000000000 +0200
+@@ -25,7 +25,7 @@
+ #include <linux/types.h>
+ #include <linux/random.h>
+
+-#include <asm/uaccess.h>
++#include <linux/uaccess.h>
+ #include <linux/cdev.h>
+ #include <linux/err.h>
+ #include <linux/device.h>
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to