commit e19d016f3b031beef39473bebc1cac99bb9dd174
Author: Jakub Bogusz <[email protected]>
Date:   Fri Dec 3 20:12:25 2021 +0100

    - added x32 patch, release 2

 crossmingw32-pango.spec |  4 +++-
 pango-x32.patch         | 11 +++++++++++
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/crossmingw32-pango.spec b/crossmingw32-pango.spec
index 06baa04..3b7768a 100644
--- a/crossmingw32-pango.spec
+++ b/crossmingw32-pango.spec
@@ -3,11 +3,12 @@ Summary(pl.UTF-8):    System renderowania międzynarodowego 
tekstu - wersja skrośn
 %define                realname   pango
 Name:          crossmingw32-%{realname}
 Version:       1.50.0
-Release:       1
+Release:       2
 License:       LGPL v2+
 Group:         Development/Libraries
 Source0:       
https://download.gnome.org/sources/pango/1.50/%{realname}-%{version}.tar.xz
 # Source0-md5: 726a7c7b6faf34006d2b5aa0dd8dc1d5
+Patch0:                pango-x32.patch
 URL:           https://pango.gnome.org/
 # cairo-ft cairo-pdf cairo-png cairo-ps cairo-win32
 BuildRequires: crossmingw32-cairo >= 1.12.10
@@ -103,6 +104,7 @@ Biblioteki DLL pango dla Windows.
 
 %prep
 %setup -q -n %{realname}-%{version}
+%patch0 -p1
 
 # disable unused gi-docgen subproject
 %{__sed} -i -e '/fallback:.*gi-docgen/d' 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/crossmingw32-pango.git/commitdiff/e19d016f3b031beef39473bebc1cac99bb9dd174

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to