From f96441b9faf769c9ecdd4d338b605ea3d0cc4010 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Tue, 9 Nov 2004 00:36:47 +0000 Subject: Disable bk EOLN_NATIVE conversions on all files in packages FILESPATHs, to prevent it screwing up patches. BKrev: 4190111fA4MuVozAqwE7xOSL9fr-TA --- gpe-conf/gpe-conf-0.1.8/brightness.patch | 53 ++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) (limited to 'gpe-conf/gpe-conf-0.1.8/brightness.patch') diff --git a/gpe-conf/gpe-conf-0.1.8/brightness.patch b/gpe-conf/gpe-conf-0.1.8/brightness.patch index e69de29bb2..b3f169fd87 100644 --- a/gpe-conf/gpe-conf-0.1.8/brightness.patch +++ b/gpe-conf/gpe-conf-0.1.8/brightness.patch @@ -0,0 +1,53 @@ +Index: ipaqscreen/brightness.c +=================================================================== +RCS file: /cvs/gpe/base/gpe-conf/ipaqscreen/brightness.c,v +retrieving revision 1.13 +retrieving revision 1.14 +diff -u -r1.13 -r1.14 +--- ipaqscreen/brightness.c 13 Jul 2003 08:40:13 -0000 1.13 ++++ ipaqscreen/brightness.c 3 Jun 2004 17:35:23 -0000 1.14 +@@ -23,7 +23,7 @@ + #include "../parser.h" + + #include +-#ifdef __arm__ ++#ifdef MACH_IPAQ + #include + #include + #define TS_DEV "/dev/touchscreen/0" +@@ -32,7 +32,7 @@ + + void turn_light(int status) + { +-#ifdef __arm__ ++#ifdef MACH_IPAQ + int fd; + bl.mode=1; + bl.pwr=status; +@@ -46,7 +46,7 @@ + + int get_light_state () + { +-#ifndef __arm__ ++#ifndef MACH_IPAQ + return 10; // bl doesnt exit on i386 dev machines! + #else + struct h3600_ts_backlight tsbl; +@@ -83,7 +83,7 @@ + + void set_brightness (int brightness) + { +-#ifdef __arm__ ++#ifdef MACH_IPAQ + int fd; + + if (brightness) +@@ -102,7 +102,7 @@ + + int get_brightness () + { +-#ifndef __arm__ ++#ifndef MACH_IPAQ + return 10; // bl doesnt exit on i386 dev machines! + #else + struct h3600_ts_backlight tsbl; -- cgit v1.2.3