summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/xorg-driver/xf86-video-apm/.mtn2git_empty0
-rw-r--r--packages/xorg-driver/xf86-video-apm/get-rid-of-host-includes.patch13
-rw-r--r--packages/xorg-driver/xf86-video-apm_1.2.0.bb8
3 files changed, 21 insertions, 0 deletions
diff --git a/packages/xorg-driver/xf86-video-apm/.mtn2git_empty b/packages/xorg-driver/xf86-video-apm/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/xorg-driver/xf86-video-apm/.mtn2git_empty
diff --git a/packages/xorg-driver/xf86-video-apm/get-rid-of-host-includes.patch b/packages/xorg-driver/xf86-video-apm/get-rid-of-host-includes.patch
new file mode 100644
index 0000000000..a7e8a09916
--- /dev/null
+++ b/packages/xorg-driver/xf86-video-apm/get-rid-of-host-includes.patch
@@ -0,0 +1,13 @@
+Index: xf86-video-apm-1.2.0/configure.ac
+===================================================================
+--- xf86-video-apm-1.2.0.orig/configure.ac 2008-06-13 20:04:44.000000000 +0200
++++ xf86-video-apm-1.2.0/configure.ac 2008-06-13 20:05:02.000000000 +0200
+@@ -63,7 +63,7 @@
+ AC_SUBST([XF86RUSH_CFLAGS])
+
+ CFLAGS="$CFLAGS $XORG_CFLAGS $XF86RUSH_CFLAGS"' -I$(top_srcdir)/src'
+-INCLUDES="$XORG_INCS -I${sdkdir} $XF86RUSH_INCS "'-I$(top_srcdir)/src -I$(prefix)/include'
++INCLUDES="$XORG_INCS $XF86RUSH_INCS "'-I$(top_srcdir)/src'
+ AC_SUBST([CFLAGS])
+ AC_SUBST([INCLUDES])
+
diff --git a/packages/xorg-driver/xf86-video-apm_1.2.0.bb b/packages/xorg-driver/xf86-video-apm_1.2.0.bb
new file mode 100644
index 0000000000..1cef0fbb55
--- /dev/null
+++ b/packages/xorg-driver/xf86-video-apm_1.2.0.bb
@@ -0,0 +1,8 @@
+require xorg-driver-video.inc
+PE = "1"
+
+DESCRIPTION = "This is the Alliance Promotion driver for XFree86 4.0+"
+
+DEPENDS += " xf86rushproto"
+
+SRC_URI += "file://get-rid-of-host-includes.patch;patch=1"