Your message dated Thu, 12 Mar 2015 10:49:45 -0300
with message-id 
<cap+dxjeekogqedlck+nyaczjppv1gx0v3mg3ruz3jd_ucgb...@mail.gmail.com>
and subject line Re: gpart, cant compile, i386 patch included (fixes expected 
declaration specifiers)
has caused the Debian Bug report #619834,
regarding gpart, cant compile, i386  patch included (fixes expected declaration 
specifiers)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
619834: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=619834
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: gpart
Version: 0.1h-11+b1
Severity: important
Tags: patch

Hello,
Included below is a patch to fix compilation errors when building gpart on
i386. The patch is mainly a rework of http://bugs.debian.org/cgi-
bin/bugreport.cgi?bug=393039 and also includes a small fix to include
<errno.h>.

Hope this help,
Harish Badrinath



-- System Information:
Debian Release: 6.0
  APT prefers squeeze-updates
  APT policy: (500, 'squeeze-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gpart depends on:
ii  libc6                         2.11.2-10  Embedded GNU C Library: Shared lib

gpart recommends no packages.

gpart suggests no packages.
diff -Naurp gpart.orig/src/disku.c gpart/src/disku.c
--- gpart.orig/src/disku.c	2011-03-27 21:29:43.000000000 +0530
+++ gpart/src/disku.c	2011-03-27 21:30:15.000000000 +0530
@@ -22,6 +22,7 @@
 #include "gpart.h"
 
 #if defined(__linux__)
+#include <errno.h>
 #include <sys/mount.h>
 #include <linux/hdreg.h>
 #endif
diff -Naurp gpart.orig/src/l64seek.c gpart/src/l64seek.c
--- gpart.orig/src/l64seek.c	2011-03-27 21:29:43.000000000 +0530
+++ gpart/src/l64seek.c	2011-03-27 21:31:03.000000000 +0530
@@ -26,7 +26,11 @@ static struct
 static int		osptr = -1;
 
 #if defined(__linux__) && defined(__i386__)
-_syscall5(int,_llseek,uint,fd,ulong,hi,ulong,lo,loff_t *,res,uint,wh)
+#include <sys/syscall.h>
+static int _llseek(uint fd, ulong hi, ulong lo, loff_t *res, uint wh)
+{
+ return syscall(SYS__llseek, fd, hi, lo, res, wh);
+}
 #endif
 
 

--- End Message ---
--- Begin Message ---
These changes already implemented in last Debian revisions. So, I am
closing this bug.

Regards,

Eriberto

--- End Message ---
_______________________________________________
forensics-devel mailing list
forensics-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/forensics-devel

Reply via email to