libexecinfo is in base now; no need to patch it out.

This commit is contained in:
ajacoutot 2021-06-10 12:44:28 +00:00
parent a764f41077
commit cf0747bd2f

View File

@ -1,25 +0,0 @@
$OpenBSD: patch-testsuite_reftests_gtk-reftest_c,v 1.6 2021/03/31 13:42:46 ajacoutot Exp $
Don't enforce dependency on libexecinfo.
Index: testsuite/reftests/gtk-reftest.c
--- testsuite/reftests/gtk-reftest.c.orig
+++ testsuite/reftests/gtk-reftest.c
@@ -24,7 +24,7 @@
#include "reftest-module.h"
#include "reftest-snapshot.h"
-#ifndef G_OS_WIN32
+#if !defined G_OS_WIN32 && !defined __OpenBSD__
#include <execinfo.h>
#endif
#include <string.h>
@@ -410,7 +410,7 @@ log_writer (GLogLevelFlags log_level,
gsize n_fields,
gpointer user_data)
{
-#ifndef G_OS_WIN32
+#if !defined G_OS_WIN32 && !defined __OpenBSD__
if (log_level & G_LOG_LEVEL_CRITICAL)
{
void *buffer[1024];