git: eee2ab640693 - main - Revert "textproc/exempi: Fix build on 16-CURRENT"

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Thu, 11 Sep 2025 15:33:33 UTC
The branch main has been updated by cy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=eee2ab6406934cfed8f9931d05bacf70bb828010

commit eee2ab6406934cfed8f9931d05bacf70bb828010
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2025-09-11 15:32:23 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2025-09-11 15:32:59 +0000

    Revert "textproc/exempi: Fix build on 16-CURRENT"
    
    src d549de769055 has been reverted in 16-CURRENT.
    
    This reverts commit fed06928a23a9331b3f76bd0966f703dd7ba7dcf.
---
 .../exempi/files/patch-source_Host__IO-POSIX.cpp   | 25 ----------------------
 1 file changed, 25 deletions(-)

diff --git a/textproc/exempi/files/patch-source_Host__IO-POSIX.cpp b/textproc/exempi/files/patch-source_Host__IO-POSIX.cpp
deleted file mode 100644
index af8efd93393e..000000000000
--- a/textproc/exempi/files/patch-source_Host__IO-POSIX.cpp
+++ /dev/null
@@ -1,25 +0,0 @@
---- source/Host_IO-POSIX.cpp.orig	2023-12-24 09:37:15.000000000 -0800
-+++ source/Host_IO-POSIX.cpp	2025-09-11 02:22:42.614150000 -0700
-@@ -6,6 +6,8 @@
- // NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms
- // of the Adobe license agreement accompanying it. 
- // =================================================================================================
-+
-+#include <sys/param.h>
- 
- #include "public/include/XMP_Environment.h"	// ! This must be the first include.
- 
-@@ -523,7 +525,13 @@
- 	while ( true ) {
- 		// Ignore all children with names starting in '.'. This covers ., .., .DS_Store, etc.
- 		// ! On AIX readdir_r returns 9 instead of 0 for normal termination.
-+#if defined(__FreeBSD_version) && __FreeBSD_version >= 1600000
-+		int err = 0;
-+		if ((result = readdir ( folder )) == NULL)	// ! Thread-safe form is not thread safe.
-+			err = errno;
-+#else
- 		int err = readdir_r ( folder, childInfo, &result );	// ! Use the thread-safe form.
-+#endif
- 		if ( err == 9 ) return false;	// Tolerable should some other UNIX return 9.
- 		if ( err != 0 ) XMP_Throw ( "Host_IO::GetNextChild, readdir_r failed", kXMPErr_ExternalFailure );
- 		if ( result == 0 ) return false;