-
-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Homebrew Troubleshooting - 0.8.x (#824)
* Add Brewfile; add a few entries to .gitignore * Add .github/dependabot.yml and script/bootstrap-on-macos.sh; update Brewfile and .github/workflows/macos-ci.yml * Slight adjustment to macos-ci.yml * ... * ... * Add Brewfile.lock.json, among other things * Add brew update back in * Omit Brewfile.lock.json * gl_init.cpp: Check for macOS by checking whether __APPLE__ and __MACH__ are defined, rather than __MACOSX__ * 22 files: Check for macOS by checking whether __APPLE__ and __MACH__ are defined, rather than MACOSX * Trying yet another approach * bootstrap-on-macos.sh: ... * bootstrap-on-macos.sh: ... * bootstrap-on-macos.sh, macos-ci.yml: Add "[email protected]" to the to-install list, alongside "[email protected]". Clean up commented-out code
- Loading branch information
1 parent
ff497c6
commit 0f09688
Showing
28 changed files
with
314 additions
and
309 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
# Check for updates to GitHub Actions every week | ||
interval: "weekly" | ||
allow: | ||
# Allow both direct and indirect updates for all packages | ||
- dependency-type: "all" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
tap "homebrew/core" | ||
tap "homebrew/bundle" | ||
tap "homebrew/cask" | ||
brew "openssl@3", link: false | ||
brew "[email protected]" force: true | ||
brew "boost" | ||
brew "boost-python3" | ||
brew "gtk+3" | ||
brew "gtkglext" | ||
brew "sdl12-compat" | ||
brew "mesa" | ||
brew "mesa-glu" | ||
brew "freeglut" | ||
brew "openal-soft" | ||
brew "cmake" | ||
brew "expat" | ||
brew "jpeg" | ||
brew "libpng" | ||
brew "libvorbis" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
* copyright : (C) 2001 by David Ranger | ||
* email : [email protected] | ||
* copyright : (C) 2020 pyramid3d | ||
* copyright : (C) 2020 Stephen G. Tuggy | ||
* copyright : (C) 2020-2023 Stephen G. Tuggy | ||
**************************************************************************/ | ||
|
||
/*************************************************************************** | ||
|
@@ -21,7 +21,7 @@ | |
* This allows it to be used with other programs with minimal changes */ | ||
|
||
#include "general.h" | ||
#if defined(__APPLE__) || defined(MACOSX) | ||
#if defined(__APPLE__) && defined(__MACH__) | ||
#include <sys/param.h> // For MAXPATHLEN | ||
#endif | ||
#ifdef __MINGW32__ | ||
|
@@ -448,7 +448,7 @@ int isdir(const char *file) { | |
glob_t *FindPath(char *path, int type) { | ||
glob_t *FILES = new glob_t; | ||
string mypath(path); | ||
#if defined(__APPLE__) || defined(MACOSX) | ||
#if defined(__APPLE__) && defined(__MACH__) | ||
char thispath[MAXPATHLEN]; | ||
#else | ||
char thispath[800000]; | ||
|
@@ -460,7 +460,7 @@ glob_t *FindPath(char *path, int type) { | |
dirent *entry; | ||
unsigned int cur; | ||
char *newpath = 0; | ||
#if defined(__APPLE__) || defined(MACOSX) | ||
#if defined(__APPLE__) && defined(__MACH__) | ||
getcwd(thispath, MAXPATHLEN); | ||
#else | ||
getcwd(thispath, 790000); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.