diff options
author | steve <steve@FreeBSD.org> | 2000-09-05 09:17:25 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 2000-09-05 09:17:25 +0800 |
commit | 47bc4d9759d9cc8217ec6ddb1d08e944c6f1718f (patch) | |
tree | 17c714bf45a0f0b9f8586df89bbe44aabd44f138 /games | |
parent | 2ac31afed9c1f7d9c235864c6bfb4edf3183e91a (diff) | |
download | freebsd-ports-gnome-47bc4d9759d9cc8217ec6ddb1d08e944c6f1718f.tar.gz freebsd-ports-gnome-47bc4d9759d9cc8217ec6ddb1d08e944c6f1718f.tar.zst freebsd-ports-gnome-47bc4d9759d9cc8217ec6ddb1d08e944c6f1718f.zip |
- Support X11BASE properly
PR: 21032
Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Diffstat (limited to 'games')
-rw-r--r-- | games/xdigger/files/patch-ac | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/games/xdigger/files/patch-ac b/games/xdigger/files/patch-ac index 26a45e318adb..35c655b259e9 100644 --- a/games/xdigger/files/patch-ac +++ b/games/xdigger/files/patch-ac @@ -5,7 +5,7 @@ Fill_TonBuffer(TON_AUDIO_LOW, TON_AUDIO_HIGH, TON_AUDIO_RATE, True); +#ifdef __FreeBSD__ -+ fd = open("/usr/X11R6/share/xdigger/diamond.au", O_CREAT | O_WRONLY); ++ fd = open(XDIGGER_LIB_DIR "/diamond.au", O_CREAT | O_WRONLY); +#else fd = open("audio/diamond.au", O_CREAT | O_WRONLY); +#endif @@ -14,7 +14,7 @@ close(fd); +#ifdef __FreeBSD__ -+ fd = open("/usr/X11R6/share/xdigger/stone.au", O_CREAT | O_WRONLY); ++ fd = open(XDIGGER_LIB_DIR "/stone.au", O_CREAT | O_WRONLY); +#else fd = open("audio/stone.au", O_CREAT | O_WRONLY); +#endif @@ -23,7 +23,7 @@ close(fd); +#ifdef __FreeBSD__ -+ fd = open("/usr/X11R6/share/xdigger/step.au", O_CREAT | O_WRONLY); ++ fd = open(XDIGGER_LIB_DIR "/step.au", O_CREAT | O_WRONLY); +#else fd = open("audio/step.au", O_CREAT | O_WRONLY); +#endif |