diff --git a/wireshark.changes b/wireshark.changes index 401623f..a247e99 100644 --- a/wireshark.changes +++ b/wireshark.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Mar 26 15:51:29 UTC 2021 - Dominique Leuenberger + +- Add -DGLIB_VERSION_MIN_REQUIRED=0x024200 to CFLAGS/CXXFLAGS: Work + around glib changes in version 2.67 by fixing API to to 2.42. + ------------------------------------------------------------------- Thu Mar 11 07:40:14 UTC 2021 - Robert Frohl diff --git a/wireshark.spec b/wireshark.spec index 27b5b3d..83deb94 100644 --- a/wireshark.spec +++ b/wireshark.spec @@ -176,6 +176,8 @@ sed -i 's/^Icon=wireshark.png$/Icon=wireshark/' wireshark*.desktop %patch10 -p1 %build +export CFLAGS="%{optflags} -DGLIB_VERSION_MIN_REQUIRED=0x024200" +export CXXFLAGS="%{optflags} -DGLIB_VERSION_MIN_REQUIRED=0x024200" %cmake -DCMAKE_INSTALL_LIBDIR='%{_lib}/' %if 0%{?is_opensuse} %cmake_build