]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/gpe-bootsplash/files/mnci.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / gpe-bootsplash / files / mnci.patch
1
2 #
3 # Patch managed by http://www.holgerschurig.de/patcher.html
4 #
5
6 --- gpe-bootsplash-1.14/gpe-bootsplash.init~ramses.patch
7 +++ gpe-bootsplash-1.14/gpe-bootsplash.init
8 @@ -5,7 +5,7 @@
9      echo `grep "^Hardware" /proc/cpuinfo | sed -e "s/.*: *//" | tr a-z A-Z`
10  }
11  
12 -mount /proc
13 +mount /proc 2>/dev/null
14  
15  case $1 in
16  'start')
17 @@ -14,7 +14,7 @@
18                         ARGS="--mono --force-portrait" ;;
19                 "HP IPAQ H3600" | "HP IPAQ H3700" | "HP IPAQ H3900" | *COLLIE | *POODLE)
20                         ARGS="--flip --force-portrait" ;;
21 -               "HP IPAQ H3800")
22 +               "HP IPAQ H3800" | "RAMSES")
23                         ARGS="--force-portrait" ;;
24                 "SHARP SHEPHERD" | "SHARP HUSKY" | "SHARP CORGI")
25                         ARGS="--force-landscape --flip" ;;
26 --- gpe-bootsplash-1.14/splash.c~ramses.patch
27 +++ gpe-bootsplash-1.14/splash.c
28 @@ -118,6 +118,8 @@
29  
30    tty = open ("/dev/tty0", O_RDWR);
31    if (tty < 0)
32 +       tty = open ("/dev/vc/0", O_RDWR);
33 +  if (tty < 0)
34      perror ("open");
35    else
36      {