summaryrefslogtreecommitdiffstats
path: root/package/acpid/acpid.mk
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-11-29 08:42:37 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-11-29 08:42:37 +0000
commit8bdb7bd3aadff4b68ad59bb482411ad88a72af64 (patch)
tree7392dea4c8ba09d90487e93df083d76b238ad8fd /package/acpid/acpid.mk
parentc33db03a191aa2d211d12a9fa0f8239de50efb68 (diff)
downloadbuildroot-novena-8bdb7bd3aadff4b68ad59bb482411ad88a72af64.tar.gz
buildroot-novena-8bdb7bd3aadff4b68ad59bb482411ad88a72af64.zip
- acpid is compiled with -Werror, and gcc 4.1.1 warns about mismatching
pointers. Fix it by using socklen_t type. - Modify acpid.mk to apply all available patches. Convert ACPI_SOCKETFILE adjustment from sed script to a patch. Thanks to Pavel Roskin
Diffstat (limited to 'package/acpid/acpid.mk')
-rw-r--r--package/acpid/acpid.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/acpid/acpid.mk b/package/acpid/acpid.mk
index 990f0abd9..bd0ed406d 100644
--- a/package/acpid/acpid.mk
+++ b/package/acpid/acpid.mk
@@ -10,12 +10,12 @@ ACPID_SITE=http://ftp.debian.org/debian/pool/main/a/acpid
$(DL_DIR)/$(ACPID_SOURCE):
$(WGET) -P $(DL_DIR) $(ACPID_SITE)/$(ACPID_SOURCE)
-$(ACPID_DIR)/Makefile: $(DL_DIR)/$(ACPID_SOURCE)
+$(ACPID_DIR)/.unpacked: $(DL_DIR)/$(ACPID_SOURCE)
$(ZCAT) $(DL_DIR)/$(ACPID_SOURCE) | tar -C $(BUILD_DIR) -xvf -
- $(SED) "s:ACPI_SOCKETFILE.*:ACPI_SOCKETFILE \"/tmp/acpid.socket\":" $(ACPID_DIR)/acpid.h
- touch -c $(ACPID_DIR)/Makefile
+ toolchain/patch-kernel.sh $(ACPID_DIR) package/acpid/ acpid\*.patch
+ touch $(ACPID_DIR)/.unpacked
-$(ACPID_DIR)/acpid: $(ACPID_DIR)/Makefile
+$(ACPID_DIR)/acpid: $(ACPID_DIR)/.unpacked
$(MAKE) CC=$(TARGET_CC) -C $(ACPID_DIR)
$(STRIP) -s $(ACPID_DIR)/acpid
$(STRIP) -s $(ACPID_DIR)/acpi_listen