pangomm: patch for new pango version, missing include

This commit is contained in:
Danny Rawlins 2021-12-25 19:40:15 +11:00
parent d3873aeb40
commit d7933d33a3
3 changed files with 19 additions and 4 deletions

View File

@ -1,5 +1,6 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3+h+wqaCOP1jq57GWa8YBlH+9S9kugOmOSFOr6LAVJqwxsqELoJ/PD1jsevS/nT8nMLXiu6dFmjEc7nBQ78tCwI=
SHA256 (Pkgfile) = c2617f6d5eb57545fa9dfd39510127297b9167b6ec0e6ddd7363e229649610b1
RWSagIOpLGJF3/j+QYmePIGdc6YFalpoWFKyY0WgrzIBvSBEy2g5Lvz4zuTltL1piuKpgxksG4PEcWzqKTTmCWE/QqlcCiSzygM=
SHA256 (Pkgfile) = b5404557b6caf4be95611e15c6a835293cd2e91f4d44437e32e2191d32c7479f
SHA256 (.footprint) = d0102e51dc80e3c33ebd4356adc3aac9b6fdc1bed08bf2d2f8ec57ec496994f6
SHA256 (pangomm-2.42.2.tar.xz) = 1b24c92624ae1275ccb57758175d35f7c39ad3342d8c0b4ba60f0d9849d2d08a
SHA256 (pango.patch) = 9089d4c0ea2900371f3ec2f0641df02de78f1deef3cc773062d7e1f31c4fe660

View File

@ -5,10 +5,13 @@
name=pangomm
version=2.42.2
release=1
source=(https://ftp.gnome.org/pub/GNOME/sources/$name/${version%.*}/$name-$version.tar.xz)
release=2
source=(https://ftp.gnome.org/pub/GNOME/sources/$name/${version%.*}/$name-$version.tar.xz
pango.patch)
build() {
patch -d $name-$version -p1 -i $SRC/pango.patch
meson setup build $name-$version --prefix=/usr \
--buildtype=plain

11
pangomm/pango.patch Normal file
View File

@ -0,0 +1,11 @@
diff -urN pangomm-2.42.2.orig/untracked/pango/pangomm/attrlist.cc pangomm-2.42.2/untracked/pango/pangomm/attrlist.cc
--- pangomm-2.42.2.orig/untracked/pango/pangomm/attrlist.cc 2020-12-13 08:11:13.689664100 -0600
+++ pangomm-2.42.2/untracked/pango/pangomm/attrlist.cc 2021-12-21 13:40:02.471631496 -0600
@@ -6,6 +6,7 @@
#include <pangomm/attrlist.h>
#include <pangomm/private/attrlist_p.h>
+#include <pango-1.0/pango/pango-markup.h>
// -*- c++ -*-
/* $Id: attrlist.ccg,v 1.3 2005/11/22 15:00:17 murrayc Exp $ */