Skip to content

Add support for OpenBSD #454

@mocheryl

Description

@mocheryl

Operating System

  • Windows
  • macOS
  • Linux
  • FreeBSD
  • Android
  • iOS

What feature would you like to be added?

To be able to build this module on OpenBSD.

Why is this needed?

Navidrome now includes this module (indirectly, probably from github.com/gen2brain/webp) and as it isn't supported on OpenBSD I cannot build the latest version on it anymore.

Doing a standalone build of this module throws the following error:

./struct_amd64.go:13:46: undefined: syscallArgs
./struct_amd64.go:307:10: undefined array length callbackMaxFrame or missing type constraint
./struct_amd64.go:333:23: undefined: numOfIntegerRegisters
./struct_amd64.go:333:72: undefined: numOfFloatRegisters
./struct_amd64.go:352:12: undefined: numOfFloatRegisters
./struct_amd64.go:354:12: undefined: numOfFloatRegisters

Building Navidrome with v0.10.0 of this module gives me this:

./struct_amd64.go:12:46: undefined: syscall15Args

It is a similar issue as #249

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions