Hi maintainer I uploaded the 0.41-2.1 NMU with fix for this RC bug as shown in the attached debdiff.
Cheers. -- Francesco P. Lovergine
diff -u gpstrans-0.41/debian/changelog gpstrans-0.41/debian/changelog --- gpstrans-0.41/debian/changelog +++ gpstrans-0.41/debian/changelog @@ -1,3 +1,11 @@ +gpstrans (0.41-2.1) unstable; urgency=low + + * Non-maintainer upload. + * Changed getline() in my_getline() to avoid eglibc colliding names in getline.c. + (closes: #552864) + + -- Francesco Paolo Lovergine <[email protected]> Wed, 27 Jan 2010 17:18:46 +0100 + gpstrans (0.41-2) unstable; urgency=low * suggest setserial (thanks to Joerg Schuetter <[email protected]>, only in patch2: unchanged: --- gpstrans-0.41.orig/src/prefs.c +++ gpstrans-0.41/src/prefs.c @@ -268,7 +268,7 @@ do { - p = getline ("Please select datum: "); + p = my_getline ("Please select datum: "); sscanf (p, "%d", &value); printf ("\n"); } @@ -288,7 +288,7 @@ do { - p = getline ("Please select format: "); + p = my_getline ("Please select format: "); sscanf (p, "%d", &value); printf ("\n"); } @@ -298,7 +298,7 @@ printf ("\n"); do { - p = getline ("Please select time offset (-12 to +12): "); + p = my_getline ("Please select time offset (-12 to +12): "); sscanf (p, "%f", &floatval); printf ("\n"); } @@ -308,7 +308,7 @@ printf ("\n"); do { - p = getline ("Please enter serial device name: "); + p = my_getline ("Please enter serial device name: "); sprintf (gPrefs.Device, "%s", p); printf ("\n"); } @@ -317,7 +317,7 @@ printf ("\n"); do { - p = getline ("Is your model etrex (or other similar model) (y/n)?"); + p = my_getline ("Is your model etrex (or other similar model) (y/n)?"); /* Add support to several models.Thats why we put the y as char */ /* In practical terms,answer means BYTE not model. */ only in patch2: unchanged: --- gpstrans-0.41.orig/src/getline/getline.c +++ gpstrans-0.41/src/getline/getline.c @@ -37,7 +37,7 @@ /********************* exported interface ********************************/ -char *getline (); /* read a line of input */ +char *my_getline (); /* read a line of input */ void gl_setwidth (); /* specify width of screen */ void gl_histadd (); /* adds entries to hist */ void gl_strwidth (); /* to bind gl_strlen */ @@ -392,7 +392,7 @@ hist_init (); } if (isatty (0) == 0 || isatty (1) == 0) - gl_error ("\n*** Error: getline(): not interactive, use stdio.\n"); + gl_error ("\n*** Error: my_getline(): not interactive, use stdio.\n"); gl_char_init (); gl_init_done = 1; } @@ -422,7 +422,7 @@ } char * -getline (prompt) +my_getline (prompt) char *prompt; { int c, loc, tmp; @@ -634,7 +634,7 @@ int i; if (gl_cnt >= BUF_SIZE - 1) - gl_error ("\n*** Error: getline(): input buffer overflow\n"); + gl_error ("\n*** Error: my_getline(): input buffer overflow\n"); if (gl_overwrite == 0 || gl_pos == gl_cnt) { for (i = gl_cnt; i >= gl_pos; i--) @@ -662,7 +662,7 @@ if (gl_overwrite == 0) { if (gl_cnt + len >= BUF_SIZE - 1) - gl_error ("\n*** Error: getline(): input buffer overflow\n"); + gl_error ("\n*** Error: my_getline(): input buffer overflow\n"); for (i = gl_cnt; i >= gl_pos; i--) gl_buf[i + len] = gl_buf[i]; for (i = 0; i < len; i++) @@ -674,7 +674,7 @@ if (gl_pos + len > gl_cnt) { if (gl_pos + len >= BUF_SIZE - 1) - gl_error ("\n*** Error: getline(): input buffer overflow\n"); + gl_error ("\n*** Error: my_getline(): input buffer overflow\n"); gl_buf[gl_pos + len] = 0; } for (i = 0; i < len; i++) @@ -717,7 +717,7 @@ int loc = gl_width - 5; /* shifts line back to start position */ if (gl_cnt >= BUF_SIZE - 1) - gl_error ("\n*** Error: getline(): input buffer overflow\n"); + gl_error ("\n*** Error: my_getline(): input buffer overflow\n"); if (gl_out_hook) { change = gl_out_hook (gl_buf); @@ -1025,7 +1025,7 @@ char *p = buf; int len; - /* in case we call gl_histadd() before we call getline() */ + /* in case we call gl_histadd() before we call my_getline() */ if (gl_init_done < 0) { /* -1 only on startup */ hist_init (); @@ -1316,7 +1316,7 @@ char *p; echo = (1 == 0); - p = getline (prompt); + p = my_getline (prompt); echo = (1 == 1); return p; only in patch2: unchanged: --- gpstrans-0.41.orig/src/getline/getline.h +++ gpstrans-0.41/src/getline/getline.h @@ -10,7 +10,7 @@ typedef size_t (*gl_strwidth_proc) (char *); -char *getline (char *); /* read a line of input */ +char *my_getline (char *); /* read a line of input */ char *getlinenoecho (char *); /* read a line of input */ void gl_setwidth (int); /* specify width of screen */ void gl_histadd (char *); /* adds entries to hist */ @@ -22,7 +22,7 @@ #else /* not __STDC__ */ -char *getline (); +char *my_getline (); char *getlinenoecho (); void gl_setwidth (); void gl_histadd ();

