[arch-commits] Commit in hexchat/trunk (0001-python-cffi.patch PKGBUILD)

Christian Hesse eworm at gemini.archlinux.org
Thu Jul 15 21:35:31 UTC 2021


    Date: Thursday, July 15, 2021 @ 21:35:30
  Author: eworm
Revision: 977460

upgpkg: hexchat 2.14.3-9: fix off-by-one in python-cffi (FS#71506)

https://github.com/hexchat/hexchat/commit/734d888210dc2863fbcd37c408102460476623bb

Modified:
  hexchat/trunk/0001-python-cffi.patch
  hexchat/trunk/PKGBUILD

------------------------+
 0001-python-cffi.patch |    2 +-
 PKGBUILD               |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

Modified: 0001-python-cffi.patch
===================================================================
--- 0001-python-cffi.patch	2021-07-15 21:17:11 UTC (rev 977459)
+++ 0001-python-cffi.patch	2021-07-15 21:35:30 UTC (rev 977460)
@@ -3616,7 +3616,7 @@
 +
 +# There can be empty entries between non-empty ones so find the actual last value
 +def wordlist_len(words):
-+    for i in range(31, 1, -1):
++    for i in range(31, 0, -1):
 +        if ffi.string(words[i]):
 +            return i
 +

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-07-15 21:17:11 UTC (rev 977459)
+++ PKGBUILD	2021-07-15 21:35:30 UTC (rev 977460)
@@ -3,7 +3,7 @@
 
 pkgname=hexchat
 pkgver=2.14.3
-pkgrel=8
+pkgrel=9
 pkgdesc='A popular and easy to use graphical IRC (chat) client'
 arch=('x86_64')
 url='https://hexchat.github.io/'
@@ -22,7 +22,7 @@
         '0003-Use-pango_font_metrics_get_height-to-calculate-font-height.patch'
         '0004-fix_segfault_on_lua_pop_with_Lua_5.4.3.patch')
 sha256sums=('SKIP'
-            '92af0d106627c9b9716036ce81f697de35f37b4ba2e7bd34244824520e485bba'
+            '35067ddd80f982a7ffe029533a2a27faeb2c2272822451ddc91052a2c96276a0'
             '8d17ce657e744272815b5fb33d8ad959f79ece3294349637eaadcf86d90496fa'
             '691f344479a8b1186008516f0ebe7e3d482059cd297f58573634fa5a58f3d0ca'
             'a8d6917deec758b3a822471316f0bd7819d3661ef6f657c52953711227a2cbe6')




More information about the arch-commits mailing list