View Issue Details

IDProjectCategoryView StatusLast Update
0000689Double CommanderDefaultpublic2017-09-04 08:25
Reporterbbt Assigned ToAlexx2000  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
ProjectionnoneETAnone 
Product Version0.6.0 (trunk) 
Fixed in Version0.5.6 
Summary0000689: Fix build under FreeBSD
Description'doublecmd' component does not build under FreeBSD. This patch fixes it.
Additional InformationThe patch has been created against trunk (rev. 5250), but it can also be cleanly applied to 0.5.5 version.
TagsNo tags attached.
Attached Files
dcosutils.pas.patch (568 bytes)   
Index: components/doublecmd/dcosutils.pas
===================================================================
--- components/doublecmd/dcosutils.pas	(revision 5250)
+++ components/doublecmd/dcosutils.pas	(working copy)
@@ -185,11 +185,11 @@
   Windows, JwaWinNetWk;
 {$ENDIF}
 {$IF DEFINED(UNIX)}
-  {$IF DEFINED(DARWIN)}
+  {$IF DEFINED(BSD)}
     {$DEFINE FPC_USE_LIBC}
   {$ENDIF}
 uses
-  {$IF NOT DEFINED(FPC_USE_LIBC)}
+  {$IF (NOT DEFINED(FPC_USE_LIBC)) OR (DEFINED(BSD) AND NOT DEFINED(DARWIN))}
   SysCall,
   {$ENDIF}
   BaseUnix, Unix, dl, DCStrUtils;
dcosutils.pas.patch (568 bytes)   
Fixed in Revision5253
Operating systemBSD
Widgetset
Architecture

Activities

Alexx2000

2013-07-10 20:27

administrator   ~0001071

Thanks, added to SVN.

Issue History

Date Modified Username Field Change
2013-07-07 22:09 bbt New Issue
2013-07-07 22:09 bbt File Added: dcosutils.pas.patch
2013-07-10 20:25 Alexx2000 Assigned To => Alexx2000
2013-07-10 20:25 Alexx2000 Status new => assigned
2013-07-10 20:27 Alexx2000 Fixed in Revision => 5253
2013-07-10 20:27 Alexx2000 Note Added: 0001071
2013-07-10 20:27 Alexx2000 Status assigned => resolved
2013-07-10 20:27 Alexx2000 Fixed in Version => 0.5.6
2013-07-10 20:27 Alexx2000 Resolution open => fixed
2017-09-04 08:25 Alexx2000 Status resolved => closed