[Bug 203748] [patch] games/foobillard: Fix linking for libGL and no NVIDIA

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Oct 13 18:38:58 UTC 2015


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

            Bug ID: 203748
           Summary: [patch] games/foobillard: Fix linking for libGL and no
                    NVIDIA
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: kennethsalerno at yahoo.com
                CC: thomas at bsdunix.ch
          Keywords: patch
             Flags: maintainer-feedback?(thomas at bsdunix.ch)
                CC: thomas at bsdunix.ch

Created attachment 161993
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=161993&action=edit
Patch to fix linking error in foobillard-3.0a

src/ball.c checks if GL_VERTEX_PROGRAM_NV is defined, which is part of libGL's
/usr/local/include/GL/glex.h by default for some reason even if no NVIDIA
support is installed in the system...

This patch will define what needs to be defined to make ball.c compile but
undef's the GL_VERTEX_PROGRAM_NV part so the missing function
"glProgramParameter4fNV" linking error goes away.

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


More information about the freebsd-ports-bugs mailing list