Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 149974

Summary: Downloaded patchfiles are dos formated
Product: Gentoo Infrastructure Reporter: Rafael Kolless <rafael>
Component: BugzillaAssignee: Jeffrey Forman (RETIRED) <jforman>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugs.gentoo.org/show_bug.cgi?id=113501
Whiteboard:
Package list:
Runtime testing required: ---

Description Rafael Kolless 2006-10-03 10:24:53 UTC
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
--------------------------------------------------------------------
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-10-03 12:08:15 UTC
We didn't write them, complain to the folk who submitted them on the bug.