1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00

- Support X11BASE properly

PR:		21032
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>
This commit is contained in:
Steve Price 2000-09-05 01:17:25 +00:00
parent 55c08dec0b
commit 5a4970805b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=32264

View File

@ -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