diff mbox series

[1/1] package/prboom: fix build with autoconf >= 2.72

Message ID 20240224135717.635374-1-fontaine.fabrice@gmail.com
State Accepted
Headers show
Series [1/1] package/prboom: fix build with autoconf >= 2.72 | expand

Commit Message

Fabrice Fontaine Feb. 24, 2024, 1:57 p.m. UTC
Set ac_cv_type_gid_t=yes to avoid the following build failure raised
since bump of autoconf to version 2.72 in commit
524f3536029dace3ce9aa154d3ca4685582e1955:

In file included from i_network.c:37:
../../config.h:207:15: error: two or more data types in declaration specifiers
  207 | #define gid_t int
      |               ^~~

Fixes: 524f3536029dace3ce9aa154d3ca4685582e1955
 - http://autobuild.buildroot.org/results/0d74517129130e6f26dc8c8aacae175ed8bd4b54

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/prboom/prboom.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Peter Korsgaard Feb. 24, 2024, 5:15 p.m. UTC | #1
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > Set ac_cv_type_gid_t=yes to avoid the following build failure raised
 > since bump of autoconf to version 2.72 in commit
 > 524f3536029dace3ce9aa154d3ca4685582e1955:

 > In file included from i_network.c:37:
 > ../../config.h:207:15: error: two or more data types in declaration specifiers
 >   207 | #define gid_t int
 >       |               ^~~

 > Fixes: 524f3536029dace3ce9aa154d3ca4685582e1955
 >  - http://autobuild.buildroot.org/results/0d74517129130e6f26dc8c8aacae175ed8bd4b54

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Committed, thanks.
diff mbox series

Patch

diff --git a/package/prboom/prboom.mk b/package/prboom/prboom.mk
index 36692d29a3..c1ba05ff70 100644
--- a/package/prboom/prboom.mk
+++ b/package/prboom/prboom.mk
@@ -6,7 +6,7 @@ 
 
 PRBOOM_VERSION = 2.5.0
 PRBOOM_SITE = http://downloads.sourceforge.net/project/prboom/prboom%20stable/$(PRBOOM_VERSION)
-PRBOOM_CONF_ENV = ac_cv_type_uid_t=yes
+PRBOOM_CONF_ENV = ac_cv_type_gid_t=yes ac_cv_type_uid_t=yes
 PRBOOM_DEPENDENCIES = sdl sdl_net sdl_mixer
 PRBOOM_LICENSE = GPL-2.0+
 PRBOOM_LICENSE_FILES = COPYING