Your message dated Sat, 16 Sep 2006 12:21:45 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Fixed in NMU of linpqa 0.51-4.1
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: linpqa
Version: 0.51-4
Severity: normal
Tags: patch

Hello,

pilot-link 0.12.0 is now stable and available. The Debian package is
available from experimental. Before uploading it to unstable and replace
libpisock8 by libpisock9 I try to recompile every package using
libpisock8.

linpqa fails to build for obvious reasons.

Proposed patch:

--- linpqa-0.51.orig/PQAcompile.c
+++ linpqa-0.51/PQAcompile.c
@@ -19,10 +19,10 @@
 
 //#include <libhtmlparse.h>
 
-#include <libpisock/pi-source.h>
-#include <libpisock/pi-socket.h>
-#include <libpisock/pi-dlp.h>
-#include <libpisock/pi-file.h>
+#include <pi-source.h>
+#include <pi-socket.h>
+#include <pi-dlp.h>
+#include <pi-file.h>
 
 
 #define TYPE_HTML 4
@@ -180,6 +180,7 @@
 //     return(0);
 //}
 
+#if 0
 static time_t
 pilot_time_to_unix_time (unsigned long raw_time)
 {
@@ -191,6 +192,7 @@
 {
   return (unsigned long)((unsigned long)t + PILOT_TIME_DELTA);
 }
+#endif
 
 
 int load_bitmap(char *image[], FILE *in) 
--- linpqa-0.51.orig/PQAdecompile.c
+++ linpqa-0.51/PQAdecompile.c
@@ -21,11 +21,12 @@
 #include <stdlib.h>
 #include <unistd.h>
 #include <time.h>
+#include <string.h>
 
-#include <libpisock/pi-source.h>
-#include <libpisock/pi-socket.h>
-#include <libpisock/pi-dlp.h>
-#include <libpisock/pi-file.h>
+#include <pi-source.h>
+#include <pi-socket.h>
+#include <pi-dlp.h>
+#include <pi-file.h>
 
 #ifdef sun
   extern char* optarg;
@@ -88,10 +89,7 @@
     exit (1);
   }
 
-  if (pi_file_get_info (pf, &info) < 0) {
-    fprintf (stderr, "can't get info\n\n");
-    exit (1);
-  }
+  pi_file_get_info (pf, &info);
   
        if(vflag)
                dump_header (pf, &info);
@@ -1173,10 +1171,7 @@
 int i, pos,x, y, tmp;
 char *buf;
 
-  if (pi_file_get_app_info (pf, &app_info, &app_info_size) < 0) {
-    printf ("can't get app_info\n\n");
-    return;
-  }
+  pi_file_get_app_info (pf, &app_info, &app_info_size);
 
   printf ("app_info_size %d\n", app_info_size);
 
-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (90, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17.8-mactel
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)


--- End Message ---
--- Begin Message ---
Version: 0.51-4.1

I've NMUed for this bug (fixing the bug to use versioning instead of the
"fixed" tag, to ease tracking through testing); here's the changelog:

>  linpqa (0.51-4.1) unstable; urgency=medium
>  .
>    * Non-maintainer upload.
>    * Make package compile with newer libpisock; fixes FTBFS.
>      (Closes: #386189)
>      * Patch the code to use the new API; patch from Ludovic Rousseau (adapted
>        to apply cleanly).
>      * Update versioned build-dependency on libpisock-dev to 0.12.1-1, to make
>        sure we compile against the new API.

/* Steinar */
-- 
Homepage: http://www.sesse.net/

--- End Message ---

Reply via email to