[Bug 260885] games/openclonk: Fix build

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 02 Jan 2022 18:11:11 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260885

            Bug ID: 260885
           Summary: games/openclonk: Fix build
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: kevinz5000@gmail.com

Created attachment 230630
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=230630&action=edit
Patch

Due to a recent package update, a header somewhere leaks
HAVE_SYS_INOTIFY_H. This causes a build error with a missing 'fd'
variable because the header file conditionally defines 'fd' depending on
whether or not HAVE_SYS_INOTIFY_H is defined.

Hack around this for now by explicitly #undef'ing HAVE_SYS_INOTIFY_H in
the problem file.

-- 
You are receiving this mail because:
You are the assignee for the bug.