| | 108 | == Applying patches == |
| | 109 | |
| | 110 | You may want to apply patches to a given version of mondo and/or mindi in order to fix an annoying issue. |
| | 111 | Look at SVN through [http://trac.mondorescue.org/browser that] interface. Say that you want to apply [http://trac.mondorescue.org/changeset/1488 revision 1488] |
| | 112 | which was issued after 2.2.3 of mondo to your 2.2.3 version to fix OCFS support. |
| | 113 | |
| | 114 | First save the revision under /tmp as a patch file format (Use the Unified Diff link at the bottom of the changeset page) |
| | 115 | Then use the previous File Rebuild Process paragraph, but before calling make to build the software, apply your previously saved patch by doing |
| | 116 | {{{ |
| | 117 | cd /tmp |
| | 118 | wget ftp://ftp.mondorescue.org/src/mondo-2.2.3.tar.bz2 |
| | 119 | wget "http://trac.mondorescue.org/changeset/1488?format=diff" |
| | 120 | tar xvfj mondo-2.2.3.tar.bz2 |
| | 121 | cd mondo-2.2.3 |
| | 122 | patch -s -p3 < ../1488\?format=diff |
| | 123 | }}} |
| | 124 | |
| | 125 | After that you may have to solve conflicts (due to the fact that as in this case the patch doesn't apply cleanly as other patches in the middle are missing) |
| | 126 | Then again you can use the configure ; make ; make install trilogy. |
| | 127 | |