1
--- maradns-1.3.07.05/configure 2006-05-15 18:28:36.000000000 -0500
2
+++ maradns-1.3.07.06/configure 2007-10-01 07:54:43.000000000 -0500
4
echo It looks like you are using Cygwin\; this should compile fine
5
echo by typing in \'make\'.
7
+elif echo $UNAME | grep -i AIX > /dev/null ; then
8
+ cat $BUILDDIR/Makefile.AIX >> Makefile
9
+ echo It looks like you are using AIX\; this should compile fine
10
+ echo by typing in \'make\'.
12
elif echo $UNAME | grep -i darwin > /dev/null ; then
13
cat $BUILDDIR/Makefile.darwin >> Makefile
14
cp $BUILDDIR/install.darwin $BUILDDIR/install.locations
15
--- maradns-1.3.07.06/build/Makefile.AIX.orig 2007-10-01 08:02:34.000000000 -0500
16
+++ maradns-1.3.07.06/build/Makefile.AIX 2007-10-01 07:59:33.000000000 -0500
18
# LDFLAGS=-L/usr/ucblib -lucb -lxnet
19
# end the Solaris section
20
# Non-Solaris version of "M"
21
-M="CC=$(CC) -O2 -Wall" DEBUG=-DNO_FLOCK
22
+M="CC=$(CC) -O2 -Wall -DNO_FLOCK" DEBUG=-DNO_FLOCK
23
V="VERSION=$(VERSION)"
26
--- maradns-1.3.07.06/qual/qual_timestamp.c.orig 2007-10-01 08:05:10.000000000 -0500
27
+++ maradns-1.3.07.06/qual/qual_timestamp.c 2007-10-01 08:00:42.000000000 -0500
29
-/* Copyright (c) 2002-2005 Sam Trenholme
30
+/* Copyright (c) 2002-2007 Sam Trenholme
35
when the 32-bit time() call gives us -1 in 2106 */
38
-pthread_mutex_t time_lock = PTHREAD_MUTEX_INITIALIZER;
39
+pthread_mutex_t qtime_lock = PTHREAD_MUTEX_INITIALIZER;
42
/* Give an application a timestamp in a non-blocking manner */
44
qual_timestamp qual_get_time() {
47
- pthread_mutex_lock(&time_lock);
48
+ pthread_mutex_lock(&qtime_lock);
52
- pthread_mutex_unlock(&time_lock);
53
+ pthread_mutex_unlock(&qtime_lock);
61
- pthread_mutex_lock(&time_lock);
62
+ pthread_mutex_lock(&qtime_lock);
66
- pthread_mutex_unlock(&time_lock);
67
+ pthread_mutex_unlock(&qtime_lock);