KeymapSwitcher: fix gcc2 build.

This commit is contained in:
Adrien Destugues
2014-02-07 15:25:59 +01:00
parent 8a24af8e13
commit 8c1f8116ed
2 changed files with 22 additions and 0 deletions

View File

@@ -29,6 +29,7 @@ BUILD_PREREQUIRES="
"
PATCHES="keymapswitcher-$portVersion.patchset"
PATCH()
{
# Fix makefile not to use BUILDHOME as an install dir variable.

View File

@@ -0,0 +1,21 @@
From 5b34e6a6930216d0855e58bebc168e6dc50f76cc Mon Sep 17 00:00:00 2001
From: Adrien Destugues <pulkomandy@pulkomandy.tk>
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