Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

bgpq3 0.1.19 #22179

Closed
wants to merge 4 commits into from
Closed

bgpq3 0.1.19 #22179

wants to merge 4 commits into from

Conversation

job
Copy link
Contributor

@job job commented Aug 28, 2013

Contains a small patch for the Makefile.in file to ensure bgpq3 is installed as $prefix/bin/bgpq3 instead of being installed as $prefix/bin. The patch has been submitted upstream but unsure when they will incorporate.

@adamv
Copy link
Contributor

adamv commented Aug 28, 2013

Please give a link to the upstream patch or bug, thanks.

@mistydemeo
Copy link
Member

The audit is finding a top-level man directory - can you pass --mandir= to the configure script so the manpages go in the right location?

@job
Copy link
Contributor Author

job commented Aug 28, 2013

The upstream maintains a small static website with no bugtracker, I've communicated successfully with the author in the past through email.

I expect the author will incorporate the patch in the next release, if he does so I will update the formula accordingly and remove the patch.

@mistydemeo
Copy link
Member

Can you just add a comment above the patch to the effect that it's been reported by email and will likely be fixed in the next release?

@mistydemeo
Copy link
Member

Sorry, missed that you already had.

@job
Copy link
Contributor Author

job commented Aug 28, 2013

I might not fully understand how these in file patches work, when i try 'brew install --verbose --debug bgpq3.rb' on my local branch, it rejects the patch:

==> Patching
patching file Makefile.in
Hunk #1 FAILED at 29.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.in.rej
Error: Failure while executing: /usr/bin/patch -f -p1 -i 000-homebrew.diff

But after END I've copy pasted the same contents from a test.patch file which does apply cleanly.

@mistydemeo
Copy link
Member

@adamv I notice this fairly frequently but haven't dug into what the cause is. Line endings, something else?

@adamv
Copy link
Contributor

adamv commented Aug 28, 2013

Possibly line-endings.

@job
Copy link
Contributor Author

job commented Aug 28, 2013

Found it, tabs in the original file, spaces in my patch.. :-)

@adamv
Copy link
Contributor

adamv commented Aug 28, 2013

GitHub diffs ought to show tabs with a special character

@adamv adamv closed this in 6e7f50d Sep 24, 2013
@adamv
Copy link
Contributor

adamv commented Sep 24, 2013

Pulled, sorry for the delay.

handyman5 pushed a commit to handyman5/homebrew that referenced this pull request Oct 7, 2013
Closes Homebrew#22179.

Signed-off-by: Adam Vandenberg <[email protected]>
@Homebrew Homebrew locked and limited conversation to collaborators Feb 17, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants