$OpenBSD: patch-src_python_py_oiio_h,v 1.1 2021/08/31 07:31:14 ajacoutot Exp $

From 05a5448c3ec8c75d7e859099315c452e39729a9b Mon Sep 17 00:00:00 2001
From: Larry Gritz <lg@larrygritz.com>
Date: Tue, 8 Jun 2021 18:56:31 -0700
Subject: [PATCH] Fix to accommodate changed preprocessor name in imath master. (#2996)

Index: src/python/py_oiio.h
--- src/python/py_oiio.h.orig
+++ src/python/py_oiio.h
@@ -597,9 +597,7 @@ case TypeDesc::TYPE:                                  
         ParamValue_convert_dispatch(INT);
         // ParamValue_convert_dispatch(ULONGLONG);
         // ParamValue_convert_dispatch(LONGLONG);
-#ifdef _HALF_H_
         ParamValue_convert_dispatch(HALF);
-#endif
         ParamValue_convert_dispatch(FLOAT);
         ParamValue_convert_dispatch(DOUBLE);
     case TypeDesc::STRING:
