mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
community/gtk-murrine-engine: fix build with gcc 14
This commit is contained in:
parent
59fb90bdc5
commit
2007589846
@ -2,13 +2,14 @@
|
||||
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
||||
pkgname=gtk-murrine-engine
|
||||
pkgver=0.98.2
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
pkgdesc="cairo-based gtk engine"
|
||||
url="http://www.cimitan.com/murrine/"
|
||||
arch="all"
|
||||
license="LGPL-3.0-or-later"
|
||||
makedepends="gtk+2.0-dev cairo-dev intltool"
|
||||
source="https://download.gnome.org/sources/murrine/${pkgver%.*}/murrine-$pkgver.tar.xz"
|
||||
source="https://download.gnome.org/sources/murrine/${pkgver%.*}/murrine-$pkgver.tar.xz
|
||||
add-missing-function-declarations.patch"
|
||||
|
||||
builddir="$srcdir/murrine-$pkgver"
|
||||
|
||||
@ -33,4 +34,5 @@ package() {
|
||||
|
||||
sha512sums="
|
||||
5ed6b499b957c33d301c7ac508937517e8f9753fabb84e0cf977f67b10b09968cee5a10bdeae64a05f64606b5769e7313ededbb3b0c3ae9f78e34f893aa96667 murrine-0.98.2.tar.xz
|
||||
fb0b73540371ff60346f73327ff0255fed7cc3f35c372126cc1ff9f51500e71d8ecc28131f5e46fa99f51e524addf87ec2e124706644c62c837c6747996080a9 add-missing-function-declarations.patch
|
||||
"
|
||||
|
@ -0,0 +1,34 @@
|
||||
Source: https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1964644.html
|
||||
|
||||
Description: Add declarations for functions to fix implicit function
|
||||
declaration errors.
|
||||
Author: Peter Michael Green <plugw...@debian.org>
|
||||
---
|
||||
--- gtk2-engines-murrine-0.98.2.orig/src/murrine_rc_style.h
|
||||
+++ gtk2-engines-murrine-0.98.2/src/murrine_rc_style.h
|
||||
@@ -155,4 +155,6 @@ struct _MurrineRcStyleClass
|
||||
|
||||
GType murrine_rc_style_get_type (void);
|
||||
|
||||
+void murrine_rc_style_register_types (GTypeModule *module);
|
||||
+
|
||||
#endif /* MURRINE_RC_STYLE_H */
|
||||
--- gtk2-engines-murrine-0.98.2.orig/src/murrine_style.h
|
||||
+++ gtk2-engines-murrine-0.98.2/src/murrine_style.h
|
||||
@@ -102,5 +102,6 @@ struct _MurrineStyleClass
|
||||
};
|
||||
|
||||
GType murrine_style_get_type (void);
|
||||
+void murrine_style_register_types (GTypeModule *module);
|
||||
|
||||
#endif /* MURRINE_STYLE_H */
|
||||
--- gtk2-engines-murrine-0.98.2.orig/src/support.h
|
||||
+++ gtk2-engines-murrine-0.98.2/src/support.h
|
||||
@@ -149,4 +149,7 @@ G_GNUC_INTERNAL void murrine_get_noteboo
|
||||
gboolean *start,
|
||||
gboolean *end);
|
||||
|
||||
+gboolean murrine_object_is_a (const GObject * object, const gchar * type_name);
|
||||
+gboolean murrine_widget_is_ltr (GtkWidget *widget);
|
||||
+
|
||||
#endif /* SUPPORT_H */
|
Loading…
Reference in New Issue
Block a user