SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
23
graphics/sane-backends/patches/patch-backend_plustek_c
Normal file
23
graphics/sane-backends/patches/patch-backend_plustek_c
Normal file
|
@ -0,0 +1,23 @@
|
|||
64bit time_t
|
||||
|
||||
Index: backend/plustek.c
|
||||
--- backend/plustek.c.orig
|
||||
+++ backend/plustek.c
|
||||
@@ -316,7 +316,7 @@ drvclose( Plustek_Device *dev )
|
||||
DBG( _DBG_INFO, "drvclose()\n" );
|
||||
|
||||
if( 0 != tsecs ) {
|
||||
- DBG( _DBG_INFO, "TIME END 1: %lus\n", time(NULL)-tsecs);
|
||||
+ DBG( _DBG_INFO, "TIME END 1: %llds\n", time(NULL)-tsecs);
|
||||
}
|
||||
|
||||
/* don't check the return values, simply do it */
|
||||
@@ -617,7 +617,7 @@ do_cancel( Plustek_Scanner *scanner, SANE_Bool closepi
|
||||
drvclose( scanner->hw );
|
||||
|
||||
if( tsecs != 0 ) {
|
||||
- DBG( _DBG_INFO, "TIME END 2: %lus\n", time(NULL)-tsecs);
|
||||
+ DBG( _DBG_INFO, "TIME END 2: %llds\n", time(NULL)-tsecs);
|
||||
tsecs = 0;
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue