summaryrefslogtreecommitdiffstats
path: root/meta/packages/apmd/apmd-3.2.2-14/unlinux.patch
blob: c64e7df524a834b3986d079ea506e75f8b8146a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# copy OE commit message here:
#    commit 9456cdc1cf43e3ba9e6d88c63560c1b6fdee4359
#    Author: Michael Krelin <hacker@klever.net>
#    Date:   Tue May 29 12:27:45 2007 +0000
#
#    apmd: prevent build from interferring with host kernel headers. Closes #1257
# 
# comment added by Kevin Tian <kevin.tian@intel.com>, 2010-07-13

--- apmd-3.2.2.orig/Makefile
+++ apmd-3.2.2/Makefile
@@ -43,8 +43,7 @@
 
 CC=gcc
 CFLAGS=-O -g
-XTRACFLAGS=-Wall -pipe -I. -I/usr/src/linux/include -I/usr/X11R6/include \
-		-I/usr/src/linux-2.2/include -I /usr/src/linux-2.0/include \
+XTRACFLAGS=-Wall -pipe -I. \
 		-DVERSION=\"$(VERSION)\" \
 		-DDEFAULT_PROXY_NAME=\"$(PROXY_DIR)/apmd_proxy\"
 LDFLAGS=