summaryrefslogtreecommitdiff
path: root/debian/patches/dyson-libs.patch
blob: 15b162032c69b2a2b699da706d49b98fa306adf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Description: all in libc on illumos
Index: fpc/fpcsrc/rtl/unix/oscdeclh.inc
===================================================================
--- fpc.orig/fpcsrc/rtl/unix/oscdeclh.inc	2014-07-02 22:36:09.057012757 +0400
+++ fpc/fpcsrc/rtl/unix/oscdeclh.inc	2014-07-04 01:06:26.275132432 +0400
@@ -118,16 +118,10 @@
     Function  FpAlarm      (seconds : cuint) : cuint; cdecl;external clib name 'alarm';
     Function  FpPause   : cInt; cdecl; external clib name 'pause';
     Function  FpMkfifo     (path: pchar; mode: tmode): cint; cdecl; external clib name 'mkfifo';
-{$ifdef solaris}   
-{$linklib md5} 
-{$linklib aio}
-    Function  FPnanosleep  (const rqtp: ptimespec; rmtp: ptimespec): cint; cdecl; external 'rt' name 'nanosleep';
-{$else solaris}
 {$ifndef beos}
     Function  FPnanosleep  (const rqtp: ptimespec; rmtp: ptimespec): cint; cdecl; external clib name 'nanosleep';
 {$else}
 {$endif}
-{$endif solaris}
     function  fpNice       (N:cint):cint; cdecl; external clib name 'nice';
     Function  fpGetPriority (Which,Who:cint):cint;      cdecl; external clib name 'getpriority';
     Function  fpSetPriority (Which,Who,What:cint):cint; cdecl; external clib name 'setpriority';