5
Last change
on this file since f93fcef was
f93fcef,
checked in by Martin Erik Werner <martinerikwerner@…>, on 11/17/18 at 15:22:49
|
qemu: Update glib to build on newer gcc
Update the glib version to 2.48.2 in order to fix build failure on newer
gcc[0].
Force internal version of libpcre for glib, since otherwise the build
failed, presumably since libpcre is not provided as a module (maybe it
should?).
Increasing the glib version further to the current latest was not
tested.
[0]
CC libglib_2_0_la-gdate.lo
../../glib-2.39.3/glib/gdate.c: In function 'g_date_strftime':
../../glib-2.39.3/glib/gdate.c:2497:7: error: format not a string literal, format string not checked [-Werror=format-nonliteral]
tmplen = strftime (tmpbuf, tmpbufsize, locale_format, &tm);
~
|
-
Property mode set to
100644
|
File size:
472 bytes
|
Line | |
---|
1 | # |
---|
2 | # GLib |
---|
3 | # |
---|
4 | |
---|
5 | %if %{release} == %{nil} |
---|
6 | %define release 1 |
---|
7 | %endif |
---|
8 | |
---|
9 | %include %{_configdir}/base.cfg |
---|
10 | |
---|
11 | %define glib_version_major 2.48 |
---|
12 | %define glib_version_minor 2 |
---|
13 | %define glib_version %{glib_version_major}.%{glib_version_minor} |
---|
14 | |
---|
15 | %hash sha256 glib-%{glib_version}.tar.xz f25e751589cb1a58826eac24fbd4186cda4518af772806b666a3f91f66e6d3f4 |
---|
16 | |
---|
17 | # |
---|
18 | # The GLib build instructions. We use 2.x.x Release 1. |
---|
19 | # |
---|
20 | %ifn %{pkgconfig check glib-2.0} |
---|
21 | %include %{_configdir}/glib-2-1.cfg |
---|
22 | %endif |
---|
Note: See
TracBrowser
for help on using the repository browser.