From f70e4e6be3efa392bf3091e44c80eb6fe436ba6b53aaf5682add09b956a26f6f Mon Sep 17 00:00:00 2001 From: Robert Frohl Date: Wed, 31 Mar 2021 09:39:32 +0000 Subject: [PATCH] Accepting request 881564 from home:dimstar:Factory - Add -DGLIB_VERSION_MIN_REQUIRED=0x024200 to CFLAGS/CXXFLAGS: Work around glib changes in version 2.67 by fixing API to to 2.42. OBS-URL: https://build.opensuse.org/request/show/881564 OBS-URL: https://build.opensuse.org/package/show/network:utilities/wireshark?expand=0&rev=338 --- wireshark.changes | 6 ++++++ wireshark.spec | 2 ++ 2 files changed, 8 insertions(+) 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