Skip site navigation (1)Skip section navigation (2)
Date:      Mon,  4 Sep 2000 12:09:53 -0700 (PDT)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/21032: Update port: games/xdigger
Message-ID:  <20000904190953.7B6C137B422@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         21032
>Category:       ports
>Synopsis:       Update port: games/xdigger
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 04 12:10:09 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.1-RELEASE i386
>Organization:
>Environment:
>Description:
- Support X11BASE properly

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/games/xdigger/patches/patch-ac games/xdigger/patches/patch-ac
--- /usr/ports/games/xdigger/patches/patch-ac	Mon Jul 13 08:08:56 1998
+++ games/xdigger/patches/patch-ac	Wed Aug  9 02:11:22 2000
@@ -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


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000904190953.7B6C137B422>