Files
haikuports/haiku-apps/runprogram/patches/runprogram-1.0rc1.patchset
Chris Roberts 8a30e59744 Overhaul the haiku-apps directory
* Fixed PROVIDES/*REQUIRES entries
* Added vcs hashes to the ports needing it in the SRC_URI
* Made single executable apps install to the top level $appsDir
* Added patches for gcc4 versions of most apps
* Added patches for apps that couldn't build on any arch
   ( even though they were marked as working :( )
* Other misc fixes that I've forgotten already because I'm sick of
  looking at this directory
2013-12-02 20:48:05 -07:00

64 lines
1.6 KiB
Plaintext

From 6b3517facc71d33974bfd81a78a7567704a94554 Mon Sep 17 00:00:00 2001
From: Chris Roberts <cpr420@gmail.com>
Date: Mon, 2 Dec 2013 19:41:16 -0700
Subject: applying patch runprogram-1.0rc1.patch
diff --git a/src/ExeBox.cpp b/src/ExeBox.cpp
index b4ee544..b3c3bb2 100644
--- a/src/ExeBox.cpp
+++ b/src/ExeBox.cpp
@@ -212,7 +212,7 @@ ExeBox::InitializeAutocompletion(void)
sPathData->AddItem(new entry_ref(ref));
}
- find_directory(B_COMMON_BIN_DIRECTORY,&path);
+ find_directory(B_SYSTEM_BIN_DIRECTORY,&path);
dir.SetTo(path.Path());
dir.Rewind();
while (dir.GetNextRef(&ref) == B_OK)
@@ -271,7 +271,7 @@ ExeBox::QueryThread(void *data)
{
if ( ref.directory == B_USER_ADDONS_DIRECTORY
|| ref.directory == B_BEOS_ADDONS_DIRECTORY
- || ref.directory == B_COMMON_ADDONS_DIRECTORY)
+ || ref.directory == B_SYSTEM_ADDONS_DIRECTORY)
continue;
if (ref.directory == -1)
@@ -341,7 +341,7 @@ ExeBox::UpdateThread(void *data)
queryList.AddItem(new entry_ref(ref));
}
- find_directory(B_COMMON_BIN_DIRECTORY,&path);
+ find_directory(B_SYSTEM_BIN_DIRECTORY,&path);
dir.SetTo(path.Path());
dir.Rewind();
--
1.8.3.4
From 522d633b7593a3009fbccf0da8efd3943cceb31b Mon Sep 17 00:00:00 2001
From: Chris Roberts <cpr420@gmail.com>
Date: Mon, 2 Dec 2013 19:46:25 -0700
Subject: Fix includes for building with gcc4
diff --git a/src/ExeBox.cpp b/src/ExeBox.cpp
index b3c3bb2..4d154bb 100644
--- a/src/ExeBox.cpp
+++ b/src/ExeBox.cpp
@@ -13,6 +13,8 @@
#include <VolumeRoster.h>
#include <Query.h>
+#include <stdio.h>
+
static BObjectList<entry_ref> *sPathData = NULL;
BLocker sPathDataLock;
thread_id sThreadID = -1;
--
1.8.3.4