Anton Gladky pushed to branch master at Debian Med / ball
Commits:
d44275d4 by Anton Gladky at 2026-05-16T22:31:57+02:00
fix(debian): fix FTBFS with modern GLEW cmake config
- - - - -
3 changed files:
- debian/changelog
- + debian/patches/fix-glew-imported-target.patch
- debian/patches/series
Changes:
=====================================
debian/changelog
=====================================
@@ -25,6 +25,7 @@ ball (1.5.0+git20220524.d85d2dd-4) unstable; urgency=medium
-D_FORTIFY_SOURCE=2 reaches the compiler
- debian/salsa-ci.yml: Disable blhc; CMake internal ABI detection
commands trigger false positives that cannot be suppressed cleanly
+ * Fix FTBFS with modern GLEW cmake config:
-- Anton Gladky <[email protected]> Fri, 15 May 2026 09:01:45 +0200
=====================================
debian/patches/fix-glew-imported-target.patch
=====================================
@@ -0,0 +1,18 @@
+Description: Use GLEW::GLEW imported target instead of legacy GLEW_LIBRARIES
variable
+ Modern GLEW cmake config files provide the GLEW::GLEW imported target but do
+ not set the legacy GLEW_LIBRARIES variable, causing CMake to fail with
+ GLEW_LIBRARY-NOTFOUND when linking the VIEW target.
+Author: Anton Gladky <[email protected]>
+Last-Update: 2026-05-16
+---
+--- ball.orig/CMakeLists.txt
++++ ball/CMakeLists.txt
+@@ -562,7 +562,7 @@ ENDIF()
+ IF (BALL_HAS_VIEW)
+ ## TODO: Qt handling!
+ IF(GLEW_FOUND)
+- LIST(APPEND VIEW_DEP_LIBRARIES ${GLEW_LIBRARIES})
++ LIST(APPEND VIEW_DEP_LIBRARIES GLEW::GLEW)
+ ENDIF()
+
+ LIST(APPEND VIEW_DEP_LIBRARIES ${RTFACT_LIBRARIES})
=====================================
debian/patches/series
=====================================
@@ -12,3 +12,4 @@ fix-boost-system.patch
fix-eigen3-version-path.patch
fix-boost-asio-io-context.patch
fix-cxx14-standard.patch
+fix-glew-imported-target.patch
View it on GitLab:
https://salsa.debian.org/med-team/ball/-/commit/d44275d4f6dfece4bee5c6ea251e6926fd3d10d8
--
View it on GitLab:
https://salsa.debian.org/med-team/ball/-/commit/d44275d4f6dfece4bee5c6ea251e6926fd3d10d8
You're receiving this email because of your account on salsa.debian.org. Manage
all notifications: https://salsa.debian.org/-/profile/notifications | Help:
https://salsa.debian.org/help
_______________________________________________
debian-med-commit mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit