]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
build: Take the mem-hash-map module from Gnulib now, part 2.
authorBruno Haible <bruno@clisp.org>
Wed, 30 Apr 2025 14:43:06 +0000 (16:43 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 30 Apr 2025 14:43:48 +0000 (16:43 +0200)
* autogen.sh (GNULIB_MODULES_TOOLS_FOR_SRC): Add next-prime.
* gettext-tools/src/write-mo.c: Include next-prime.h.
* gettext-tools/src/write-qt.c: Likewise.

autogen.sh
gettext-tools/src/write-mo.c
gettext-tools/src/write-qt.c

index 637b10d5bf697ec3281574b41c0d702d4164c97c..da1221afad91a59ffbd6aac5b08c4939d5a9e32f 100755 (executable)
@@ -218,6 +218,7 @@ if ! $skip_gnulib; then
     memset
     minmax
     mkdir
+    next-prime
     noreturn
     obstack
     open
index 73e6a9ea761b34bdff59d9e949ed1410e855c020..390deaff3d0ded927949014b7ca771175ca5ff71 100644 (file)
@@ -1,5 +1,5 @@
 /* Writing binary .mo files.
-   Copyright (C) 1995-2024 Free Software Foundation, Inc.
+   Copyright (C) 1995-2025 Free Software Foundation, Inc.
    Written by Ulrich Drepper <drepper@gnu.ai.mit.edu>, April 1995.
 
    This program is free software: you can redistribute it and/or modify
@@ -42,6 +42,7 @@
 #include "mem-hash-map.h"
 #include "message.h"
 #include "format.h"
+#include "next-prime.h"
 #include "xsize.h"
 #include "xalloc.h"
 #include "xmalloca.h"
index 5326c3fbee845a1f4443c551ac4714eac08a5d54..7065251969bb42c6c4d2309566704fa19f2c197c 100644 (file)
@@ -1,5 +1,5 @@
 /* Writing Qt .qm files.
-   Copyright (C) 2003-2024 Free Software Foundation, Inc.
+   Copyright (C) 2003-2025 Free Software Foundation, Inc.
    Written by Bruno Haible <bruno@clisp.org>, 2003.
 
    This program is free software: you can redistribute it and/or modify
@@ -33,6 +33,7 @@
 #include "attribute.h"
 #include "xerror.h"
 #include "message.h"
+#include "next-prime.h"
 #include "po-charset.h"
 #include "msgl-iconv.h"
 #include "xerror-handler.h"