Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

patch: OpenBSD #4

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

patch: OpenBSD #4

wants to merge 4 commits into from

Conversation

icyphox
Copy link

@icyphox icyphox commented Aug 14, 2020

Description

Allows building on OpenBSD.

Original comment:
OpenBSD uses a different path for X11 (and related) libs. And the default gcc is like 4.2 (from 2007!) -- egcc is a newer version.

Download

https://patch-diff.githubusercontent.com/raw/dudik/herbe/pull/4.diff

OpenBSD uses a different path for X11 (and related) libs. And the
default gcc is like 4.2 (from 2007!) -- egcc is a newer version.
@OleStrohm
Copy link

OleStrohm commented Aug 14, 2020

I'm not going to comment on the patch system you're essentially proposing, but regardless, your PR should not include the patch already applied in the makefile.

@icyphox
Copy link
Author

icyphox commented Aug 14, 2020 via email

@dudik
Copy link
Owner

dudik commented Aug 23, 2020

Hello. Sorry for the incredible late response. I didn't answer because I knew I wanted to make some changes to the makefile, but I kept delaying it. Sorry. I finally made the changes and your patch is now outdated, but it's still a one-liner. I tested it myself on a virtual machine.

CFLAGS = -Wall -Wextra -pedantic -I/usr/X11R6/include -L/usr/X11R6/lib -lX11 -lXft -I/usr/X11R6/include/freetype2 -pthread

My question is, what do you think about about dylans way of patching? I'm also not quite sure if it's possible to somehow update this PR to the latest version or we have to close it and create a new one? I'm still kind of new to these things.
Thank you.

@icyphox
Copy link
Author

icyphox commented Aug 25, 2020

Hey @dudik, no worries. Yeah, I quite like Dylan's approach to patching. Works for me.

And yes, this PR can be updated (even by you!) by pushing to https://github.com/icyphox/herbe at the fix-build-openbsd branch.

@dudik dudik added the patch This pull request is a patch label Sep 1, 2020
@dudik dudik changed the title Add patch to fix build on OpenBSD patch: OpenBSD Sep 1, 2020
@N-R-K N-R-K mentioned this pull request Mar 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch This pull request is a patch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants