Package: mailto
Version: 1.3.2-2
Severity: important
Tags: patch
Justification: fails to build from source
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu karmic ubuntu-patch


Attached patch should fix the FTBFS


*** /tmp/tmp2V58ob
In Ubuntu, we've applied the attached patch to achieve the following:

  * util.c: Rename getline function to fix FTBFS as its included
    in stdio.h 

We thought you might be interested in doing the same. 


-- System Information:
Debian Release: squeeze/sid
  APT prefers karmic-updates
  APT policy: (500, 'karmic-updates'), (500, 'karmic-security'), (500, 'karmic')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-14-generic (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u mailto-1.3.2/debian/changelog mailto-1.3.2/debian/changelog
only in patch2:
unchanged:
--- mailto-1.3.2.orig/util.c
+++ mailto-1.3.2/util.c
@@ -93,7 +93,7 @@
     return -1;
 }
 
-int getline(char *s, int n, FILE *f) {
+int my_getline(char *s, int n, FILE *f) {
     register int i=0;
 
     while(1) {

Reply via email to