Package Details: hexcurse 1.60.0-1

Git Clone URL: https://aur.archlinux.org/hexcurse.git (read-only, click to copy)
Package Base: hexcurse
Description: Versatile ncurses-based hex editor.
Upstream URL: https://github.com/LonnyGomes/hexcurse
Licenses: GPL
Submitter: keenerd
Maintainer: uffe
Last Packager: uffe
Votes: 11
Popularity: 0.028220
First Submitted: 2015-08-09 14:31 (UTC)
Last Updated: 2022-07-20 21:18 (UTC)

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

bartus commented on 2021-07-07 05:33 (UTC)

Instead of trying to oversmart the GCC better just turn off warnings as errors ¯_(ツ)_/¯ http://ix.io/3sbK/diff

Apply with git am -s < <(curl -s http://ix.io/3sbK)

exor commented on 2020-02-14 14:58 (UTC)

I submitted a new aur package "hexcurse-git" which patches the files to avoid the stringop errors.

sanerb commented on 2019-12-04 04:33 (UTC)

seems it no longer wants to build (presumably with newer ncurses versions):

(...)
In file included from /usr/include/string.h:494,
                 from ../include/hex.h:26,
                 from acceptch.c:19:
In function ‘strncat’,
    inlined from ‘wacceptch’ at acceptch.c:462:4:
/usr/include/bits/string_fortified.h:136:10: error: ‘__builtin___strncat_chk’ output truncated before terminating nul copying as many bytes from a string as its length [-Werror=stringop-truncation]
  136 |   return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
acceptch.c: In function ‘wacceptch’:
acceptch.c:461:11: note: length computed here
  461 |       if (strlen(temp) <= 10)
      |           ^~~~~~~~~~~~
In file included from /usr/include/string.h:494,
                 from ../include/hex.h:26,
                 from acceptch.c:19:
In function ‘strncpy’,
    inlined from ‘wacceptch’ at acceptch.c:501:7:
/usr/include/bits/string_fortified.h:106:10: error: ‘__builtin___strncpy_chk’ specified bound depends on the length of the source argument [-Werror=stringop-overflow=]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
acceptch.c: In function ‘wacceptch’:
acceptch.c:501:30: note: length computed here
  501 |       strncpy(temp, tmpstr, (strlen(tmpstr) > 80)
      |                              ^~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[2]: *** [Makefile:359: acceptch.o] Error 1
make[2]: Leaving directory '/tmp/pkg/hexcurse/src/hexcurse-1.60.0/src'
make[1]: *** [Makefile:362: all-recursive] Error 1
make[1]: Leaving directory '/tmp/pkg/hexcurse/src/hexcurse-1.60.0'
make: *** [Makefile:303: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

NonerKao commented on 2015-11-18 13:47 (UTC) (edited on 2015-11-18 13:50 (UTC) by NonerKao)

It is no need to keep the patch for alloca(). Those code has been modified in the mainstream. BTW, version 1.60 has just been released.

uffe commented on 2015-09-02 19:33 (UTC)

The original hexcurse authors have revived hexcurse - now actively maintaining it at github: https://github.com/LonnyGomes/hexcurse