# HG changeset patch # User Pascal Bellard # Date 1243610223 -7200 # Node ID 9aa71590a0186918f31c726829c9c5b1435d7ce3 # Parent 88767c8c53a3da196e3c27cd2363e4da52a1cfd4 pan: apply debian fix for gcc 4.4.0 diff -r 88767c8c53a3 -r 9aa71590a018 pan/receipt --- a/pan/receipt Fri May 29 11:04:44 2009 +0000 +++ b/pan/receipt Fri May 29 17:17:03 2009 +0200 @@ -15,6 +15,18 @@ compile_rules() { cd $src + # apply debian fix for gcc 4.4.0 + # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504900 + while read file last; do + grep -q 'include ' pan/$file || + sed -i "s/<$last>/<$last>\n#include /" pan/$file + done <