Update to dwdiff-2.1.4.

This commit is contained in:
benoit 2020-12-14 07:28:47 +00:00
parent c675de763c
commit 6c9069bde5
3 changed files with 9 additions and 10 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.27 2020/11/01 08:17:23 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.28 2020/12/14 07:28:47 benoit Exp $
COMMENT = word-based diff program
DISTNAME = dwdiff-2.1.3
DISTNAME = dwdiff-2.1.4
CATEGORIES = sysutils textproc
FIX_EXTRACT_PERMISSIONS=Yes

View File

@ -1,2 +1,2 @@
SHA256 (dwdiff-2.1.3.tar.bz2) = IR3b+qLm/MhdXIi1FBxioioT7Q/s/8Iv5t3tB+TPI4I=
SIZE (dwdiff-2.1.3.tar.bz2) = 79862
SHA256 (dwdiff-2.1.4.tar.bz2) = 3xb+xE3LRn1lpCRqQ2KPk3QZlsF3PpMLkMbd4i3Vjgo=
SIZE (dwdiff-2.1.4.tar.bz2) = 79857

View File

@ -1,20 +1,19 @@
$OpenBSD: patch-src_definitions_h,v 1.1 2020/11/01 08:17:23 ajacoutot Exp $
$OpenBSD: patch-src_definitions_h,v 1.2 2020/12/14 07:28:47 benoit Exp $
Unbreak with icu4c >=68.1
Index: src/definitions.h
--- src/definitions.h.orig
+++ src/definitions.h
--- src/definitions.h.orig Sun Dec 13 12:38:01 2020
+++ src/definitions.h Mon Dec 14 08:22:25 2020
@@ -42,14 +42,7 @@
#endif
/*==== Misc definitions ====*/
-/* Define a bool type if not already defined (C++ and C99 do)*/
-#if !(defined(__cplusplus) || (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 19990601L))
-#if !(defined(__cplusplus) || (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L))
-/*@-incondefs@*/
-typedef enum {false, true} bool;
-/*@+incondefs@*/
-#elif defined(__STDC_VERSION__) && __STDC_VERSION__ >= 19990601L
-#elif defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
#include <stdbool.h>
-#endif