(10-03-2008 12:32 AM)fbv2 Wrote: The output of the file I will show here:
Quote:
*** configure 2008-10-02 01:04:35.000000000 -0400
--- configure 2008-10-02 19:20:32.000000000 -0400
***************
*** 3637,3643 ****
# For an installed makeinfo, we require it to be from texinfo 4.4 or
# higher, else we use the "missing" dummy.
if ${MAKEINFO} --version \
! | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[4-9]|[5-9])' >/dev/null 2>&1; then
:
else
MAKEINFO="$MISSING makeinfo"
--- 3637,3643 ----
# For an installed makeinfo, we require it to be from texinfo 4.4 or
# higher, else we use the "missing" dummy.
if ${MAKEINFO} --version \
! | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.([4-9]|[1-9][0-9])|[5-9])' >/dev/null 2>&1; then
:
else
MAKEINFO="$MISSING makeinfo"
I then moved the configure.diff file to the toolchain/binutils/2.17 directory, and renamed it configure.patch
I'm stuck at this point. I want to try compile irssi for the PCH, but can't do this as I don't get the toolchain working.
I tried to copy the code into a configure.patch file in my folder, but it says it have wrong format.
I've tried to manually change this to look as the other patch files, but I then get an error saying:
Code:
Applying toolchain/binutils/2.17/configure.patch using plaintext:
missing header for unified diff at line 4 of patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|+++ configure 2008-10-02 01:04:35.000000000 -0400
|--- configure 2008-10-02 19:20:32.000000000 -0400
|***************
--------------------------
File to patch: configure
patching file configure
patch: **** unexpected end of file in patch
Patch failed! Please fix toolchain/binutils/2.17/configure.patch!
make: *** [/home/popcorn/smp86xx_toolchain.20080505/toolchain_build_mipsel_nofpu/binutils-2.17/.patched] Error 1
My new configure.patch looks like this:
Code:
+++ configure 2008-10-02 01:04:35.000000000 -0400
--- configure 2008-10-02 19:20:32.000000000 -0400
***************
@@ -3637,3643 +3637,3643 @@
+# For an installed makeinfo, we require it to be from texinfo 4.4 or
+# higher, else we use the "missing" dummy.
+if ${MAKEINFO} --version \
+! | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[4-9]|[5-9])' >/dev/null 2>&1; then
+:
+else
+MAKEINFO="$MISSING makeinfo"
-# For an installed makeinfo, we require it to be from texinfo 4.4 or
-# higher, else we use the "missing" dummy.
-if ${MAKEINFO} --version \
-! | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.([4-9]|[1-9][0-9])|[5-9])' >/dev/null 2>&1; then
-:
-else
-MAKEINFO="$MISSING makeinfo"
Could anyone help me out?