diff options
author | Michael Krelin <hacker@klever.net> | 2007-07-07 16:51:39 +0000 |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2007-07-07 16:51:39 +0000 |
commit | 02d56a96831449e75a168d1615616f3146f09532 (patch) | |
tree | 336bfbb6aae53233cd3020b63fa4b36339b9714b /packages/opie-alarm | |
parent | 14e695a70d2f2eee4b94f30aaac7d6673d416a8c (diff) |
opie-alarm: adjust for the new filesystem layout
Diffstat (limited to 'packages/opie-alarm')
-rw-r--r-- | packages/opie-alarm/opie-alarm/dirdefines.patch | 21 | ||||
-rw-r--r-- | packages/opie-alarm/opie-alarm_cvs.bb | 5 |
2 files changed, 24 insertions, 2 deletions
diff --git a/packages/opie-alarm/opie-alarm/dirdefines.patch b/packages/opie-alarm/opie-alarm/dirdefines.patch new file mode 100644 index 0000000000..ea1e686dce --- /dev/null +++ b/packages/opie-alarm/opie-alarm/dirdefines.patch @@ -0,0 +1,21 @@ +diff --git a/opiealarm.c b/opiealarm.c +index 422865c..b948ef2 100644 +--- a/opiealarm.c ++++ b/opiealarm.c +@@ -367,13 +367,13 @@ int resume ( int resuspend ) + + setenv ( "LOGNAME", "root", 1 ); + setenv ( "HOME", "/root", 1 ); +- setenv ( "LD_LIBRARY_PATH", "/opt/QtPalmtop/lib", 1 ); +- setenv ( "QTDIR", "/opt/QtPalmtop", 1 ); ++ setenv ( "LD_LIBRARY_PATH", OPIE_LIBDIR, 1 ); ++ setenv ( "QTDIR", OPIE_QTDIR, 1 ); + + remove_pidfile ( ); + + // no need for system() since this process is no longer useful anyway +- execv ( "/opt/QtPalmtop/bin/qcop", argv ); ++ execv ( OPIE_BINDIR "/qcop", argv ); + + perror ( "exec for qcop failed" ); + return 5; diff --git a/packages/opie-alarm/opie-alarm_cvs.bb b/packages/opie-alarm/opie-alarm_cvs.bb index b5927363d1..2cdb067668 100644 --- a/packages/opie-alarm/opie-alarm_cvs.bb +++ b/packages/opie-alarm/opie-alarm_cvs.bb @@ -1,7 +1,8 @@ require ${PN}.inc PV = "${OPIE_CVS_PV}" -PR = "r2" +PR = "r2.1" SRC_URI = "${HANDHELDS_CVS};module=opie/core/opiealarm \ - file://01opiealarm " + file://01opiealarm \ + file://dirdefines.patch;patch=1 " |