PKGBUILDs/extra/irda-utils/irda.patch
2009-10-09 21:23:22 -05:00

60 lines
1.9 KiB
Diff

--- irda-utils-0.9.18-orig/irnetd/Makefile 2006-07-11 08:16:06.000000000 +0200
+++ irda-utils-0.9.18/irnetd/Makefile 2007-09-25 01:38:13.000000000 +0200
@@ -55,7 +55,7 @@
install: irnetd
$(prn_install)
- $(ECMD) install irnetd /usr/sbin/
+ $(ECMD) install irnetd $(ROOT)/usr/sbin/
clean:
diff -Naur irda-utils-0.9.18-orig/findchip/nsc.c irda-utils-0.9.18/findchip/nsc.c
--- irda-utils-0.9.18-orig/findchip/nsc.c 2006-07-11 08:16:06.000000000 +0200
+++ irda-utils-0.9.18/findchip/nsc.c 2007-09-25 01:34:32.000000000 +0200
@@ -33,7 +33,7 @@
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
-#include <asm/io.h>
+#include <sys/io.h>
#include "findchip.h"
diff -Naur irda-utils-0.9.18-orig/findchip/smc.c irda-utils-0.9.18/findchip/smc.c
--- irda-utils-0.9.18-orig/findchip/smc.c 2006-07-11 08:16:06.000000000 +0200
+++ irda-utils-0.9.18/findchip/smc.c 2007-09-25 01:34:32.000000000 +0200
@@ -32,7 +32,7 @@
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
-#include <asm/io.h>
+#include <sys/io.h>
#include "findchip.h"
diff -Naur irda-utils-0.9.18-orig/findchip/winbond.c irda-utils-0.9.18/findchip/winbond.c
--- irda-utils-0.9.18-orig/findchip/winbond.c 2006-07-11 08:16:06.000000000 +0200
+++ irda-utils-0.9.18/findchip/winbond.c 2007-09-25 01:34:32.000000000 +0200
@@ -32,7 +32,7 @@
#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>
-#include <asm/io.h>
+#include <sys/io.h>
#include "findchip.h"
diff -Naur irda-utils-0.9.18-orig/pcmcia/ircard_cs.c irda-utils-0.9.18/pcmcia/ircard_cs.c
--- irda-utils-0.9.18-orig/pcmcia/ircard_cs.c 2006-07-11 08:16:06.000000000 +0200
+++ irda-utils-0.9.18/pcmcia/ircard_cs.c 2007-09-25 01:34:32.000000000 +0200
@@ -41,7 +41,7 @@
#include <linux/timer.h>
#include <linux/delay.h>
#include <linux/ioport.h>
-#include <asm/io.h>
+#include <sys/io.h>
#include <asm/system.h>
#include <net/irda/irda.h>