diff options
Diffstat (limited to 'debian/patches/dyson-libs.patch')
-rw-r--r-- | debian/patches/dyson-libs.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/debian/patches/dyson-libs.patch b/debian/patches/dyson-libs.patch new file mode 100644 index 00000000..15b16203 --- /dev/null +++ b/debian/patches/dyson-libs.patch @@ -0,0 +1,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'; |