Skip to content

Commit 47c59e8

Browse files
committed
xdialog: Fix building with recent GCC
1 parent c6ac8e1 commit 47c59e8

2 files changed

Lines changed: 17 additions & 0 deletions

File tree

x11/xdialog/distinfo

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ Size (Xdialog-2.3.1.tar.bz2) = 457938 bytes
66
SHA1 (patch-ac) = 785a6e5833617e0602699f8c7810a2db5c3354cf
77
SHA1 (patch-ad) = f5d067838ce6418723fd0e7f658cea4442c88ce5
88
SHA1 (patch-ae) = cc0759387ba3d23d4ef2eddcc46d51705b9a5714
9+
SHA1 (patch-configure) = f28498bde8d4f9cb189a777ef1da5d64072ad001
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
$NetBSD$
2+
3+
Make sure the test for "ANSI C headers" actually conforms to ANSI C.
4+
5+
Fixes build with modern GCC.
6+
7+
--- configure.orig 2026-03-23 10:24:05.009456817 +0000
8+
+++ configure
9+
@@ -5126,6 +5126,7 @@ _ACEOF
10+
cat confdefs.h >>conftest.$ac_ext
11+
cat >>conftest.$ac_ext <<_ACEOF
12+
/* end confdefs.h. */
13+
+#include <stdlib.h>
14+
#include <ctype.h>
15+
#if ((' ' & 0x0FF) == 0x020)
16+
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')

0 commit comments

Comments
 (0)