mirror of
https://git.freebsd.org/ports.git
synced 2025-06-04 04:16:27 -04:00
Additional port changes: * Replaced with DISTVERSION * Removed INSTALLS_ICONS (not a gtk app) * Added the patch with the workaround for the build failure Approved by: tcberner (mentor, implicit)
11 lines
503 B
C++
11 lines
503 B
C++
--- src/ytregions.cpp.orig 2018-02-16 08:18:19 UTC
|
|
+++ src/ytregions.cpp
|
|
@@ -84,7 +84,7 @@ YTRegion YTRegions::r(const QString &nam
|
|
}
|
|
|
|
const YTRegion &YTRegions::localRegion() {
|
|
- static const YTRegion region = [] {
|
|
+ static const YTRegion region = []() -> const YTRegion { // workaround for https://github.com/flaviotordini/minitube/issues/99
|
|
QString country = QLocale::system().name().right(2);
|
|
for (const YTRegion &r : list()) {
|
|
if (r.id == country) return r;
|