$OpenBSD: patch-elfgcchack_h,v 1.1 2020/07/19 09:03:05 ajacoutot Exp $

Enable internal symbol aliases in order to not perform internal calls to
public interfaces through the plt within libxml.so.

Index: elfgcchack.h
--- elfgcchack.h.orig
+++ elfgcchack.h
@@ -11,7 +11,7 @@
 #ifdef IN_LIBXML
 #ifdef __GNUC__
 #ifdef PIC
-#ifdef __linux__
+#if defined(__linux__) || defined(__OpenBSD__)
 #if (__GNUC__ == 3 && __GNUC_MINOR__ >= 3) || (__GNUC__ > 3)
 
 #include "libxml/c14n.h"
