michael@47: Index: Make.inc.in michael@306: --- Make.inc.in.orig 2010-05-24 07:40:58.000000000 +0200 michael@306: +++ Make.inc.in 2010-05-24 23:54:11.000000000 +0200 michael@47: @@ -15,7 +15,7 @@ michael@47: docdir = @docdir@ michael@47: mandir = @mandir@ michael@47: datadir = @datadir@ michael@47: -dictdir = $(datadir)/freeradius michael@47: +dictdir = $(datadir) michael@47: logdir = @logdir@ michael@47: includedir = @includedir@ michael@47: raddbdir = @raddbdir@ michael@306: @@ -49,7 +49,7 @@ michael@47: michael@47: LOGDIR = ${logdir} michael@47: RADDBDIR = ${raddbdir} michael@47: -RUNDIR = ${localstatedir}/run/radiusd michael@47: +RUNDIR = ${localstatedir} michael@47: SBINDIR = ${sbindir} michael@47: RADIR = ${radacctdir} michael@47: LIBRADIUS = $(top_builddir)/src/lib/$(LIBPREFIX)freeradius-radius.la michael@47: Index: raddb/radiusd.conf.in michael@306: --- raddb/radiusd.conf.in.orig 2010-05-24 07:40:58.000000000 +0200 michael@306: +++ raddb/radiusd.conf.in 2010-05-24 23:54:11.000000000 +0200 michael@47: @@ -66,7 +66,7 @@ michael@47: michael@47: # Location of config and logfiles. michael@47: confdir = ${raddbdir} michael@306: -run_dir = ${localstatedir}/run/${name} michael@47: +run_dir = ${localstatedir} michael@47: michael@47: # Should likely be ${localstatedir}/lib/radiusd michael@47: db_dir = ${raddbdir} michael@306: Index: src/main/event.c michael@306: --- src/main/event.c.orig 2010-05-24 07:40:58.000000000 +0200 michael@306: +++ src/main/event.c 2010-05-25 08:53:57.000000000 +0200 michael@306: @@ -74,7 +74,9 @@ michael@306: #define PTHREAD_MUTEX_LOCK if (have_children) pthread_mutex_lock michael@306: #define PTHREAD_MUTEX_UNLOCK if (have_children) pthread_mutex_unlock michael@47: michael@306: +#if defined(HAVE_PTHREAD_H) michael@306: static pthread_t NO_SUCH_CHILD_PID; michael@306: +#endif michael@306: #else michael@306: /* michael@306: * This is easier than ifdef's throughout the code.