$NetBSD: patch-storage_example_CMakeLists.txt,v 1.1 2022/04/17 04:07:14 jnemeth Exp $

Build with newer DTrace.

--- storage/example/CMakeLists.txt.orig	2021-03-26 07:56:01.000000000 +0000
+++ storage/example/CMakeLists.txt
@@ -23,7 +23,9 @@
 SET(EXAMPLE_PLUGIN_DYNAMIC "ha_example")
 SET(EXAMPLE_SOURCES ha_example.cc)
 IF(WITH_EXAMPLE_STORAGE_ENGINE AND NOT WITHOUT_EXAMPLE_STORAGE_ENGINE)
-  MYSQL_ADD_PLUGIN(example ${EXAMPLE_SOURCES} STORAGE_ENGINE DEFAULT)
+  MYSQL_ADD_PLUGIN(example ${EXAMPLE_SOURCES} STORAGE_ENGINE DEFAULT
+                   DTRACE_INSTRUMENTED)
 ELSEIF(NOT WITHOUT_EXAMPLE_STORAGE_ENGINE)
-  MYSQL_ADD_PLUGIN(example ${EXAMPLE_SOURCES} STORAGE_ENGINE MODULE_ONLY)
+  MYSQL_ADD_PLUGIN(example ${EXAMPLE_SOURCES} STORAGE_ENGINE MODULE_ONLY
+                   DTRACE_INSTRUMENTED)
 ENDIF()
