summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD11
-rw-r--r--makefile.patch11
3 files changed, 22 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a363ecaa656..58a03f14a04 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Sun May 15 12:26:20 UTC 2016
+# Sat Jun 11 16:05:53 UTC 2016
pkgbase = omnibook-dkms-git
pkgdesc = Kernel module for HP OmniBook,Pavilion,Toshiba and Compal ACL00 laptops
pkgver = 20150227
- pkgrel = 1
+ pkgrel = 2
url = http://omnibook.sourceforge.net
arch = any
license = GPL
@@ -16,8 +16,10 @@ pkgbase = omnibook-dkms-git
conflicts = omnibook-git
source = omnibook-git::git://devoid-pointer.net/omnibook.git
source = dkms.conf
+ source = makefile.patch
md5sums = SKIP
md5sums = 8e2713c9bd733157d140f2e2bd3dc316
+ md5sums = 7d2830930ad14b1125b219b18acb37c0
pkgname = omnibook-dkms-git
diff --git a/PKGBUILD b/PKGBUILD
index a29fa79d164..ad39a7024c6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
_pkgname=omnibook-git
pkgname=omnibook-dkms-git
pkgver=20150227
-pkgrel=1
+pkgrel=2
pkgdesc="Kernel module for HP OmniBook,Pavilion,Toshiba and Compal ACL00 laptops"
arch=('any')
url="http://omnibook.sourceforge.net"
@@ -16,9 +16,10 @@ optdepends=('linux-headers: build for Arch kernel'
conflicts=('omnibook-git')
provides=('omnibook-git')
source=("$_pkgname::git://devoid-pointer.net/omnibook.git"
- "dkms.conf")
+ "dkms.conf" "makefile.patch")
md5sums=('SKIP'
- '8e2713c9bd733157d140f2e2bd3dc316')
+ '8e2713c9bd733157d140f2e2bd3dc316'
+ '7d2830930ad14b1125b219b18acb37c0')
pkgver() {
@@ -27,7 +28,9 @@ pkgver() {
}
build() {
- install -m644 dkms.conf $_pkgname/
+ cd $_pkgname
+ install -m644 ../dkms.conf ./
+ patch -Np0 -i ../makefile.patch
}
package() {
diff --git a/makefile.patch b/makefile.patch
new file mode 100644
index 00000000000..313abfadf13
--- /dev/null
+++ b/makefile.patch
@@ -0,0 +1,11 @@
+--- Makefile 2016-06-11 18:00:54.487191939 +0200
++++ Makefile1 2016-06-11 18:00:41.404433194 +0200
+@@ -156,7 +156,7 @@
+
+ endif
+
+-EXTRA_CFLAGS += -DOMNIBOOK_MODULE_NAME='"$(MODULE_NAME)"'
++EXTRA_CFLAGS += -DOMNIBOOK_MODULE_NAME='"$(MODULE_NAME)"' -Wno-incompatible-pointer-types
+ EXTRA_LDFLAGS += $(src)/sections.lds
+
+ obj-$(CONFIG_OMNIBOOK) += $(MODULE_NAME).o