Package: adjtimex
Version: 1.21-1
Severity: serious
Tags: patch

Hello,

when building 'adjtimex' in a clean unstable chroot,
I get the following error:

# compile the package.
/usr/bin/make CFLAGS="-Wall -g -O2"
make[1]: Entering directory `/adjtimex-1.21'
cc -Wall -g -O2 -c mat.c
cc -Wall -g -O2 -I. -DVERSION=\"1.20\" -o adjtimex adjtimex.c  \
                mat.o -lm
adjtimex.c:46: error: expected declaration specifiers or '...' before 'adjtimex'

With the attached patch 'adjtimex' can be compiled on unstable.

Regards
Andreas Jochens

diff -urN ../tmp-orig/adjtimex-1.21/adjtimex.c ./adjtimex.c
--- ../tmp-orig/adjtimex-1.21/adjtimex.c        2006-05-27 23:29:59.000000000 
+0000
+++ ./adjtimex.c        2006-10-04 09:11:48.000000000 +0000
@@ -37,15 +37,6 @@
 #include <sys/ioctl.h>
 #include <linux/rtc.h>
 
-#ifdef __alpha__
-extern int adjtimex(struct timex *);
-#else
-#ifdef __ia64__
-extern int adjtimex(struct timex *);
-#else
-_syscall1(int, adjtimex, struct timex *, txcp)
-#endif
-#endif
 int F_print = 0;
 
 #ifndef LOG_PATH


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to