Commit 8337c950 authored by Giacomo Catenazzi's avatar Giacomo Catenazzi

Import Debian changes 1.9.0-wip.20070910-2

g15daemon (1.9.0-wip.20070910-2) unstable; urgency=low

  * pause() instead of busy loop.
parent 0301e115
g15daemon (1.9.0-wip.20070910-2) unstable; urgency=low
* pause() instead of busy loop.
-- Giacomo Catenazzi <cate@debian.org> Tue, 11 Sep 2007 06:12:01 +0200
g15daemon (1.9.0-wip.20070910-1) unstable; urgency=low
* New upstream release (from svn)
......
......@@ -3,12 +3,14 @@
DEB_MAKE_CLEAN_TARGET = distclean
clean::
-rm config/* configure config.log config.status Makefile.in */Makefile.in aclocal.m4 config.h.in Makefile
-rm -Rf plugins/.libs/ libg15daemon_client/.libs/ g15daemon/.libs/
-rm -f */*.o */*.la */*.lo g15daemon/g15daemontest g15daemon/g15daemon stamp-h1
-rm -f config/* configure config.log config.status Makefile.in */Makefile.in aclocal.m4 config.h.in Makefile */Makefile libtool config.h
pre-build::
makebuilddir/g15daemon::
[ -d config ] || mkdir config
aclocal -I config
libtoolize --force --copy
libtoolize --automake --force --copy
autoheader
automake --add-missing --copy
autoconf
......
......@@ -46,7 +46,7 @@
#include <libg15render.h>
extern int leaving;
extern volatile int leaving;
void * g15daemon_dlopen_plugin(char *name,unsigned int library) {
......
......@@ -49,7 +49,7 @@
#endif
/* all threads will exit if leaving >0 */
int leaving = 0;
volatile int leaving = 0;
int keyboard_backlight_off_onexit = 0;
unsigned int g15daemon_debug = 0;
unsigned int cycle_key;
......@@ -464,7 +464,7 @@ int main (int argc, char *argv[])
sigaction(SIGUSR1, &new_action, NULL);
do {
sleep(1);
pause();
} while( leaving == 0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment