public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Matthias Clasen <mclasen@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/glib2] cve-2026-58016-f44: fix inline support
Date: Tue, 11 Aug 2026 10:33:41 GMT [thread overview]
Message-ID: <178644442108.1.16729138031587175152.rpms-glib2-5b0f62589048@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/glib2
Branch : cve-2026-58016-f44
Commit : 5b0f62589048de37274c41887a609fd7bc476db2
Author : Matthias Clasen <mclasen@fedoraproject.org>
Date : 2008-03-03T14:48:18+00:00
Stats : +23/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/glib2/c/5b0f62589048de37274c41887a609fd7bc476db2?branch=cve-2026-58016-f44
Log:
fix inline support
---
diff --git a/glib2.spec b/glib2.spec
index b567d37..8e348a0 100644
--- a/glib2.spec
+++ b/glib2.spec
@@ -3,7 +3,7 @@
Summary: A library of handy utility functions
Name: glib2
Version: 2.15.6
-Release: 1%{?dist}
+Release: 2%{?dist}
License: LGPLv2+
Group: System Environment/Libraries
URL: http://www.gtk.org
@@ -18,6 +18,8 @@ BuildRequires: libattr-devel
BuildRequires: libselinux-devel
# for sys/inotify.h
BuildRequires: glibc-devel
+# fixed in upstream svn
+Patch0: inline.patch
%description
@@ -51,6 +53,7 @@ of version 2 of the GLib library.
%prep
%setup -q -n glib-%{version}
+%patch0 -p1 -b .inline
%build
%configure --disable-gtk-doc --enable-static
@@ -123,6 +126,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/lib*.a
%changelog
+* Mon Mar 3 2008 Matthias Clasen <mclasen@redhat.com> - 2.15.6-2
+- Fix inline support
+
* Mon Feb 25 2008 Matthias Clasen <mclasen@redhat.com> - 2.15.6-1
- Update to 2.15.6
diff --git a/inline.patch b/inline.patch
new file mode 100644
index 0000000..638a95c
--- /dev/null
+++ b/inline.patch
@@ -0,0 +1,16 @@
+diff -up glib-2.15.6/glib/gutils.h.inline glib-2.15.6/glib/gutils.h
+--- glib-2.15.6/glib/gutils.h.inline 2008-03-03 09:46:44.000000000 -0500
++++ glib-2.15.6/glib/gutils.h 2008-03-03 09:46:52.000000000 -0500
+@@ -97,7 +97,11 @@ G_BEGIN_DECLS
+ # define G_INLINE_FUNC
+ # undef G_CAN_INLINE
+ #elif defined (__GNUC__)
+-# define G_INLINE_FUNC static __inline __attribute__ ((unused))
++# ifdef __GNUC_STDC_INLINE__
++# define G_INLINE_FUNC extern inline __attribute__ ((__gnu_inline__))
++# else
++# define G_INLINE_FUNC extern inline
++# endif
+ #elif defined (G_CAN_INLINE)
+ # define G_INLINE_FUNC static inline
+ #else /* can't inline */
reply other threads:[~2026-08-11 10:33 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178644442108.1.16729138031587175152.rpms-glib2-5b0f62589048@fedoraproject.org \
--to=mclasen@fedoraproject.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox