[Bug 251609] graphids/sane-epkowa: fails to load because of missing symbol isfdtype

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Dec 5 16:55:07 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251609

            Bug ID: 251609
           Summary: graphids/sane-epkowa: fails to load because of missing
                    symbol isfdtype
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: andy at balholm.com
 Attachment #220283 text/plain
         mime type:

Created attachment 220283
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=220283&action=edit
a patch to remove the Linuxism

The port compiles fine due to C's implicit declaration of missing functions,
but the backend fails to load with a dynamic linker error.

The problem is the Linux-specific function isfdtype. The isfdtype manpage says,
"Portable applications should use fstat(3) instead," so here is a patch that
does that.

This patch is ready to go into the files directory in the port, but I'm not
quite sure how to modify the Makefile to use this patch but not the patches
that are already there but only for version 1.15.

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


More information about the freebsd-ports-bugs mailing list