diff --git a/packages/dev-db/wxsqlite3/files/wxsqlite3-3.3.1-respect-includedir.patch b/packages/dev-db/wxsqlite3/files/wxsqlite3-3.3.1-respect-includedir.patch new file mode 100644 index 00000000..62263f14 --- /dev/null +++ b/packages/dev-db/wxsqlite3/files/wxsqlite3-3.3.1-respect-includedir.patch @@ -0,0 +1,82 @@ +From 4674332a4edfa415cda74acbbe6552eaa938d966 Mon Sep 17 00:00:00 2001 +From: Julian Ospald +Date: Sat, 14 May 2016 13:07:04 +0200 +Subject: [PATCH] MAKE: respect --includedir configure flag + +bakefile is a completely broken build system, this is the +'cleanest' solution I could come up with. + +Upstream: no, in discussion https://github.com/utelle/wxsqlite3/issues/3 +--- + build/wxsqlite3.bkl | 8 ++++---- + wx | 1 + + wxcode/bakefiles/presets/defaults.bkl | 2 +- + wxcode/bakefiles/presets/templates.bkl | 4 ++-- + 4 files changed, 8 insertions(+), 7 deletions(-) + create mode 120000 wx + +diff --git a/build/wxsqlite3.bkl b/build/wxsqlite3.bkl +index 7d0f380..92d4b94 100644 +--- a/build/wxsqlite3.bkl ++++ b/build/wxsqlite3.bkl +@@ -22,10 +22,10 @@ + + + +- include/wx/wxsqlite3def.h +- include/wx/wxsqlite3.h +- include/wx/wxsqlite3dyn.h +- include/wx/wxsqlite3opt.h ++ wx/wxsqlite3def.h ++ wx/wxsqlite3.h ++ wx/wxsqlite3dyn.h ++ wx/wxsqlite3opt.h + + + 0 +diff --git a/wx b/wx +new file mode 120000 +index 0000000..b00f3db +--- /dev/null ++++ b/wx +@@ -0,0 +1 @@ ++include/wx +\ No newline at end of file +diff --git a/wxcode/bakefiles/presets/defaults.bkl b/wxcode/bakefiles/presets/defaults.bkl +index f653bad..37ab793 100644 +--- a/wxcode/bakefiles/presets/defaults.bkl ++++ b/wxcode/bakefiles/presets/defaults.bkl +@@ -23,7 +23,7 @@ + you can set them once in these vars and wxcode-* templates will automatically + use them. --> + $(fileList('src/*.c*')) +- $(fileList('include/wx/*.h')) ++ $(fileList('wx/*.h')) + + + +diff --git a/wxcode/bakefiles/presets/templates.bkl b/wxcode/bakefiles/presets/templates.bkl +index a18433f..d33cdf8 100644 +--- a/wxcode/bakefiles/presets/templates.bkl ++++ b/wxcode/bakefiles/presets/templates.bkl +@@ -54,7 +54,7 @@ + +