[Bug 293344] devel/stb: Update to latest commit and add pkg-config helper

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 21 Feb 2026 17:11:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293344

            Bug ID: 293344
           Summary: devel/stb: Update to latest commit and add pkg-config
                    helper
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: yuri@freebsd.org
          Reporter: diizzy@FreeBSD.org
          Assignee: yuri@freebsd.org
             Flags: maintainer-feedback?(yuri@freebsd.org)

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

* Update to latest commit, October 26 2025
* Switch to using date as version like other repos and following Porters
Handbook's recommendation
* Add pkg-config helper
* Backport various upstream PRs to fix bugs and multiple CVEs
  CVE-2023-45661 , CVE-2023-45662 , CVE-2023-45663 , CVE-2023-45664
  CVE-2023-45666 , CVE-2023-45667 , CVE-2023-45675 , CVE-2023-45681
  CVE-2023-43898
* Patch from upstream PR 1551 is added locally as it doesn't apply cleanly from
submission upstream

Sources:
https://gitlab.alpinelinux.org/alpine/aports/-/tree/master/community/stb
https://src.fedoraproject.org/rpms/stb/tree/rawhide
https://github.com/nothings/stb/pull/1194/
https://github.com/nothings/stb/pull/1195/
https://github.com/nothings/stb/pull/1196/
https://github.com/nothings/stb/pull/1198/
https://github.com/nothings/stb/pull/1236/
https://github.com/nothings/stb/pull/1454/
https://github.com/nothings/stb/pull/1534/
https://github.com/nothings/stb/pull/1539/ - CVE-2023-45661
https://github.com/nothings/stb/pull/1541/ - CVE-2023-45662
https://github.com/nothings/stb/pull/1543/ - CVE-2023-45663
https://github.com/nothings/stb/pull/1545/ - CVE-2023-45664
https://github.com/nothings/stb/pull/1549/ - CVE-2023-45666
https://github.com/nothings/stb/pull/1551/ - CVE-2023-45667
https://github.com/nothings/stb/pull/1553/ - CVE-2023-45675
https://github.com/nothings/stb/pull/1559/ - CVE-2023-45681
https://github.com/nothings/stb/pull/1736/ - CVE-2023-43898
https://github.com/nothings/stb/pull/1862/
https://github.com/nothings/stb/pull/1863/


Compile tested with following consumers on 14.3-RELEASE amd64:
emulators/Ymir
games/reminiscence
games/vvvvvv
graphics/bonzomatic
graphics/hvif-tools
graphics/mandelbulber
math/mlpack
misc/ollama
multimedia/lms
www/lagrange

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