aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-opie/opie-taskbar/opie-taskbar/restart-from-bindir.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-opie/opie-taskbar/opie-taskbar/restart-from-bindir.patch')
-rw-r--r--recipes-opie/opie-taskbar/opie-taskbar/restart-from-bindir.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes-opie/opie-taskbar/opie-taskbar/restart-from-bindir.patch b/recipes-opie/opie-taskbar/opie-taskbar/restart-from-bindir.patch
new file mode 100644
index 0000000..1a73588
--- /dev/null
+++ b/recipes-opie/opie-taskbar/opie-taskbar/restart-from-bindir.patch
@@ -0,0 +1,12 @@
+diff --git a/serverapp.cpp b/serverapp.cpp
+index 0e92040..b933340 100644
+--- a/serverapp.cpp
++++ b/serverapp.cpp
+@@ -763,6 +763,7 @@ void ServerApplication::restart()
+ for ( int fd = 3; fd < 100; fd++ )
+ close( fd );
+ execl( ( qpeDir() + "/bin/qpe" ).local8Bit(), "qpe", NULL );
++ execl( OPIE_BINDIR "/qpe", "qpe", NULL );
+ exit( 1 );
+ #endif
+ }