git: 4d2097aab28a - main - databases/kbibtex: Bump C++ version to C++17
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 25 Jan 2025 17:32:26 UTC
The branch main has been updated by diizzy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=4d2097aab28afa1ecbe4d25f8f40835bf3838bef
commit 4d2097aab28afa1ecbe4d25f8f40835bf3838bef
Author: Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2025-01-25 16:05:22 +0000
Commit: Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2025-01-25 17:30:17 +0000
databases/kbibtex: Bump C++ version to C++17
Backport upstream commit 4d9ce600fdd1deb035a26e4f7922d35b2f41beaf
Fixes build with ICU 76+
Reference:
https://github.com/KDE/kbibtex/commit/4d9ce600fdd1deb035a26e4f7922d35b2f41beaf
PR: 278420
Approved by: portmgr (blanket, build fix)
---
databases/kbibtex/Makefile | 8 ++++++--
databases/kbibtex/distinfo | 4 +++-
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/databases/kbibtex/Makefile b/databases/kbibtex/Makefile
index 7a0d7b2e5c54..73461d8a9350 100644
--- a/databases/kbibtex/Makefile
+++ b/databases/kbibtex/Makefile
@@ -4,6 +4,9 @@ PORTREVISION= 9
CATEGORIES= databases kde
MASTER_SITES= KDE/stable/KBibTeX/${DISTVERSION}
+PATCH_SITES= https://github.com/KDE/kbibtex/commit/
+PATCHFILES= 4d9ce600fdd1deb035a26e4f7922d35b2f41beaf.patch:-p1
+
MAINTAINER= kde@FreeBSD.org
COMMENT= Bibliography editor for KDE
WWW= https://userbase.kde.org/KBibTeX
@@ -15,7 +18,7 @@ LIB_DEPENDS= libicuuc.so:devel/icu \
libpoppler.so:graphics/poppler \
libpoppler-qt5.so:graphics/poppler-qt5
-USES= cmake compiler:c++11-lang desktop-file-utils gettext-tools \
+USES= cmake compiler:c++17-lang desktop-file-utils gettext-tools \
kde:5 pkgconfig qt:5 shared-mime-info tar:xz xorg
USE_KDE= auth bookmarks codecs completion config configwidgets \
coreaddons crash i18n iconthemes itemviews jobwidgets kio \
@@ -28,7 +31,8 @@ USE_QT= concurrent core dbus gui location network networkauth \
USE_XORG= x11
USE_LDCONFIG= yes
-CMAKE_ARGS+= -DKDE_INSTALL_MANDIR:PATH=${PREFIX}/share/man
+CMAKE_OFF= CMAKE_CXX_EXTENSIONS
+CMAKE_ARGS= -DKDE_INSTALL_MANDIR:PATH=${PREFIX}/share/man
OPTIONS_DEFINE= WEBENGINE
OPTIONS_DEFAULT_aarch64= WEBENGINE
diff --git a/databases/kbibtex/distinfo b/databases/kbibtex/distinfo
index 2edaae756cf7..013143a868e2 100644
--- a/databases/kbibtex/distinfo
+++ b/databases/kbibtex/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1681627178
+TIMESTAMP = 1737801777
SHA256 (kbibtex-0.10.0.tar.xz) = b127b240a7cd77c538619dc882a399b3c6ccd77a04428a497af906f14d09b8c4
SIZE (kbibtex-0.10.0.tar.xz) = 3885328
+SHA256 (4d9ce600fdd1deb035a26e4f7922d35b2f41beaf.patch) = d07e245d0480e82c4d6fc989dcfbeb521bb0d367e40f047481d87d7aba28ad6a
+SIZE (4d9ce600fdd1deb035a26e4f7922d35b2f41beaf.patch) = 881