From 8c1f8116ed5c098b3a01dd6925b8bb084c69c5f9 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Fri, 7 Feb 2014 15:25:59 +0100 Subject: [PATCH] KeymapSwitcher: fix gcc2 build. --- .../keymapswitcher-1.2.7.11.recipe | 1 + .../patches/keymapswitcher-1.2.7.11.patchset | 21 +++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 haiku-apps/keymapswitcher/patches/keymapswitcher-1.2.7.11.patchset diff --git a/haiku-apps/keymapswitcher/keymapswitcher-1.2.7.11.recipe b/haiku-apps/keymapswitcher/keymapswitcher-1.2.7.11.recipe index 391a83c43..71a969d4b 100644 --- a/haiku-apps/keymapswitcher/keymapswitcher-1.2.7.11.recipe +++ b/haiku-apps/keymapswitcher/keymapswitcher-1.2.7.11.recipe @@ -29,6 +29,7 @@ BUILD_PREREQUIRES=" " +PATCHES="keymapswitcher-$portVersion.patchset" PATCH() { # Fix makefile not to use BUILDHOME as an install dir variable. diff --git a/haiku-apps/keymapswitcher/patches/keymapswitcher-1.2.7.11.patchset b/haiku-apps/keymapswitcher/patches/keymapswitcher-1.2.7.11.patchset new file mode 100644 index 000000000..b46fde143 --- /dev/null +++ b/haiku-apps/keymapswitcher/patches/keymapswitcher-1.2.7.11.patchset @@ -0,0 +1,21 @@ +From 5b34e6a6930216d0855e58bebc168e6dc50f76cc Mon Sep 17 00:00:00 2001 +From: Adrien Destugues +Date: Fri, 7 Feb 2014 15:24:16 +0100 +Subject: Fix gcc2 build. + + +diff --git a/SettingsWindow.h b/SettingsWindow.h +index 251fb38..de49f94 100644 +--- a/SettingsWindow.h ++++ b/SettingsWindow.h +@@ -78,6 +78,7 @@ class SettingsWindow: public BWindow + virtual void SelectionChanged(); + virtual void MouseDown(BPoint point); + }; ++ friend class KeymapOutlineListView; + + class MoveButton : public BPictureButton + { +-- +1.8.3.4 +