[packages/pango] - added x32 patch, release 2

qboosh qboosh at pld-linux.org
Fri Dec 3 20:11:02 CET 2021


commit f6b1615ac7d1c1edb07b93a94e61a2c5c1a6bb32
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Dec 3 20:11:30 2021 +0100

    - added x32 patch, release 2

 pango-x32.patch | 11 +++++++++++
 pango.spec      |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/pango.spec b/pango.spec
index 6de0c3c..a22f813 100644
--- a/pango.spec
+++ b/pango.spec
@@ -9,12 +9,13 @@ Summary(pl.UTF-8):	System renderowania międzynarodowego tekstu
 Summary(pt_BR.UTF-8):	Sistema para layout e renderização de texto internacionalizado
 Name:		pango
 Version:	1.50.0
-Release:	1
+Release:	2
 Epoch:		1
 License:	LGPL v2+
 Group:		X11/Libraries
 Source0:	https://download.gnome.org/sources/pango/1.50/%{name}-%{version}.tar.xz
 # Source0-md5:	726a7c7b6faf34006d2b5aa0dd8dc1d5
+Patch0:		%{name}-x32.patch
 URL:		https://pango.gnome.org/
 # cairo-ft cairo-pdf cairo-png cairo-ps cairo-xlib
 BuildRequires:	cairo-devel >= 1.12.10
@@ -166,6 +167,7 @@ pango - przykładowe programy.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %meson build \
diff --git a/pango-x32.patch b/pango-x32.patch
new file mode 100644
index 0000000..a75be86
--- /dev/null
+++ b/pango-x32.patch
@@ -0,0 +1,11 @@
+--- pango-1.50.0/pango/pango-item-private.h.orig	2021-12-03 03:03:01.231547600 +0100
++++ pango-1.50.0/pango/pango-item-private.h	2021-12-03 20:03:59.599824571 +0100
+@@ -40,7 +40,7 @@ G_BEGIN_DECLS
+ 
+ typedef struct _PangoItemPrivate PangoItemPrivate;
+ 
+-#ifdef __x86_64__
++#if defined(__x86_64__) && defined(__LP64__)
+ 
+ struct _PangoItemPrivate
+ {
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/pango.git/commitdiff/f6b1615ac7d1c1edb07b93a94e61a2c5c1a6bb32



More information about the pld-cvs-commit mailing list