diff options
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 " |