Include <stdint.h>, required by valgrind.h only on Rawhide.
This commit is contained in:
parent
3286bb7eaf
commit
45af503c31
10
glib-update-valgrind-h-stdint.patch
Normal file
10
glib-update-valgrind-h-stdint.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- ./glib-2.40.0/glib/valgrind.h.old 2014-05-16 09:19:32.211000000 -0400
|
||||
+++ ./glib-2.40.0/glib/valgrind.h 2014-05-16 09:19:50.043000000 -0400
|
||||
@@ -93,6 +93,7 @@
|
||||
|
||||
|
||||
#include <stdarg.h>
|
||||
+#include <stdint.h>
|
||||
|
||||
/* Nb: this file might be included in a file compiled with -ansi. So
|
||||
we can't use C++ style "//" comments nor the "asm" keyword (instead
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
Name: mingw-glib2
|
||||
Version: 2.40.0
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: MinGW Windows GLib2 library
|
||||
|
||||
License: LGPLv2+
|
||||
@ -58,6 +58,7 @@ Patch5: glib-prefer-constructors-over-DllMain.patch
|
||||
# http://bugzilla.gnome.org/show_bug.cgi?id=730198
|
||||
# We can drop this at next glib release.
|
||||
Patch6: glib-update-valgrind-h.patch
|
||||
Patch7: glib-update-valgrind-h-stdint.patch
|
||||
|
||||
|
||||
%description
|
||||
@ -105,6 +106,7 @@ Static version of the MinGW Windows GLib2 library.
|
||||
%patch3 -p0
|
||||
%patch5 -p1
|
||||
%patch6 -p1
|
||||
%patch7 -p2
|
||||
|
||||
|
||||
%build
|
||||
@ -285,8 +287,9 @@ find $RPM_BUILD_ROOT -name "*.la" -delete
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu May 15 2014 Richard W.M. Jones <rjones@redhat.com> - 2.40.0-2
|
||||
* Thu May 15 2014 Richard W.M. Jones <rjones@redhat.com> - 2.40.0-3
|
||||
- Fix valgrind support (RHBZ#1095664, GNOME bug 730198).
|
||||
- Include <stdint.h>, required by valgrind.h only on Rawhide.
|
||||
|
||||
* Sat Mar 29 2014 Kalev Lember <kalevlember@gmail.com> - 2.40.0-1
|
||||
- Update to 2.40.0
|
||||
|
||||
Loading…
Reference in New Issue
Block a user