Package: extipl
Version: 5.04-2
Severity: normal
Tags: patch
Hi,
Attached is the diff for my extipl 5.04-2.1 NMU.
--
Luk Claes - http://people.debian.org/~luk - GPG key 1024D/9B7C328D
Fingerprint: D5AF 25FB 316B 53BB 08E7 F999 E544 DE07 9B7C 328D
diff -u extipl-5.04/debian/changelog extipl-5.04/debian/changelog
--- extipl-5.04/debian/changelog
+++ extipl-5.04/debian/changelog
@@ -1,3 +1,10 @@
+extipl (5.04-2.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix build error with recent linux-kernel-headers (Closes: #395891).
+
+ -- Luk Claes <[EMAIL PROTECTED]> Sun, 5 Nov 2006 16:46:09 +0100
+
extipl (5.04-2) unstable; urgency=low
* Add amd64 to Architecture field in the control file.
@@ -114,3 +120,0 @@
-Local variables:
-mode: debian-changelog
-End:
diff -u extipl-5.04/debian/rules extipl-5.04/debian/rules
--- extipl-5.04/debian/rules
+++ extipl-5.04/debian/rules
@@ -15,7 +15,7 @@
# Add here commands to compile the package.
cp debian/addition/Makefile .
- -$(MAKE)
+ $(MAKE)
touch build-stamp
@@ -26,7 +26,7 @@
# Add here commands to clean up after the build process.
rm -f Makefile
- -$(MAKE) -f debian/addition/Makefile allclean
+ $(MAKE) -f debian/addition/Makefile allclean
dh_clean
@@ -40,7 +40,7 @@
# Add here commands to install the package into debian/tmp.
cp debian/addition/Makefile .
- -$(MAKE) install DESTDIR=`pwd`/debian/tmp
+ $(MAKE) install DESTDIR=`pwd`/debian/tmp
for i in pollux castor altair aldebaran; \
do cp src/$$i.bin debian/extipl-boot/boot/extipl-$$i.b; done
only in patch2:
unchanged:
--- extipl-5.04.orig/src/extipl.c
+++ extipl-5.04/src/extipl.c
@@ -23,7 +23,7 @@
#include <sys/stat.h>
#include <regex.h>
#ifdef __linux__
-#include <linux/unistd.h>
+#include <sys/syscall.h>
#endif
#include "extipl.h"
#include "sysident.h"
@@ -79,7 +79,7 @@
static char *ask(char *);
static int sure(char *);
#ifdef __linux__
-static _syscall5(int, _llseek, uint, fd, ulong, hi, ulong, lo, loff_t *,
res, uint, wh);
+static int _llseek(uint, ulong, ulong, loff_t *, uint);
static int long_seek(int, off_t, int);
#endif
/*================ for DEBUG ======================== */
@@ -1104,6 +1104,15 @@
}
#ifdef __linux__
+
+static int _llseek(fd, hi, lo, res, whence)
+uint fd, whence;
+ulong hi, lo;
+loff_t *res;
+{
+ return syscall(SYS__llseek, fd, hi, lo, res, whence);
+}
+
/* Hacked by Taketoshi Sano <[EMAIL PROTECTED]> */
static int long_seek(fd, offset, whence)
int fd, whence;