Re: git: e08c03392ac3 - main - textproc/hs-pandoc: Update 3.11 => 3.12

From: Dima Panov <fluffy_at_FreeBSD.org>
Date: Tue, 29 Sep 2026 22:34:04 UTC
It is broken at least on -current

Module crypton-2.0.1 have missed #include <sys/types.h> for u_int32_t:


In file included from cbits/crypton_f2m.c:101:0: error:
In file included from /usr/include/machine/elf.h:38:0: error:
In file included from /usr/include/sys/elf32.h:32:0: error:
/usr/include/sys/elf_common.h:49:2: error:
      error: unknown type name 'u_int32_t'
        49 |         u_int32_t       n_namesz;       /* Length of name. */
           |         ^


Fix:

--- _cabal_deps/crypton-2.0.1/cbits/crypton_f2m.c.orig  2001-09-09 01:46:40 UTC
+++ _cabal_deps/crypton-2.0.1/cbits/crypton_f2m.c
@@ -24,6 +24,7 @@
  #include <stdint.h>
  #include <stdlib.h>
  #include <string.h>
+#include <sys/types.h>
  #include <crypton_cpu.h>
  #include <crypton_f2m.h>

On 29.09.2026 20:33, Älven wrote:
> The branch main has been updated by alven:
> 
> URL: https://cgit.FreeBSD.org/ports/commit/?id=e08c03392ac38f954fbd0550b5d2fdfaa167bacd
> 
> commit e08c03392ac38f954fbd0550b5d2fdfaa167bacd
> Author:     Älven <alven@FreeBSD.org>
> AuthorDate: 2026-09-29 16:16:56 +0000
> Commit:     Älven <alven@FreeBSD.org>
> CommitDate: 2026-09-29 17:32:02 +0000
> 
>      textproc/hs-pandoc: Update 3.11 => 3.12
>      
>      Approved by:            haskell@ (alven@)
> ---
>   textproc/hs-pandoc/Makefile       |   8 +-
>   textproc/hs-pandoc/Makefile.cabal | 106 +++++++++++------
>   textproc/hs-pandoc/distinfo       | 236 ++++++++++++++++++++++++++++----------
>   textproc/hs-pandoc/pkg-descr      |   2 +-
>   4 files changed, 253 insertions(+), 99 deletions(-)
> 



-- 
Sincerely,
Dima (fluffy@FreeBSD.org, https://t.me/FluffyBSD, @fluffy:matrix-dev.freebsd.org)
(desktop, kde, x11, office, ports-secteam)@FreeBSD team