Ravenports generated: 04 Jul 2018 08:21
[ravenports.git] / bucket_3A / guile
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               guile
4 VERSION=                2.2.4
5 KEYWORDS=               lang
6 VARIANTS=               standard
7 SDESC[standard]=        GNU Ubiquitous Intelligent Language for Extensions
8 HOMEPAGE=               https://www.gnu.org/software/guile/
9 CONTACT=                nobody
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            GNU/guile
13 DISTFILE[1]=            guile-2.2.4.tar.gz:main
14 DF_INDEX=               1
15 SPKGS[standard]=        single
16
17 OPTIONS_AVAILABLE=      none
18 OPTIONS_STANDARD=       none
19
20 BUILD_DEPENDS=          gmp:static:standard
21 BUILDRUN_DEPENDS=       gmp:shared:standard
22                         libffi:single:standard
23                         libltdl:single:standard
24                         libunistring:primary:standard
25                         boehm_garbage_collector:single:threaded
26
27 USES=                   gmake libtool makeinfo ncurses pkgconfig readline
28                         iconv charsetfix gettext-tools
29
30 LICENSE=                LGPL21+:single
31 LICENSE_TERMS=          single:{{WRKDIR}}/TERMS
32 LICENSE_FILE=           LGPL21+:{{WRKSRC}}/COPYING.LESSER
33 LICENSE_AWK=            TERMS:"^$$"
34 LICENSE_SOURCE=         TERMS:{{WRKSRC}}/libguile/guile.c
35 LICENSE_SCHEME=         solo
36
37 INFO=                   single:guile
38                         single:r5rs
39 FPC_EQUIVALENT=         lang/guile2
40 INFO_SUBDIR=            .
41
42 MUST_CONFIGURE=         gnu
43 CONFIGURE_ARGS=         --enable-nls
44                         --with-threads
45
46 INSTALL_TARGET=         install-strip
47 INSTALL_REQ_TOOLCHAIN=  yes
48 SOVERSION=              1.3.1
49 PLIST_SUB=              GUILE_VER=2.2
50                         RLSOVERSION=0.0.0
51                         RLSOMAJOR=0
52
53 [FILE:322:descriptions/desc.single]
54 GUILE, GNU's Ubiquitous Intelligent Language for Extension, is a library
55 that implements the Scheme language plus various convenient facilities.
56 It's designed so that you can link it into an application or utility to
57 make it extensible.  Our plan is to link this library into all GNU
58 programs that call for extensibility.
59
60
61 [FILE:97:distinfo]
62 33b904c0bf4e48e156f3fb1d0e6b0392033bd610c6c9d9a0410c6e0ea96a3e5c     18094974 guile-2.2.4.tar.gz
63
64
65 [FILE:13128:manifests/plist.single]
66 bin/
67  guild
68  guile
69  guile-config
70  guile-snarf
71  guile-tools
72 include/guile/%%GUILE_VER%%/
73  libguile.h
74  readline.h
75 include/guile/%%GUILE_VER%%/libguile/
76  __scm.h
77  alist.h
78  array-handle.h
79  array-map.h
80  arrays.h
81  async.h
82  atomic.h
83  backtrace.h
84  bdw-gc.h
85  bitvectors.h
86  boolean.h
87  bytevectors.h
88  chars.h
89  continuations.h
90  control.h
91  debug-malloc.h
92  debug.h
93  deprecated.h
94  deprecation.h
95  dynl.h
96  dynstack.h
97  dynwind.h
98  eq.h
99  error.h
100  eval.h
101  evalext.h
102  expand.h
103  extensions.h
104  fdes-finalizers.h
105  feature.h
106  filesys.h
107  finalizers.h
108  fluids.h
109  foreign-object.h
110  foreign.h
111  fports.h
112  frames.h
113  gc-inline.h
114  gc.h
115  generalized-arrays.h
116  generalized-vectors.h
117  gettext.h
118  goops.h
119  gsubr.h
120  guardians.h
121  hash.h
122  hashtab.h
123  hooks.h
124  i18n.h
125  init.h
126  inline.h
127  instructions.h
128  ioext.h
129  iselect.h
130  keywords.h
131  list.h
132  load.h
133  loader.h
134  macros.h
135  mallocs.h
136  memoize.h
137  modules.h
138  net_db.h
139  null-threads.h
140  numbers.h
141  objprop.h
142  options.h
143  pairs.h
144  poll.h
145  ports.h
146  posix.h
147  print.h
148  procprop.h
149  procs.h
150  programs.h
151  promises.h
152  pthread-threads.h
153  r6rs-ports.h
154  random.h
155  rdelim.h
156  read.h
157  regex-posix.h
158  rw.h
159  scmconfig.h
160  scmsigs.h
161  script.h
162  simpos.h
163  smob.h
164  snarf.h
165  socket.h
166  sort.h
167  srcprop.h
168  srfi-1.h
169  srfi-13.h
170  srfi-14.h
171  srfi-4.h
172  srfi-60.h
173  stackchk.h
174  stacks.h
175  stime.h
176  strings.h
177  strorder.h
178  strports.h
179  struct.h
180  symbols.h
181  tags.h
182  threads.h
183  throw.h
184  trees.h
185  unicode.h
186  uniform.h
187  validate.h
188  values.h
189  variable.h
190  vectors.h
191  version.h
192  vm-builtins.h
193  vm-expand.h
194  vm.h
195  vports.h
196  weak-set.h
197  weak-table.h
198  weak-vector.h
199 lib/
200  libguile-%%GUILE_VER%%.a
201  libguile-%%GUILE_VER%%.so
202  libguile-%%GUILE_VER%%.so.%%SOMAJOR%%
203  libguile-%%GUILE_VER%%.so.%%SOVERSION%%
204  libguile-%%GUILE_VER%%.so.%%SOVERSION%%-gdb.scm
205 lib/guile/%%GUILE_VER%%/ccache/
206  rnrs.go
207  statprof.go
208  texinfo.go
209 lib/guile/%%GUILE_VER%%/ccache/ice-9/
210  and-let-star.go
211  arrays.go
212  atomic.go
213  binary-ports.go
214  boot-9.go
215  buffered-input.go
216  calling.go
217  channel.go
218  command-line.go
219  common-list.go
220  control.go
221  curried-definitions.go
222  debug.go
223  deprecated.go
224  documentation.go
225  eval-string.go
226  eval.go
227  expect.go
228  fdes-finalizers.go
229  format.go
230  ftw.go
231  futures.go
232  gap-buffer.go
233  getopt-long.go
234  hash-table.go
235  hcons.go
236  history.go
237  i18n.go
238  iconv.go
239  lineio.go
240  list.go
241  local-eval.go
242  ls.go
243  mapping.go
244  match.go
245  networking.go
246  null.go
247  occam-channel.go
248  optargs.go
249  peg.go
250  poe.go
251  poll.go
252  popen.go
253  ports.go
254  posix.go
255  pretty-print.go
256  psyntax-pp.go
257  q.go
258  r5rs.go
259  rdelim.go
260  readline.go
261  receive.go
262  regex.go
263  runq.go
264  rw.go
265  safe-r5rs.go
266  safe.go
267  sandbox.go
268  save-stack.go
269  scm-style-repl.go
270  serialize.go
271  session.go
272  slib.go
273  stack-catch.go
274  streams.go
275  string-fun.go
276  suspendable-ports.go
277  syncase.go
278  textual-ports.go
279  threads.go
280  time.go
281  top-repl.go
282  unicode.go
283  vlist.go
284  weak-vector.go
285 lib/guile/%%GUILE_VER%%/ccache/ice-9/peg/
286  cache.go
287  codegen.go
288  simplify-tree.go
289  string-peg.go
290  using-parsers.go
291 lib/guile/%%GUILE_VER%%/ccache/language/
292  bytecode.go
293  cps.go
294  tree-il.go
295 lib/guile/%%GUILE_VER%%/ccache/language/brainfuck/
296  compile-scheme.go
297  compile-tree-il.go
298  parse.go
299  spec.go
300 lib/guile/%%GUILE_VER%%/ccache/language/bytecode/spec.go
301 lib/guile/%%GUILE_VER%%/ccache/language/cps/
302  closure-conversion.go
303  compile-bytecode.go
304  constructors.go
305  contification.go
306  cse.go
307  dce.go
308  effects-analysis.go
309  elide-values.go
310  handle-interrupts.go
311  intmap.go
312  intset.go
313  licm.go
314  optimize.go
315  peel-loops.go
316  primitives.go
317  prune-bailouts.go
318  prune-top-level-scopes.go
319  reify-primitives.go
320  renumber.go
321  rotate-loops.go
322  self-references.go
323  simplify.go
324  slot-allocation.go
325  spec.go
326  specialize-numbers.go
327  specialize-primcalls.go
328  split-rec.go
329  type-checks.go
330  type-fold.go
331  types.go
332  utils.go
333  verify.go
334  with-cps.go
335 lib/guile/%%GUILE_VER%%/ccache/language/ecmascript/
336  array.go
337  base.go
338  compile-tree-il.go
339  function.go
340  impl.go
341  parse.go
342  spec.go
343  tokenize.go
344 lib/guile/%%GUILE_VER%%/ccache/language/elisp/
345  bindings.go
346  boot.go
347  compile-tree-il.go
348  falias.go
349  lexer.go
350  parser.go
351  runtime.go
352  spec.go
353 lib/guile/%%GUILE_VER%%/ccache/language/elisp/runtime/
354  function-slot.go
355  value-slot.go
356 lib/guile/%%GUILE_VER%%/ccache/language/scheme/
357  compile-tree-il.go
358  decompile-tree-il.go
359  spec.go
360 lib/guile/%%GUILE_VER%%/ccache/language/tree-il/
361  analyze.go
362  canonicalize.go
363  compile-cps.go
364  debug.go
365  effects.go
366  fix-letrec.go
367  optimize.go
368  peval.go
369  primitives.go
370  spec.go
371 lib/guile/%%GUILE_VER%%/ccache/language/value/spec.go
372 lib/guile/%%GUILE_VER%%/ccache/oop/goops.go
373 lib/guile/%%GUILE_VER%%/ccache/oop/goops/
374  accessors.go
375  active-slot.go
376  composite-slot.go
377  describe.go
378  internal.go
379  save.go
380  simple.go
381  stklos.go
382 lib/guile/%%GUILE_VER%%/ccache/rnrs/
383  base.go
384  bytevectors.go
385  conditions.go
386  control.go
387  enums.go
388  eval.go
389  exceptions.go
390  files.go
391  hashtables.go
392  lists.go
393  mutable-pairs.go
394  mutable-strings.go
395  programs.go
396  r5rs.go
397  sorting.go
398  syntax-case.go
399  unicode.go
400 lib/guile/%%GUILE_VER%%/ccache/rnrs/arithmetic/
401  bitwise.go
402  fixnums.go
403  flonums.go
404 lib/guile/%%GUILE_VER%%/ccache/rnrs/io/
405  ports.go
406  simple.go
407 lib/guile/%%GUILE_VER%%/ccache/rnrs/records/
408  inspection.go
409  procedural.go
410  syntactic.go
411 lib/guile/%%GUILE_VER%%/ccache/scripts/
412  api-diff.go
413  autofrisk.go
414  compile.go
415  disassemble.go
416  display-commentary.go
417  doc-snarf.go
418  frisk.go
419  generate-autoload.go
420  help.go
421  lint.go
422  list.go
423  punify.go
424  read-rfc822.go
425  read-scheme-source.go
426  read-text-outline.go
427  scan-api.go
428  snarf-check-and-output-texi.go
429  snarf-guile-m4-docs.go
430  summarize-guile-TODO.go
431  use2dot.go
432 lib/guile/%%GUILE_VER%%/ccache/srfi/
433  srfi-1.go
434  srfi-10.go
435  srfi-11.go
436  srfi-111.go
437  srfi-13.go
438  srfi-14.go
439  srfi-16.go
440  srfi-17.go
441  srfi-18.go
442  srfi-19.go
443  srfi-2.go
444  srfi-26.go
445  srfi-27.go
446  srfi-28.go
447  srfi-31.go
448  srfi-34.go
449  srfi-35.go
450  srfi-37.go
451  srfi-38.go
452  srfi-39.go
453  srfi-4.go
454  srfi-41.go
455  srfi-42.go
456  srfi-43.go
457  srfi-45.go
458  srfi-6.go
459  srfi-60.go
460  srfi-64.go
461  srfi-67.go
462  srfi-69.go
463  srfi-71.go
464  srfi-8.go
465  srfi-88.go
466  srfi-9.go
467  srfi-98.go
468 lib/guile/%%GUILE_VER%%/ccache/srfi/srfi-4/gnu.go
469 lib/guile/%%GUILE_VER%%/ccache/srfi/srfi-9/gnu.go
470 lib/guile/%%GUILE_VER%%/ccache/sxml/
471  apply-templates.go
472  fold.go
473  match.go
474  simple.go
475  ssax.go
476  transform.go
477  xpath.go
478 lib/guile/%%GUILE_VER%%/ccache/sxml/ssax/input-parse.go
479 lib/guile/%%GUILE_VER%%/ccache/system/
480  foreign-object.go
481  foreign.go
482  syntax.go
483  xref.go
484 lib/guile/%%GUILE_VER%%/ccache/system/base/
485  ck.go
486  compile.go
487  lalr.go
488  language.go
489  message.go
490  pmatch.go
491  syntax.go
492  target.go
493  types.go
494 lib/guile/%%GUILE_VER%%/ccache/system/repl/
495  command.go
496  common.go
497  coop-server.go
498  debug.go
499  error-handling.go
500  repl.go
501  server.go
502 lib/guile/%%GUILE_VER%%/ccache/system/vm/
503  assembler.go
504  coverage.go
505  debug.go
506  disassembler.go
507  dwarf.go
508  elf.go
509  frame.go
510  inspect.go
511  linker.go
512  loader.go
513  program.go
514  trace.go
515  trap-state.go
516  traps.go
517  vm.go
518 lib/guile/%%GUILE_VER%%/ccache/texinfo/
519  docbook.go
520  html.go
521  indexing.go
522  plain-text.go
523  reflection.go
524  serialize.go
525  string-utils.go
526 lib/guile/%%GUILE_VER%%/ccache/web/
527  client.go
528  http.go
529  request.go
530  response.go
531  server.go
532  uri.go
533 lib/guile/%%GUILE_VER%%/ccache/web/server/http.go
534 lib/guile/%%GUILE_VER%%/extensions/
535  guile-readline.a
536  guile-readline.so
537  guile-readline.so.%%RLSOMAJOR%%
538  guile-readline.so.%%RLSOVERSION%%
539 lib/pkgconfig/guile-%%GUILE_VER%%.pc
540 share/aclocal/guile.m4
541 share/guile/%%GUILE_VER%%/
542  guile-procedures.txt
543  rnrs.scm
544  statprof.scm
545  texinfo.scm
546 share/guile/%%GUILE_VER%%/ice-9/
547  and-let-star.scm
548  arrays.scm
549  atomic.scm
550  binary-ports.scm
551  boot-9.scm
552  buffered-input.scm
553  calling.scm
554  channel.scm
555  command-line.scm
556  common-list.scm
557  control.scm
558  curried-definitions.scm
559  debug.scm
560  deprecated.scm
561  documentation.scm
562  eval-string.scm
563  eval.scm
564  expect.scm
565  fdes-finalizers.scm
566  format.scm
567  ftw.scm
568  futures.scm
569  gap-buffer.scm
570  getopt-long.scm
571  hash-table.scm
572  hcons.scm
573  history.scm
574  i18n.scm
575  iconv.scm
576  lineio.scm
577  list.scm
578  local-eval.scm
579  ls.scm
580  mapping.scm
581  match.scm
582  match.upstream.scm
583  networking.scm
584  null.scm
585  occam-channel.scm
586  optargs.scm
587  peg.scm
588  poe.scm
589  poll.scm
590  popen.scm
591  ports.scm
592  posix.scm
593  pretty-print.scm
594  psyntax-pp.scm
595  psyntax.scm
596  q.scm
597  quasisyntax.scm
598  r5rs.scm
599  r6rs-libraries.scm
600  rdelim.scm
601  readline.scm
602  receive.scm
603  regex.scm
604  runq.scm
605  rw.scm
606  safe-r5rs.scm
607  safe.scm
608  sandbox.scm
609  save-stack.scm
610  scm-style-repl.scm
611  serialize.scm
612  session.scm
613  slib.scm
614  stack-catch.scm
615  streams.scm
616  string-fun.scm
617  suspendable-ports.scm
618  syncase.scm
619  textual-ports.scm
620  threads.scm
621  time.scm
622  top-repl.scm
623  unicode.scm
624  vlist.scm
625  weak-vector.scm
626 share/guile/%%GUILE_VER%%/ice-9/peg/
627  cache.scm
628  codegen.scm
629  simplify-tree.scm
630  string-peg.scm
631  using-parsers.scm
632 share/guile/%%GUILE_VER%%/language/
633  bytecode.scm
634  cps.scm
635  tree-il.scm
636 share/guile/%%GUILE_VER%%/language/brainfuck/
637  compile-scheme.scm
638  compile-tree-il.scm
639  parse.scm
640  spec.scm
641 share/guile/%%GUILE_VER%%/language/bytecode/spec.scm
642 share/guile/%%GUILE_VER%%/language/cps/
643  closure-conversion.scm
644  compile-bytecode.scm
645  constructors.scm
646  contification.scm
647  cse.scm
648  dce.scm
649  effects-analysis.scm
650  elide-values.scm
651  handle-interrupts.scm
652  intmap.scm
653  intset.scm
654  licm.scm
655  optimize.scm
656  peel-loops.scm
657  primitives.scm
658  prune-bailouts.scm
659  prune-top-level-scopes.scm
660  reify-primitives.scm
661  renumber.scm
662  rotate-loops.scm
663  self-references.scm
664  simplify.scm
665  slot-allocation.scm
666  spec.scm
667  specialize-numbers.scm
668  specialize-primcalls.scm
669  split-rec.scm
670  type-checks.scm
671  type-fold.scm
672  types.scm
673  utils.scm
674  verify.scm
675  with-cps.scm
676 share/guile/%%GUILE_VER%%/language/ecmascript/
677  array.scm
678  base.scm
679  compile-tree-il.scm
680  function.scm
681  impl.scm
682  parse.scm
683  spec.scm
684  tokenize.scm
685 share/guile/%%GUILE_VER%%/language/elisp/
686  bindings.scm
687  boot.el
688  compile-tree-il.scm
689  falias.scm
690  lexer.scm
691  parser.scm
692  runtime.scm
693  spec.scm
694 share/guile/%%GUILE_VER%%/language/elisp/runtime/
695  function-slot.scm
696  value-slot.scm
697 share/guile/%%GUILE_VER%%/language/scheme/
698  compile-tree-il.scm
699  decompile-tree-il.scm
700  spec.scm
701 share/guile/%%GUILE_VER%%/language/tree-il/
702  analyze.scm
703  canonicalize.scm
704  compile-cps.scm
705  debug.scm
706  effects.scm
707  fix-letrec.scm
708  optimize.scm
709  peval.scm
710  primitives.scm
711  spec.scm
712 share/guile/%%GUILE_VER%%/language/value/spec.scm
713 share/guile/%%GUILE_VER%%/oop/goops.scm
714 share/guile/%%GUILE_VER%%/oop/goops/
715  accessors.scm
716  active-slot.scm
717  composite-slot.scm
718  describe.scm
719  internal.scm
720  save.scm
721  simple.scm
722  stklos.scm
723 share/guile/%%GUILE_VER%%/rnrs/
724  base.scm
725  bytevectors.scm
726  conditions.scm
727  control.scm
728  enums.scm
729  eval.scm
730  exceptions.scm
731  files.scm
732  hashtables.scm
733  lists.scm
734  mutable-pairs.scm
735  mutable-strings.scm
736  programs.scm
737  r5rs.scm
738  sorting.scm
739  syntax-case.scm
740  unicode.scm
741 share/guile/%%GUILE_VER%%/rnrs/arithmetic/
742  bitwise.scm
743  fixnums.scm
744  flonums.scm
745 share/guile/%%GUILE_VER%%/rnrs/io/
746  ports.scm
747  simple.scm
748 share/guile/%%GUILE_VER%%/rnrs/records/
749  inspection.scm
750  procedural.scm
751  syntactic.scm
752 share/guile/%%GUILE_VER%%/scripts/
753  api-diff.scm
754  autofrisk.scm
755  compile.scm
756  disassemble.scm
757  display-commentary.scm
758  doc-snarf.scm
759  frisk.scm
760  generate-autoload.scm
761  help.scm
762  lint.scm
763  list.scm
764  punify.scm
765  read-rfc822.scm
766  read-scheme-source.scm
767  read-text-outline.scm
768  scan-api.scm
769  snarf-check-and-output-texi.scm
770  snarf-guile-m4-docs.scm
771  summarize-guile-TODO.scm
772  use2dot.scm
773 share/guile/%%GUILE_VER%%/srfi/
774  srfi-1.scm
775  srfi-10.scm
776  srfi-11.scm
777  srfi-111.scm
778  srfi-13.scm
779  srfi-14.scm
780  srfi-16.scm
781  srfi-17.scm
782  srfi-18.scm
783  srfi-19.scm
784  srfi-2.scm
785  srfi-26.scm
786  srfi-27.scm
787  srfi-28.scm
788  srfi-31.scm
789  srfi-34.scm
790  srfi-35.scm
791  srfi-37.scm
792  srfi-38.scm
793  srfi-39.scm
794  srfi-4.scm
795  srfi-41.scm
796  srfi-42.scm
797  srfi-43.scm
798  srfi-45.scm
799  srfi-6.scm
800  srfi-60.scm
801  srfi-64.scm
802  srfi-67.scm
803  srfi-69.scm
804  srfi-71.scm
805  srfi-8.scm
806  srfi-88.scm
807  srfi-9.scm
808  srfi-98.scm
809 share/guile/%%GUILE_VER%%/srfi/srfi-4/gnu.scm
810 share/guile/%%GUILE_VER%%/srfi/srfi-42/ec.scm
811 share/guile/%%GUILE_VER%%/srfi/srfi-64/testing.scm
812 share/guile/%%GUILE_VER%%/srfi/srfi-67/compare.scm
813 share/guile/%%GUILE_VER%%/srfi/srfi-9/gnu.scm
814 share/guile/%%GUILE_VER%%/sxml/
815  apply-templates.scm
816  fold.scm
817  match.scm
818  simple.scm
819  ssax.scm
820  sxml-match.ss
821  transform.scm
822  xpath.scm
823 share/guile/%%GUILE_VER%%/sxml/ssax/input-parse.scm
824 share/guile/%%GUILE_VER%%/sxml/upstream/
825  SSAX.scm
826  SXML-tree-trans.scm
827  SXPath-old.scm
828  assert.scm
829  input-parse.scm
830 share/guile/%%GUILE_VER%%/system/
831  foreign-object.scm
832  foreign.scm
833  syntax.scm
834  xref.scm
835 share/guile/%%GUILE_VER%%/system/base/
836  ck.scm
837  compile.scm
838  lalr.scm
839  lalr.upstream.scm
840  language.scm
841  message.scm
842  pmatch.scm
843  syntax.scm
844  target.scm
845  types.scm
846 share/guile/%%GUILE_VER%%/system/repl/
847  command.scm
848  common.scm
849  coop-server.scm
850  debug.scm
851  describe.scm
852  error-handling.scm
853  repl.scm
854  server.scm
855 share/guile/%%GUILE_VER%%/system/vm/
856  assembler.scm
857  coverage.scm
858  debug.scm
859  disassembler.scm
860  dwarf.scm
861  elf.scm
862  frame.scm
863  inspect.scm
864  linker.scm
865  loader.scm
866  program.scm
867  trace.scm
868  trap-state.scm
869  traps.scm
870  vm.scm
871 share/guile/%%GUILE_VER%%/texinfo/
872  docbook.scm
873  html.scm
874  indexing.scm
875  plain-text.scm
876  reflection.scm
877  serialize.scm
878  string-utils.scm
879 share/guile/%%GUILE_VER%%/web/
880  client.scm
881  http.scm
882  request.scm
883  response.scm
884  server.scm
885  uri.scm
886 share/guile/%%GUILE_VER%%/web/server/http.scm
887 share/man/man1/guile.1.gz
888
889
890 [FILE:440:patches/patch-lib_signal.in.h]
891 --- lib/signal.in.h.orig        2017-11-06 09:08:20 UTC
892 +++ lib/signal.in.h
893 @@ -60,6 +60,7 @@
894     But avoid namespace pollution on glibc systems.*/
895  #if (@GNULIB_PTHREAD_SIGMASK@ || defined GNULIB_POSIXCHECK) \
896      && ((defined __APPLE__ && defined __MACH__) \
897 +       || defined __DragonFly__ \
898          || defined __FreeBSD__ || defined __OpenBSD__ || defined __osf__ \
899          || defined __sun || defined __ANDROID__) \
900      && ! defined __GLIBC__
901
902
903 [FILE:409:patches/patch-libguile_filesys.c]
904 --- libguile/filesys.c.orig     2017-11-30 11:57:46 UTC
905 +++ libguile/filesys.c
906 @@ -1503,6 +1503,9 @@ SCM_DEFINE (scm_i_mkstemp, "mkstemp!", 1
907        mode_bits = scm_i_mode_bits (mode);
908      }
909  
910 +#if defined __FreeBSD__ || defined __DragonFly__
911 +  open_flags &= O_APPEND | O_DIRECT | O_SHLOCK | O_EXLOCK | O_CLOEXEC;
912 +#endif
913    SCM_SYSCALL (rv = mkostemp (c_tmpl, open_flags));
914    if (rv == -1)
915      SCM_SYSERROR;
916
917
918 [FILE:271:patches/patch-libguile_gen-scmconfig.c]
919 --- libguile/gen-scmconfig.c.orig       2017-11-06 09:08:20 UTC
920 +++ libguile/gen-scmconfig.c
921 @@ -138,6 +138,9 @@
922  
923  #include <libguile/gen-scmconfig.h>
924  
925 +#if defined __FreeBSD__ || defined __DragonFly__
926 +#define _ANSI_SOURCE
927 +#endif
928  #include <stdio.h>
929  #include <string.h>
930  
931
932
933 [FILE:626:patches/patch-libguile_numbers.c]
934 --- libguile/numbers.c.orig     2017-11-06 09:12:22 UTC
935 +++ libguile/numbers.c
936 @@ -45,7 +45,9 @@
937  #  include <config.h>
938  #endif
939  
940 +#if (__GNUC__ * 10 + __GNUC_MINOR__ >= 46)
941  #include <verify.h>
942 +#endif
943  #include <assert.h>
944  
945  #include <math.h>
946 @@ -182,7 +184,7 @@ static double atanh (double x) { return
947  
948  
949  #if defined (GUILE_I)
950 -#if defined HAVE_COMPLEX_DOUBLE
951 +#if defined HAVE_COMPLEX_DOUBLE && (HAVE_CLOG || HAVE_CLOG10 || HAVE_CEXP || HAVE_USABLE_CSQRT) && defined (SCM_COMPLEX_VALUE)
952  
953  /* For an SCM object Z which is a complex number (ie. satisfies
954     SCM_COMPLEXP), return its value as a C level "complex double". */
955
956
957 [FILE:229:patches/patch-libguile_pthread-threads.h]
958 --- libguile/pthread-threads.h.orig     2017-11-06 09:08:20 UTC
959 +++ libguile/pthread-threads.h
960 @@ -27,6 +27,9 @@
961  */
962  
963  #include <pthread.h>
964 +#if HAVE_PTHREAD_NP_H
965 +# include <pthread_np.h>
966 +#endif
967  #include <sched.h>
968  
969  /* Threads 
970
971
972 [FILE:355:patches/patch-libguile_threads.c]
973 --- libguile/threads.c.orig     2017-11-30 11:57:46 UTC
974 +++ libguile/threads.c
975 @@ -1889,7 +1889,7 @@ scm_ia64_ar_bsp (const void *opaque)
976    return (void *) ctx->uc_mcontext.sc_ar_bsp;
977  }
978  # endif /* linux */
979 -# ifdef __FreeBSD__
980 +# if defined __FreeBSD__ || defined __DragonFly__
981  #  include <ucontext.h>
982  void *
983  scm_ia64_register_backing_store_base (void)
984