When you download the patchfile portage-cxx.patch it is saved in DOS/MAC format and not unix format. The patching fails if it is not converted with dos2unix. Is this a normal behavior? --------------------------------------------------------------------- --- src/Makefile.rules.orig 2006-07-27 10:22:28.000000000 +0200 +++ src/Makefile.rules 2006-07-28 17:17:46.744884888 +0200 @@ -5,8 +5,7 @@ $(DEPTH)/Makefile.os^M # Gentoo users do want to see the real compile line.^M # So remove the next line and remove the '@' in the line after.^M - @echo $(CXX) -c $<^M - @$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDE) $(DEPGEN_FLAGS) -o $@ -c $<^M + $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDE) $(DEPGEN_FLAGS) -o $@ -c $<^M ^M -include $(OBJECTS:.o=.d)^M ^M --------------------------------------------------------------------
We didn't write them, complain to the folk who submitted them on the bug.