File: no-c89.patch

package info (click to toggle)
cif-api 0.4.2-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,472 kB
  • sloc: ansic: 19,411; lex: 246; makefile: 201; sql: 164; yacc: 115; sh: 37
file content (14 lines) | stat: -rw-r--r-- 514 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: Drop -std=c89 to support UTF-16 string literals from ICU 76.1.
Author: Andrius Merkys <merkys@debian.org>
Forwarded: https://github.com/COMCIFS/cif_api/issues/26
--- a/configure.ac
+++ b/configure.ac
@@ -193,7 +193,7 @@
 # that will at least warn us about code that a C89-compliant compiler might not
 # understand or is permitted to reject.
 AS_CASE([${CC}],
-  [gcc*], [C_STD_FLAGS="-std=c89 -pedantic"],
+  [gcc*], [C_STD_FLAGS="-pedantic"],
           [C_STD_FLAGS=""])
 AC_SUBST([C_STD_FLAGS])