This repository has been archived by the owner. It is now read-only.
Information Technology FreeBSD: [email protected] To Unsubscribe: send mail to [email protected] with 'unsubscribe freebsd-java' in the body of the message. I want it to be simple for users to apply(a simple patch application would be nice). How do I create binary patches? But it failed right away – Vlastimil.
Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upComments
commented Dec 5, 2014
Relevant gist. I can install macvim --HEAD with the current formula. However macvim's HEAD corresponds to Vim 7.4.383. A patch was posted on the macvim mailing list which brings macvim up to vim 7.4.516. This patch applies cleanly when I apply it directly to a fresh clone of macvim's repo: However it fails to apply via Homebrew. I incorporated the patch in the macvim formula like this: And tried to build macvim as before. All bar two of macvim's source files patched successfully; I wasn't able to investigate the two failures further because Homebrew seems to remove the failed build's artifacts and I couldn't figure out how to prevent that (using the --debug flag didn't prevent the removal).Opening this file launches Air Installer to manage your installation process, which may offer additional and optional offers from 3rd party software advertisers. Clicking the Download button will download the setup file to your computer. Java tm 7 update. I'm puzzled that a patch which applies cleanly directly doesn't apply cleanly via Homebrew. Any help would be much appreciated. Thank you! |
commented Dec 5, 2014
Hmmm, that should exist in ~/library/logs/homebrew. |
commented Dec 5, 2014
It worked here. Here is diff between my macvim.rb ('good') and yours ('bad') after adding the patch: https://gist.github.com/jacknagel/ece82b105293055124f7 I'm guessing your editor probably damaged the patch when you pasted it. I typically use something like cat $file >> macvim.rb to append a patch. |
Failed To Apply Patch
commented Dec 6, 2014
I think you are right. Everything worked as expected when I used cat $file >> macvim.rb .Thank you very much. (I haven't seen vim mangle text like that before; I'll have to figure that out next.) |
commented Dec 6, 2014
For the record, this is how I originally pasted the patch into the formula:
Instead step 2 should have been this: :e ++enc=utf-8 patchfile.patch .Here's some more detail: |
locked and limited conversation to collaborators Feb 17, 2016
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.