diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-12-24 06:30:58 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-12-24 06:30:58 +0000 |
commit | 17e417b73cb3e25edbc6541bd107bc9c593d66bd (patch) | |
tree | 866f98b73f846149d0c9e7e5a1cf0527b7c54e08 /dev-libs/libgnt | |
parent | 338095605b6c9c82690f77f27a32490c9a57bdcb (diff) |
gentoo auto-resync : 24:12:2024 - 06:30:57
Diffstat (limited to 'dev-libs/libgnt')
-rw-r--r-- | dev-libs/libgnt/Manifest | 3 | ||||
-rw-r--r-- | dev-libs/libgnt/files/libgnt-2.14.3-ncurses-opaque.patch | 61 | ||||
-rw-r--r-- | dev-libs/libgnt/libgnt-2.14.3.ebuild | 5 |
3 files changed, 66 insertions, 3 deletions
diff --git a/dev-libs/libgnt/Manifest b/dev-libs/libgnt/Manifest index 660be9be3457..d15f08faeb38 100644 --- a/dev-libs/libgnt/Manifest +++ b/dev-libs/libgnt/Manifest @@ -1,4 +1,5 @@ AUX libgnt-2.14.0-tinfo.patch 567 BLAKE2B 7d9b1c0b520a3f2c3d74d6659a503f554c5b7805f3e5f659bb6e0e58475f74633563d44f6667df64048bdb33437e176cf80a547b33e1939565938752e87325ac SHA512 56ce8dab03e74714ecfe0cb7dd274c5fce996d84793fff5e247ee329b1c5bebf2d933b96cc6fe916dafb4f402269d3b1b8cacda07deff4c149869d509ee5c416 +AUX libgnt-2.14.3-ncurses-opaque.patch 2410 BLAKE2B 02b6de0336519f85a80836654cd280158eca7b40b1a84e0f5c8b74a35719b44e90cec00a02c0deb74cdb42c8838828db161a9aadacefb28baaf9e5f8b21f2093 SHA512 7af56b316f3ece2740e3916fd6fc291918e8a1a9c57049bb53b2f3251c623b82948009e7f4c9f22844ae9b837f182572ae19ae457dfc126232f2a4edf6f27b48 DIST libgnt-2.14.3.tar.xz 106388 BLAKE2B bba785c998e53c75ed9c3b0b4ad1d96d63628a6e2b0ac7abec76a671ddfc0284fd787cd6793433aef83e6b31c6efecce0c656e131ca9b8bf548486de1010e1f9 SHA512 7131834cfe585177865bebf26167de08a04fced3da4e9a072d9b09b3becd1194914757b1a1fc8f129ae6c8fefe3ec1ce0d80d6c50cb624a5698b66ee2e06c6c8 -EBUILD libgnt-2.14.3.ebuild 921 BLAKE2B bb959f94de0e80cf0dd88545bfe4ccaca1ad092ec502a481b0230094e119015dd46e9077b79d0927cb131c54c3672819d413b3e27134e7766b296a72c1c078f7 SHA512 122011639af29e5f370f60b034bac12f97c3dbcd4c83460b45e5b29591813b0b391c7f0728a18e681062e6e5ba7febbe4cd54353f50fab919a39657a69b7537f +EBUILD libgnt-2.14.3.ebuild 969 BLAKE2B e99f1aa0c5c9934a29073e1eb5c653aa4b0de2db6ef19ebe2c2ca5209df10e258960f22cf67708acf22234c4bde9e0f6501267da268888b843b32d83d3a98dad SHA512 9fe593b261e027c24f53894157dca55757b853543a59421c32f336da863c5934b5146541a41e6306dae20de78f3fb4e235507017fbe4d88d53298c2d5f2f4297 MISC metadata.xml 244 BLAKE2B 712aad52336f293671d3f59fd0a8f82b2e1490ece1c499fe2eb163895ba6fd9af4268c23d396de8ee4420139e3b33af18702a1ecaba5ce89e177e2f4bbb0c156 SHA512 63917f78ba2986f9ad72fbd373903d41876d6399e68f4142561dd39f41b82be610937c005579a76ac25e19ec10fb6a4c297e796bfb4ab839e073f68bdf2bfda2 diff --git a/dev-libs/libgnt/files/libgnt-2.14.3-ncurses-opaque.patch b/dev-libs/libgnt/files/libgnt-2.14.3-ncurses-opaque.patch new file mode 100644 index 000000000000..19e4a4d82121 --- /dev/null +++ b/dev-libs/libgnt/files/libgnt-2.14.3-ncurses-opaque.patch @@ -0,0 +1,61 @@ +https://bugs.gentoo.org/928976 +https://src.fedoraproject.org/rpms/libgnt/blob/rawhide/f/libgnt-2.14.1-gcc-14-fix.patch +--- a/gntwm.c ++++ b/gntwm.c +@@ -166,38 +166,40 @@ + int sx, ex, sy, ey, w, y; + cchar_t ch; + PANEL *below = panel; ++ WINDOW *window = panel_window(panel); + +- sx = getbegx(panel->win); +- ex = getmaxx(panel->win) + sx; +- sy = getbegy(panel->win); +- ey = getmaxy(panel->win) + sy; ++ sx = getbegx(window); ++ ex = getmaxx(window) + sx; ++ sy = getbegy(window); ++ ey = getmaxy(window) + sy; + + while ((below = panel_below(below)) != NULL) { +- if (sy > getbegy(below->win) + getmaxy(below->win) || +- ey < getbegy(below->win)) ++ window = panel_window(below); ++ if (sy > getbegy(window) + getmaxy(window) || ++ ey < getbegy(window)) + continue; +- if (sx > getbegx(below->win) + getmaxx(below->win) || +- ex < getbegx(below->win)) ++ if (sx > getbegx(window) + getmaxx(window) || ++ ex < getbegx(window)) + continue; +- for (y = MAX(sy, getbegy(below->win)); y <= MIN(ey, getbegy(below->win) + getmaxy(below->win)); y++) { +- if (mvwin_wch(below->win, y - getbegy(below->win), sx - 1 - getbegx(below->win), &ch) != OK) ++ for (y = MAX(sy, getbegy(window)); y <= MIN(ey, getbegy(window) + getmaxy(window)); y++) { ++ if (mvwin_wch(window, y - getbegy(window), sx - 1 - getbegx(window), &ch) != OK) + goto right; + w = widestringwidth(ch.chars); + if (w > 1 && (ch.attr & 1)) { + ch.chars[0] = ' '; + ch.attr &= ~ A_CHARTEXT; +- mvwadd_wch(below->win, y - getbegy(below->win), sx - 1 - getbegx(below->win), &ch); +- touchline(below->win, y - getbegy(below->win), 1); ++ mvwadd_wch(window, y - getbegy(window), sx - 1 - getbegx(window), &ch); ++ touchline(window, y - getbegy(window), 1); + } + right: +- if (mvwin_wch(below->win, y - getbegy(below->win), ex + 1 - getbegx(below->win), &ch) != OK) ++ if (mvwin_wch(window, y - getbegy(window), ex + 1 - getbegx(window), &ch) != OK) + continue; + w = widestringwidth(ch.chars); + if (w > 1 && !(ch.attr & 1)) { + ch.chars[0] = ' '; + ch.attr &= ~ A_CHARTEXT; +- mvwadd_wch(below->win, y - getbegy(below->win), ex + 1 - getbegx(below->win), &ch); +- touchline(below->win, y - getbegy(below->win), 1); ++ mvwadd_wch(window, y - getbegy(window), ex + 1 - getbegx(window), &ch); ++ touchline(window, y - getbegy(window), 1); + } + } + } + diff --git a/dev-libs/libgnt/libgnt-2.14.3.ebuild b/dev-libs/libgnt/libgnt-2.14.3.ebuild index ed67e5575771..cacf0932823e 100644 --- a/dev-libs/libgnt/libgnt-2.14.3.ebuild +++ b/dev-libs/libgnt/libgnt-2.14.3.ebuild @@ -8,9 +8,9 @@ inherit flag-o-matic meson DESCRIPTION="Pidgin's GLib Ncurses Toolkit" HOMEPAGE="https://keep.imfreedom.org/libgnt/libgnt" SRC_URI="https://downloads.sourceforge.net/pidgin/${P}.tar.xz" + LICENSE="GPL-2" SLOT="0" - KEYWORDS="~alpha amd64 arm arm64 ~loong ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" IUSE="doc" @@ -18,7 +18,7 @@ RDEPEND=" !<net-im/pidgin-2.14.0 dev-libs/glib:2 dev-libs/libxml2 - sys-libs/ncurses:0= + sys-libs/ncurses:= " DEPEND="${RDEPEND}" BDEPEND=" @@ -29,6 +29,7 @@ BDEPEND=" PATCHES=( "${FILESDIR}/${PN}-2.14.0-tinfo.patch" + "${FILESDIR}/${PN}-2.14.3-ncurses-opaque.patch" ) src_configure() { |