Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=gnometesting.git;a=commitdiff;h=2e4f69391f4eec321ec36e7e2246c1610afacba9

commit 2e4f69391f4eec321ec36e7e2246c1610afacba9
Author: Miklos Vajna <vmik...@frugalware.org>
Date:   Sat Mar 13 00:01:31 2010 +0100

dazuko-2.3.7-13-i686

- add kernel-2.6.33.patch

diff --git a/source/apps-extra/dazuko/FrugalBuild 
b/source/apps-extra/dazuko/FrugalBuild
index b8edb7b..25bd889 100644
--- a/source/apps-extra/dazuko/FrugalBuild
+++ b/source/apps-extra/dazuko/FrugalBuild
@@ -5,7 +5,7 @@ pkgname=dazuko
pkgver=2.3.7
realver=${pkgver/pre/-pre}
redirver=0.7
-pkgrel=12
+pkgrel=13
pkgdesc="On-access virus scanning kernel interface"
url="http://www.dazuko.org";
license="GPL-2 BSD"
@@ -19,8 +19,8 @@ up2date="Flasttar http://dazuko.dnsalias.org/files/";
source=(http://dazuko.dnsalias.org/files/dazuko-$pkgver.tar.gz \
http://www.redirfs.org/packages/redirfs-$redirver.tar.gz \
README.Frugalware \
-       kernel-2.6.29.patch)
-signatures=($source.asc '' '' '')
+       kernel-2.6.{29,33}.patch)
+signatures=($source.asc '' '' '' '')

build() {
Fcd $pkgname-$realver
diff --git a/source/apps-extra/dazuko/kernel-2.6.33.patch 
b/source/apps-extra/dazuko/kernel-2.6.33.patch
new file mode 100644
index 0000000..939950a
--- /dev/null
+++ b/source/apps-extra/dazuko/kernel-2.6.33.patch
@@ -0,0 +1,31 @@
+diff --git a/configure b/configure
+index 1caa547..bd57abc 100755
+--- a/configure
++++ b/configure
+@@ -117,7 +117,7 @@ linux_check_objdir()
+       then
+               echo -n "kernel build source in ${LINUX_CHECK_OBJ}... "
+
+-              if [ -f "${LINUX_CHECK_OBJ}/include/linux/version.h" -a -f 
"${LINUX_CHECK_OBJ}/include/linux/autoconf.h" ]
++              if [ -f "${LINUX_CHECK_OBJ}/include/linux/version.h" -a -f 
"${LINUX_CHECK_OBJ}/include/generated/autoconf.h" ]
+               then
+                       LINUX_OBJ="$LINUX_CHECK_OBJ"
+                       echo "yes"
+diff --git a/linux_conf.c b/linux_conf.c
+index 70e9981..0e29e67 100644
+--- a/linux_conf.c
++++ b/linux_conf.c
+@@ -1,11 +1,9 @@
+ #ifdef USE_CONFIG_H
+ #else
+-#include <linux/autoconf.h>
++#include <generated/autoconf.h>
+ #endif
+ #include <linux/version.h>
+-#ifdef USE_UTSRELEASE_H
+-#include <linux/utsrelease.h>
+-#endif
++#include <generated/utsrelease.h>
+ #include <stdio.h>
+
+ #ifndef KERNEL_VERSION
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to