Bug 265261 - [New Port] devel/genht: Simple generic hash table implementation in C
Summary: [New Port] devel/genht: Simple generic hash table implementation in C
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Nuno Teixeira
URL: http://www.repo.hu/projects/genht/
Keywords:
Depends on:
Blocks: 265285
  Show dependency treegraph
 
Reported: 2022-07-17 07:39 UTC by Robert Clausecker
Modified: 2022-07-18 07:02 UTC (History)
1 user (show)

See Also:


Attachments
[New Port] devel/genht: Simple generic hash table implementation in C (3.50 KB, patch)
2022-07-17 07:39 UTC, Robert Clausecker
fuz: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Clausecker freebsd_committer freebsd_triage 2022-07-17 07:39:47 UTC
Created attachment 235300 [details]
[New Port] devel/genht: Simple generic hash table implementation in C

genht is a simple generic hash table implementation in C.
Uses open addressing scheme with space doubling.
Type generics is achieved by ugly name prefixing macros.

WWW: http://www.repo.hu/projects/genht/

Portlint and portclippy like the port.
Tested with Poudriere on armv7 arm64 FreeBSD 13.1.
This is a small library used internally in cad/librnd and lang/fungw which is unbundled by means of this port.
Comment 1 Nuno Teixeira freebsd_committer freebsd_triage 2022-07-17 13:23:46 UTC
Hello,

portlint -C
WARN: /usr/home/nunotex/Work/freebsd/ports/devel/genht/pkg-plist: [16]: installing shared libraries, please define USE_LDCONFIG as appropriate
Comment 2 Robert Clausecker freebsd_committer freebsd_triage 2022-07-17 15:30:39 UTC
(In reply to Nuno Teixeira from comment #1)

Hi,

Thank you for raising this issue.  Please add USE_LDCONFIG when you commit the port.
Comment 3 commit-hook freebsd_committer freebsd_triage 2022-07-18 07:01:58 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5cb56fb0db2319dc56d72143729390b5e9977b63

commit 5cb56fb0db2319dc56d72143729390b5e9977b63
Author:     Robert Clausecker <fuz@fuz.su>
AuthorDate: 2022-07-18 06:57:56 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2022-07-18 07:00:24 +0000

    devel/genht: New port: Simple generic hash table implementation in C

     - submiter becomes maintainer

    genht is a simple generic hash table implementation in C.
    Uses open addressing scheme with space doubling.
    Type generics is achieved by ugly name prefixing macros.

    WWW: http://www.repo.hu/projects/genht/

    PR:             265261

 devel/Makefile                             |  1 +
 devel/genht/Makefile (new)                 | 28 ++++++++++++++++++++++++++++
 devel/genht/distinfo (new)                 |  3 +++
 devel/genht/files/patch-src_Makefile (new) | 11 +++++++++++
 devel/genht/pkg-descr (new)                |  5 +++++
 devel/genht/pkg-plist (new)                | 17 +++++++++++++++++
 6 files changed, 65 insertions(+)
Comment 4 Nuno Teixeira freebsd_committer freebsd_triage 2022-07-18 07:02:57 UTC
Committed, thanks!