Skip to content

Comments

patch splat from ports#48

Open
mischief wants to merge 2 commits intohaesbaert:masterfrom
mischief:patch-splat
Open

patch splat from ports#48
mischief wants to merge 2 commits intohaesbaert:masterfrom
mischief:patch-splat

Conversation

@mischief
Copy link
Contributor

this applies all patches from openbsd ports. the differences are mostly imsg api fixes and type declaration changes.

this applies all patches from openbsd ports. the differences are mostly
imsg api fixes and type declaration changes.
@mischief
Copy link
Contributor Author

i'm not sure why @gonzalo- didn't send these, maybe they can chime in.

Copy link
Contributor

@nbriggs nbriggs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At first glance, these (imsg interface changes) look as though they'll break the FreeBSD port. FreeBSD has its own collection of patches which used to be applied against the 0.7 release.

@mischief
Copy link
Contributor Author

At first glance, these (imsg interface changes) look as though they'll break the FreeBSD port. FreeBSD has its own collection of patches which used to be applied against the 0.7 release.

i'm wholly unfamiliar with freebsd, as i only use openbsd, but if i understand correctly, mdnsd is designed for and intended to be run on openbsd. freebsd may need to adjust their patches.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FreeBSD ports had to make this change too.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FreeBSD ports had to make this change too.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FreeBSD ports had to make this change too.

@haesbaert
Copy link
Owner

So I'm fine with img changes, I have to go over them more carefully, but the control struct redefinition I can't make sense of it, neither the typedefs.

Can you churn down this to just the imsg changes? Or am I missing something else?

@haesbaert
Copy link
Owner

i'm not sure why @gonzalo- didn't send these, maybe they can chime in.

he be slacking, doesn't even send me alfajores anymore!

@mischief
Copy link
Contributor Author

So I'm fine with img changes, I have to go over them more carefully, but the control struct redefinition I can't make sense of it, neither the typedefs.

Can you churn down this to just the imsg changes? Or am I missing something else?

ok, fixed up the type changes in my second commit.

the 'missing piece' is that these are fixes for building with -fno-common which became the default in gcc some time ago. see openbsd/ports@dbed198...

@mischief mischief requested a review from haesbaert January 30, 2026 13:21
@haesbaert
Copy link
Owner

So I'm fine with img changes, I have to go over them more carefully, but the control struct redefinition I can't make sense of it, neither the typedefs.
Can you churn down this to just the imsg changes? Or am I missing something else?

ok, fixed up the type changes in my second commit.

the 'missing piece' is that these are fixes for building with -fno-common which became the default in gcc some time ago. see openbsd/ports@dbed198...

Cool, leme get a VM and try this, might take me sometime, but I'll try to do it this weekend, then I can see what works best.

@mischief
Copy link
Contributor Author

Cool, leme get a VM and try this, might take me sometime, but I'll try to do it this weekend, then I can see what works best.

ping. lightly retested on -current, mdnsctl lookup/browse are working as well as _workstation._tcp publishing.

@haesbaert
Copy link
Owner

Cool, leme get a VM and try this, might take me sometime, but I'll try to do it this weekend, then I can see what works best.

ping. lightly retested on -current, mdnsctl lookup/browse are working as well as _workstation._tcp publishing.

Great! I'll merge something similar, I just want to refactor the typedefs and whatnot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants