Fossil

Check-in [29adfac4]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Patch from Pietro Cerutti to enable TCL shared library loading in TH1 on FreeBSD.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:29adfac433b19828192d2c5937d4619a306fb790e260bc558350ba2eef1e2b74
User & Date: drh 2018-02-12 16:32:54
Context
2018-02-13
12:48
Fix a hyperlink typo in the server.wiki documentation. Caught by Svyatoslav Mishyn. check-in: 20954274 user: drh tags: trunk
2018-02-12
16:32
Patch from Pietro Cerutti to enable TCL shared library loading in TH1 on FreeBSD. check-in: 29adfac4 user: drh tags: trunk
13:01
Add the --use-author flag to "fossil import --git". Patch from Dingyuan Wang. check-in: fe87e4cb user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/th_tcl.c.

   129    129   #    elif defined(__APPLE__)
   130    130   #      ifndef TCL_LIBRARY_NAME
   131    131   #        define TCL_LIBRARY_NAME "libtcl8.6.dylib\0"
   132    132   #      endif
   133    133   #      ifndef TCL_MINOR_OFFSET
   134    134   #        define TCL_MINOR_OFFSET (8)
   135    135   #      endif
          136  +#    elif defined(__FreeBSD__)
          137  +#      ifndef TCL_LIBRARY_NAME
          138  +#        define TCL_LIBRARY_NAME "libtcl86.so\0"
          139  +#      endif
          140  +#      ifndef TCL_MINOR_OFFSET
          141  +#        define TCL_MINOR_OFFSET (7)
          142  +#      endif
   136    143   #    else
   137    144   #      ifndef TCL_LIBRARY_NAME
   138    145   #        define TCL_LIBRARY_NAME "libtcl8.6.so\0"
   139    146   #      endif
   140    147   #      ifndef TCL_MINOR_OFFSET
   141    148   #        define TCL_MINOR_OFFSET (8)
   142    149   #      endif