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
This commit is contained in:
Robert Frohl 2021-03-31 09:39:32 +00:00 committed by Git OBS Bridge
parent 8dacc2c72b
commit f70e4e6be3
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Mar 26 15:51:29 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
- 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 <rfrohl@suse.com>

View File

@ -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