Control: tags -1 + patch On Wed, Oct 04, 2017 at 03:58:59AM +0200, Joost van Baal-Ilić wrote: > > I'm investing some time in working on this issue now.
debdiff attached. _untested_ ! more later. Bye, Joost PS/BTW: This bug did cause https://tracker.debian.org/news/866084: removal from testing/buster. pinfo upstream is maintained by Bas Zoutekouw at g...@github.com:baszoetekouw/pinfo.git ; Debian packaging seems not to be maintained in any VCS. (I've checked github, https://anonscm.debian.org/viewvc/pinfo/ , didn't check sourceforge.) debian/watch is obsolete: still points at sf.net
diff -u pinfo-0.6.9/debian/changelog pinfo-0.6.9/debian/changelog --- pinfo-0.6.9/debian/changelog +++ pinfo-0.6.9/debian/changelog @@ -1,3 +1,16 @@ +pinfo (0.6.9-5.2) unstable; urgency=low + + * NMU + * Get rid of undefined references to inline functions when compiling + with gcc-7 using -Os by first declaring these 3 functions without + using the inline keyword. Thanks Matthias Klose for reporting, + Adrian Bunk for writing a test case and Jakub Jelinek for pointing + the way to a fix in + https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81734#c3. + (Closes: #853613) [06_gcc_7_Os_inline_functions.dpatch] + + -- Joost van Baal-Ilić <joos...@debian.org> Wed, 04 Oct 2017 05:03:34 +0200 + pinfo (0.6.9-5.1) unstable; urgency=low * NMU diff -u pinfo-0.6.9/debian/patches/00list pinfo-0.6.9/debian/patches/00list --- pinfo-0.6.9/debian/patches/00list +++ pinfo-0.6.9/debian/patches/00list @@ -5,0 +6 @@ +06_gcc_7_Os_inline_functions.dpatch only in patch2: unchanged: --- pinfo-0.6.9.orig/debian/patches/06_gcc_7_Os_inline_functions.dpatch +++ pinfo-0.6.9/debian/patches/06_gcc_7_Os_inline_functions.dpatch @@ -0,0 +1,40 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 06_gcc_7_Os_inline_functions.dpatch by Joost van Baal-Ilić <joos...@debian.org> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Get rid of undefined references to inline functions when compiling +## DP: with gcc-7 using -Os by first declaring these 3 functions without +## DP: using the inline keyword. +## DP: Thanks Matthias Klose for reporting, Adrian Bunk for writing a test +## DP: case and Jakub Jelinek for pointing the way to a fix. + +@DPATCH@ + +--- pinfo-0.6.9/src/initializelinks.c 2006-03-15 22:54:56.000000000 +0100 ++++ pinfo-0.6.9/src/initializelinks.c 2017-10-04 04:37:18.782964086 +0200 +@@ -75,6 +75,7 @@ + * checks if an item belongs to tag table. returns 1 on success and 0 on + * failure. It should be optimised... + */ ++extern int exists_in_tag_table(char *item); + inline int + exists_in_tag_table(char *item) + { +--- pinfo-0.6.9/src/filehandling_functions.c 2006-03-16 16:15:02.000000000 +0100 ++++ pinfo-0.6.9/src/filehandling_functions.c 2017-10-04 04:37:59.519976805 +0200 +@@ -551,6 +551,7 @@ + return 1; + } + ++extern void buildcommand(char *dest, char *command, char *filename, const char *tmpfilename); + inline void + buildcommand(char *dest, char *command, char *filename, const char *tmpfilename) + { +@@ -561,6 +562,7 @@ + strcat(dest, tmpfilename); + } + ++extern void builddircommand(char *dest, char *command, char *filename, const char *tmpfilename); + inline void + builddircommand(char *dest, char *command, char *filename, const char *tmpfilename) + {
signature.asc
Description: Digital signature