* Carsten Hey [2012-04-29 00:10 +0200]: > This untested but trivial patch fixes synaptic to be able to parse both > output formats by stripping the architecture suffix: > > --- a/common/raptoptions.cc > +++ b/common/raptoptions.cc > @@ -222,8 +222,8 @@ void RAPTOptions::rereadOrphaned() > return; > } > while (fgets(buf, 254, fp) != NULL) { > - //mvo: FIXME this sucks (remove newline at end) > - buf[strlen(buf) - 1] = 0; > + // remove newline at end and strip architecture suffix > + buf[strcspn(buf, "\n:")] = '\0'; > //cout << "buf: " << buf << endl; > setPackageOrphaned(buf, true); > }
I uploaded a multiarch aware deborphan to delayed/8: Source: deborphan Version: 1.7.28.7 Distribution: unstable Delayed-Until: 2012-05-21 22:46:33 This will break synaptic's deborphan integration on multiarch enabled systems. Drop me a mail if you want me to NMU above one line patch. Carsten -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org