notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
libffi Foreign Function Interface
3.4.6 devel on this many watch lists=89 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 3.4.6Version of this port present on the latest quarterly branch.
Maintainer: kbowling@FreeBSD.org search for ports maintained by this maintainer
Port Added: unknown
Last Update: 2024-05-06 05:27:45
Commit Hash: 53f8b52
People watching this port, also watch:: libxml2, libiconv, expat, pcre, curl
License: MIT
WWW:
https://sourceware.org/libffi/
Description:
The libffi library provides a portable, high level programming interface to various calling conventions. This allows a programmer to call any function specified by a call interface description at run time.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (18 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/libffi-3.4.6/catalog.mk
  3. /usr/local/share/licenses/libffi-3.4.6/LICENSE
  4. /usr/local/share/licenses/libffi-3.4.6/MIT
  5. include/ffi.h
  6. include/ffitarget.h
  7. lib/libffi.a
  8. lib/libffi.so
  9. lib/libffi.so.8
  10. lib/libffi.so.8.1.4
  11. libdata/pkgconfig/libffi.pc
  12. share/man/man3/ffi.3.gz
  13. share/man/man3/ffi_call.3.gz
  14. share/man/man3/ffi_prep_cif.3.gz
  15. share/man/man3/ffi_prep_cif_var.3.gz
  16. @owner
  17. @group
  18. @mode
Collapse this list.
Dependency lines:
  • libffi>0:devel/libffi
To install the port:
cd /usr/ports/devel/libffi/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/libffi
  • pkg install libffi
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: libffi
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1712244192 SHA256 (libffi-3.4.6.tar.gz) = b0dea9df23c863a7a50e825440f3ebffabd65df1497108e5d437747843895a4e SIZE (libffi-3.4.6.tar.gz) = 1391684

Packages (timestamps in pop-ups are UTC):
libffi
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest3.4.63.4.63.3_13.4.63.4.6-3.3_1-
FreeBSD:13:quarterly3.4.4_13.4.63.4.43.4.4_13.4.63.4.43.4.43.4.4
FreeBSD:14:latest3.4.63.4.63.4.43.4.63.4.63.4.4-3.4.4
FreeBSD:14:quarterly3.4.4_13.4.6-3.4.4_13.4.63.4.43.4.43.4.4
FreeBSD:15:latest3.4.63.4.6n/a3.4.4_1n/a3.4.4_13.4.4_13.4.4_1
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Test dependencies:
  1. runtest : misc/dejagnu
Runtime dependencies:
  1. indexinfo : print/indexinfo
This port is required by:
for Build
  1. devel/wasmer
  2. lang/ruby31
  3. lang/ruby32
  4. lang/ruby33
  5. lang/sagittarius-scheme

Deleted ports which required this port:

Expand this list of 10 deleted ports
  1. lang/ruby19*
  2. lang/ruby20*
  3. lang/ruby21*
  4. lang/ruby22*
  5. lang/ruby23*
  6. lang/ruby24*
  7. lang/ruby25*
  8. lang/ruby26*
  9. lang/ruby27*
  10. lang/ruby30*
  11. Collapse this list of deleted ports.
for Libraries
  1. biology/abyss
  2. cad/hs-verismith
  3. cad/lepton-eda
  4. cad/nvc
  5. cad/opencascade
  6. cad/yosys
  7. cad/yosys-ghdl-plugin
Expand this list (213 items / 206 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. cad/yosys-systemverilog
  3. converters/hs-aeson-pretty
  4. converters/hs-dhall-bash
  5. converters/hs-dhall-json
  6. converters/hs-dhall-yaml
  7. deskutils/hs-arbtt
  8. devel/criterion
  9. devel/ctypes.sh
  10. devel/electron27
  11. devel/electron28
  12. devel/electron29
  13. devel/electron30
  14. devel/electron31
  15. devel/elm-format
  16. devel/g-golf
  17. devel/g-wrap
  18. devel/glib20
  19. devel/gobject-introspection
  20. devel/hs-ShellCheck
  21. devel/hs-alex
  22. devel/hs-cabal-install
  23. devel/hs-cpphs
  24. devel/hs-darcs
  25. devel/hs-ghc-events
  26. devel/hs-ghcprofview
  27. devel/hs-git-annex
  28. devel/hs-git-brunch
  29. devel/hs-happy
  30. devel/hs-haskell-language-server
  31. devel/hs-hasktags
  32. devel/hs-hlint
  33. devel/hs-hoogle
  34. devel/hs-hpack
  35. devel/hs-hspec-discover
  36. devel/hs-mueval
  37. devel/hs-ormolu
  38. devel/hs-profiteur
  39. devel/hs-shake
  40. devel/hs-spago
  41. devel/hs-threadscope
  42. devel/libgnt
  43. devel/lua-lgi
  44. devel/p5-FFI-Platypus
  45. devel/p5-Glib-Object-Introspection
  46. devel/php81-ffi
  47. devel/php82-ffi
  48. devel/php83-ffi
  49. devel/py-cffi
  50. devel/py-gobject3
  51. devel/rubygem-ffi
  52. devel/rubygem-fiddle
  53. devel/stack
  54. editors/vscode
  55. finance/hs-hledger
  56. finance/hs-hledger-ui
  57. finance/hs-hledger-web
  58. games/hedgewars-server
  59. games/hs-scroll
  60. games/lwjgl3
  61. graphics/openfx-arena
  62. graphics/wayland
  63. lang/cjs
  64. lang/crystal
  65. lang/dhall
  66. lang/ecl
  67. lang/elm
  68. lang/gforth
  69. lang/ghc
  70. lang/ghc810
  71. lang/ghc92
  72. lang/ghc94
  73. lang/gjs
  74. lang/gnustep-base
  75. lang/guile2
  76. lang/guile3
  77. lang/hs-brainfuck
  78. lang/hs-futhark
  79. lang/hs-koka
  80. lang/hs-unlambda
  81. lang/inko
  82. lang/librep
  83. lang/micropython
  84. lang/newlisp
  85. lang/pharo
  86. lang/picolisp
  87. lang/polyml
  88. lang/purescript
  89. lang/python27
  90. lang/python310
  91. lang/python311
  92. lang/python38
  93. lang/python39
  94. lang/quilc
  95. lang/racket
  96. lang/racket-minimal
  97. lang/sagittarius-scheme
  98. lang/smalltalk
  99. lang/snobol4
  100. lang/spidermonkey102
  101. lang/spidermonkey78
  102. lang/spidermonkey91
  103. lang/squeak
  104. lang/tauthon
  105. lang/yabasic
  106. mail/thunderbird
  107. math/hs-Agda
  108. math/hs-syfco
  109. math/maxima
  110. math/sage
  111. misc/hs-hascard
  112. net/pacemaker2
  113. net-im/matterhorn
  114. net-im/signal-desktop
  115. net-p2p/cardano-db-sync
  116. net-p2p/cardano-node
  117. net-p2p/ogmios
  118. ports-mgmt/hs-cabal2tuple
  119. ports-mgmt/hs-panopticum
  120. print/hs-hscolour
  121. science/paraview
  122. science/zotero
  123. security/hs-cryptol
  124. security/p11-kit
  125. security/wazuh-manager
  126. sysutils/cardano-cli
  127. sysutils/hs-cputype
  128. sysutils/libdnf
  129. textproc/cgrep
  130. textproc/hs-lhs2tex
  131. textproc/hs-pandoc
  132. textproc/hs-pandoc-crossref
  133. textproc/hs-yaml
  134. www/chromium
  135. www/firefox
  136. www/firefox-esr
  137. www/hs-DAV
  138. www/hs-gitit
  139. www/hs-hjsmin
  140. www/hs-postgrest
  141. www/hs-wai-app-static
  142. www/hs-yesod-bin
  143. www/iridium
  144. www/librewolf
  145. www/tor-browser
  146. www/ungoogled-chromium
  147. www/waterfox
  148. x11/conlecterm
  149. x11/hs-xmobar
  150. x11-toolkits/guile-gnome-platform
  151. x11-wm/hs-xmonad
  152. Collapse this list.

Deleted ports which required this port:

Expand this list of 56 deleted ports
  1. devel/electron23*
  2. devel/electron24*
  3. devel/electron25*
  4. devel/electron26*
  5. devel/hs-bytestring-nums*
  6. devel/hs-c2hs*
  7. devel/hs-drift*
  8. devel/hs-haddock*
  9. devel/hs-hdoc*
  10. devel/hs-hls-install*
  11. devel/hs-idoc*
  12. devel/lua-alien*
  13. devel/php74-ffi*
  14. devel/php80-ffi*
  15. devel/pure-ffi*
  16. devel/py-gobject*
  17. devel/py3-cffi*
  18. devel/py3-gobject3*
  19. devel/rubygem-ffi110*
  20. devel/seed*
  21. devel/seed3*
  22. devel/yosys*
  23. graphics/copperspice*
  24. java/jamvm*
  25. java/sablevm*
  26. lang/ghc843*
  27. lang/ghc844*
  28. lang/ghc862*
  29. lang/newlisp-devel*
  30. lang/pypy*
  31. lang/pypy-devel*
  32. lang/pypy3*
  33. lang/pypy3-devel*
  34. lang/python26*
  35. lang/python31*
  36. lang/python32*
  37. lang/python33*
  38. lang/python34*
  39. lang/python35*
  40. lang/python36*
  41. lang/python37*
  42. lang/racket-textual*
  43. lang/spidermonkey38*
  44. lang/spidermonkey52*
  45. lang/spidermonkey60*
  46. lang/spidermonkey68*
  47. lang/stklos*
  48. lang/whitespace*
  49. mail/thunderbird-esr*
  50. math/freemat*
  51. math/hs-penrose*
  52. textproc/hs-pandoc-citeproc*
  53. www/libxul*
  54. www/seamonkey*
  55. x11-servers/wayland*
  56. x11-toolkits/gtkada3*
  57. Collapse this list of deleted ports.
for Run
  1. lang/ruby31
  2. lang/ruby32
  3. lang/ruby33
  4. security/yubioath-desktop

Deleted ports which required this port:

Expand this list of 10 deleted ports
  1. lang/ruby19*
  2. lang/ruby20*
  3. lang/ruby21*
  4. lang/ruby22*
  5. lang/ruby23*
  6. lang/ruby24*
  7. lang/ruby25*
  8. lang/ruby26*
  9. lang/ruby27*
  10. lang/ruby30*
  11. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
No options to configure
Options name:
devel_libffi
USES:
compiler:c11 cpe libtool pathfix
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://github.com/libffi/libffi/releases/download/v3.4.6/
Collapse this list.

Number of commits found: 73

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
3.4.6
06 May 2024 05:27:45
commit hash: 53f8b52eccda67f926c71465d38433b24828178ccommit hash: 53f8b52eccda67f926c71465d38433b24828178ccommit hash: 53f8b52eccda67f926c71465d38433b24828178ccommit hash: 53f8b52eccda67f926c71465d38433b24828178c files touched by this commit
Kevin Bowling (kbowling) search for other commits by this committer
Author: Yuri Victorovich
devel/libffi: Update to 3.4.6
3.4.4_1
23 Jan 2024 14:51:22
commit hash: 2224782c9650576bc75a514fb6008463930fa0becommit hash: 2224782c9650576bc75a514fb6008463930fa0becommit hash: 2224782c9650576bc75a514fb6008463930fa0becommit hash: 2224782c9650576bc75a514fb6008463930fa0be files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
devel/libffi: Impelled to share/man

Approved by:    portmgr (blanket)
3.4.4
24 Dec 2023 10:08:43
commit hash: b547544132486acbe86da6d9e729ae13a4fd6e54commit hash: b547544132486acbe86da6d9e729ae13a4fd6e54commit hash: b547544132486acbe86da6d9e729ae13a4fd6e54commit hash: b547544132486acbe86da6d9e729ae13a4fd6e54 files touched by this commit
Piotr Kubaj (pkubaj) search for other commits by this committer
devel/libffi: fix build with lld17

ld: error: version script assignment of 'LIBFFI_BASE_8.0' to symbol
'ffi_type_longdouble' failed: symbol not defined
3.4.4
24 Sep 2023 20:31:15
commit hash: 0cff34eb46ae4c1bfc4a041c730524500a628986commit hash: 0cff34eb46ae4c1bfc4a041c730524500a628986commit hash: 0cff34eb46ae4c1bfc4a041c730524500a628986commit hash: 0cff34eb46ae4c1bfc4a041c730524500a628986 files touched by this commit
Dimitry Andric (dim) search for other commits by this committer
devel/libffi: fix build with lld 17

As reported in bug 273753#c12, devel/libffi fails to link with lld 17,
at least on i386:

libtool: link: cc -shared  -fPIC -DPIC  src/.libs/prep_cif.o src/.libs/types.o
src/.libs/raw_api.o src/.libs/java_raw_api.o src/.libs/closures.o
src/.libs/tramp.o src/x86/.libs/ffi.o src/x86/.libs/sysv.o    -O2
-fstack-protector-strong -Wl,--version-script -Wl,libffi.map
-fstack-protector-strong   -Wl,-soname -Wl,libffi.so.8 -o .libs/libffi.so.8.1.2
ld: error: version script assignment of 'LIBFFI_BASE_8.0' to symbol
'ffi_java_raw_call' failed: symbol not defined
ld: error: version script assignment of 'LIBFFI_CLOSURE_8.0' to symbol
'ffi_prep_java_raw_closure' failed: symbol not defined
ld: error: version script assignment of 'LIBFFI_CLOSURE_8.0' to symbol
'ffi_prep_java_raw_closure_loc' failed: symbol not defined
cc: error: linker command failed with exit code 1 (use -v to see invocation)

This is because the symbols it complains about are not implemented on
i386, due to the FFI_NATIVE_RAW_API define being nonzero.

Fix it by adding more #if statements to libffi.map.in.

PR:		274056
Approved by:	kbowling (maintainer)
MFH:		2023Q3
3.4.4
09 Dec 2022 19:27:32
commit hash: f05c25d633050adf710f4dbf885dbed84d315c30commit hash: f05c25d633050adf710f4dbf885dbed84d315c30commit hash: f05c25d633050adf710f4dbf885dbed84d315c30commit hash: f05c25d633050adf710f4dbf885dbed84d315c30 files touched by this commit
Kevin Bowling (kbowling) search for other commits by this committer
Author: Daniel Engberg
devel/libffi: Update to 3.4.4

This release fixes a few bugs on alternate archs

PR:		268150
3.4.3
06 Oct 2022 16:53:52
commit hash: dab7f770b92844cc39f1ade3bec9a11ec73708bfcommit hash: dab7f770b92844cc39f1ade3bec9a11ec73708bfcommit hash: dab7f770b92844cc39f1ade3bec9a11ec73708bfcommit hash: dab7f770b92844cc39f1ade3bec9a11ec73708bf files touched by this commit
Kevin Bowling (kbowling) search for other commits by this committer
devel/libffi: Update to 3.4.3

Changes https://github.com/libffi/libffi/releases/tag/v3.4.3

Exp-run by:	antoine
PR:		266522
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
3.4.2
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
3.4.2
20 Jul 2022 14:21:35
commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
devel: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  "Waitman Gobble" <uzimac@da3m0n8t3r.com>
  *  <jkoshy@FreeBSD.org>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Dalton <aaron@daltons.ca>
  *  Aaron H. K. Diep <ahkdiep@gmail.com>
  *  Aaron Hurt <ahurt@anbcs.com>
  *  Abel Chow <abel_chow@yahoo.com>
  *  Adam McLaurin
  *  Adam Saponara <as@php.net>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Ade Lovett <ade@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
3.4.2
09 May 2022 18:21:44
commit hash: abcd54a26fee084382d799f5ce14f397464bba80commit hash: abcd54a26fee084382d799f5ce14f397464bba80commit hash: abcd54a26fee084382d799f5ce14f397464bba80commit hash: abcd54a26fee084382d799f5ce14f397464bba80 files touched by this commit
Kevin Bowling (kbowling) search for other commits by this committer
devel/libffi: Update to 3.4.2

Drop lots of upstreamed patches.

Exp-run by:	antoine
PR:		263764
3.3_1
05 May 2022 21:04:42
commit hash: b5276dc9420b7b7e04fd0919a4aeb17b75988715commit hash: b5276dc9420b7b7e04fd0919a4aeb17b75988715commit hash: b5276dc9420b7b7e04fd0919a4aeb17b75988715commit hash: b5276dc9420b7b7e04fd0919a4aeb17b75988715 files touched by this commit
Kevin Bowling (kbowling) search for other commits by this committer
devel/libffi: Revert "Update to 3.4.2"

This is currently awaiting an exp-run and was accidently committed.

I do not intend to bump port epoch unless requested because it will be
re-committed soon.

This reverts commit c0368fd487e049eee259ef74c3a86328b2321429.
3.4.2
05 May 2022 20:28:10
commit hash: c0368fd487e049eee259ef74c3a86328b2321429commit hash: c0368fd487e049eee259ef74c3a86328b2321429commit hash: c0368fd487e049eee259ef74c3a86328b2321429commit hash: c0368fd487e049eee259ef74c3a86328b2321429 files touched by this commit
Kevin Bowling (kbowling) search for other commits by this committer
devel/libffi: Update to 3.4.2

Drop lots of upstreamed patches.
3.3_1
03 May 2022 15:09:12
commit hash: 3961f81d9b62b2e94fcd27965c94d908b3dc6793commit hash: 3961f81d9b62b2e94fcd27965c94d908b3dc6793commit hash: 3961f81d9b62b2e94fcd27965c94d908b3dc6793commit hash: 3961f81d9b62b2e94fcd27965c94d908b3dc6793 files touched by this commit
Kevin Bowling (kbowling) search for other commits by this committer
devel/libffi: Fix distinfo for GitHub patch

GitHub is now generating a longer short commit ID in the patch.

PR:		262705
Reported by:	thetanix (thetanix@gmail.com)
MFH:		2022Q2
Sponsored by:	BBOX.io
3.3_1
02 May 2022 17:36:36
commit hash: 944101d8959e8f13c12fef216bda49573f6c001fcommit hash: 944101d8959e8f13c12fef216bda49573f6c001fcommit hash: 944101d8959e8f13c12fef216bda49573f6c001fcommit hash: 944101d8959e8f13c12fef216bda49573f6c001f files touched by this commit
Kevin Bowling (kbowling) search for other commits by this committer
devel/libffi: Take maintainer
3.3_1
02 May 2022 10:46:28
commit hash: d64256b72d6c06774342e032ebb1364df52d3bf6commit hash: d64256b72d6c06774342e032ebb1364df52d3bf6commit hash: d64256b72d6c06774342e032ebb1364df52d3bf6commit hash: d64256b72d6c06774342e032ebb1364df52d3bf6 files touched by this commit
Rene Ladan (rene) search for other commits by this committer
grimreaper: return zeising's ports to the pool after safekeeping his ports bit.
3.3_1
10 Sep 2021 21:17:33
commit hash: a4c9756b1cef874e147a2fddd493e13c984f584bcommit hash: a4c9756b1cef874e147a2fddd493e13c984f584bcommit hash: a4c9756b1cef874e147a2fddd493e13c984f584bcommit hash: a4c9756b1cef874e147a2fddd493e13c984f584b files touched by this commit
Bernhard Froehlich (decke) search for other commits by this committer
devel/libffi: Add CPE information

Approved by:	portmgr (blanket)
3.3_1
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
3.3_1
08 Dec 2020 16:04:37
Revision:557291Original commit files touched by this commit
kp search for other commits by this committer
devel/libffi: Fix abort() on FreeBSD riscv related to __clear_case()

Like on mips, disable the __builtin___clear_cache() call because it triggers
aborts.

PR:		251564
Approved by:	zeising
3.3_1
28 Aug 2020 22:34:46
Revision:546842Original commit files touched by this commit
bdragon search for other commits by this committer
devel/libffi: Add support for powerpc64le-*-freebsd*.

To support the upcoming FreeBSD PowerPC64LE platform, teach libffi about
the new target triple.

Submitted upstream as https://github.com/libffi/libffi/pull/581

Approved by:	zeising (maintainer)
Sponsored by:	Tag1 Consulting, Inc.
3.3_1
20 Aug 2020 11:34:28
Revision:545530Original commit files touched by this commit
zeising search for other commits by this committer
devel/libffi: Fix build on i386 without objdump

FreeBSD 13 does not have any objdump in the default installation, which
causes issues with libffi on i386 with the recent update to llvm 11.
Add a patch originally from upstream, to use readelf instead of objdump.

The patch is for configure.ac originally.  I've applied it and rerun
autoreconf and committed the result, instead of adding a dependency on
autoreconf.

Fix devel/libffi321 in the same way.  While here, fix the fuzz on a few
other patches, which made it much easier to sort out the configure patch.

Thanks to dim@ for helping me figure out the issue.

MFH:		2020Q3
3.3
21 Jul 2020 08:21:55
Revision:542724Original commit files touched by this commit
pkubaj search for other commits by this committer
devel/libffi: fix build on powerpc

Problem:
In file included from src/powerpc/ffi.c:33:
src/powerpc/ffi_powerpc.h:65:9: error: '__int128' is not supported on this
target
   65 | typedef __int128 float128;
      |         ^~~~~~~~
3.3
04 Jul 2020 22:15:48
Revision:541239Original commit files touched by this commit
pkubaj search for other commits by this committer
devel/libffi: fix build on GCC architectures

Use newer GCC:
../src/powerpc/ffi_powerpc.h:65: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'float128'
3.3
04 Jul 2020 18:09:39
Revision:541231Original commit files touched by this commit
zeising search for other commits by this committer
devel/libffi: Update to 3.3.0

Update devel/libffi to 3.3.0
This adds support for RISC-V
Changelog:
https://github.com/libffi/libffi/releases/tag/v3.3

PR:		247028 (exp-run)
Reviewed by:	kp, linimon, arrowd
exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D25163
3.2.1_3
10 Nov 2018 18:12:58
Revision:484628Original commit files touched by this commit
bapt search for other commits by this committer
Install texinfo files (GNU info) into ${PREFIX}/share/info

After a discussion on the mailing list on moving manpages to
${PREFIX}/share/man for consistency with base where it is
installed in usr/share/man, it appeared the same should happen
to GNU info files which were installed under share in base and
not in ports.

Now texinfo is not in base on any of the supported version of FreeBSD
it is possible to proceed to this move and it is easier to do than
the manpage change.

Other benefit than consistency are less patching: all build tools but
cmake are expecting info files to be under share/info and cmake (patched here)
was having an exception for BSD so the patch makes FreeBSD case less
specific for them

Bump revision of all impacted ports

PR:		232907
exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D17816
3.2.1_2
15 Jan 2018 07:40:42
Revision:459021Original commit files touched by this commit
antoine search for other commits by this committer
Replace deprecated mnemonics which were dropped in clang 6

PR:		224669
Submitted by:	dim
Reported by:	pkg-fallout
With hat:	portmgr
3.2.1_2
18 Dec 2017 17:48:43
Revision:456663Original commit files touched by this commit
dim search for other commits by this committer
Apply upstream change from libffi to check for HAVE_AS_X86_PCREL for all
x86 targets.  This should eliminate any text relocations, in particular
for the i386 build, making it possible to build the port with lld
without having to use -z notext.

Obtained from:	https://github.com/libffi/libffi/pull/174
Approved by:	zeising (maintainer)
PR:		214864
MFH:		2017Q4
3.2.1_1
18 Nov 2017 21:27:47
Revision:454462Original commit files touched by this commit
zeising search for other commits by this committer
Add support for powerpcspe.

Submitted by:		jhibbits
Differential Revision:	D13129
3.2.1_1
22 Aug 2017 21:14:10
Revision:448582Original commit files touched by this commit
antoine search for other commits by this committer
- Remove nonsense TESTS option
- Use the framework for regression tests

With hat:	portmgr
3.2.1
01 Apr 2016 14:00:57
Revision:412346Original commit files touched by this commit
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.

With hat:	portmgr
Sponsored by:	Absolight
3.2.1
14 May 2015 10:15:09
Revision:386312Original commit files touched by this commit
mat search for other commits by this committer
MASTER_SITES cleanup.

- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
3.2.1
05 Jan 2015 11:50:23
Revision:376293Original commit files touched by this commit
sbruno search for other commits by this committer
Update libffi to 3.2.1
- Add LICENSE_FILE
- Use OPTIONS helpers
- Backport: Fix for testsuite using clang [1]
- Backport: Fix build with Clang 3.5 on ARM [2]

PR:		196408
Submitted by:	koobs
Approved by:	mentor (implicit)
Relnotes:	yes
3.0.13_3
29 Oct 2014 15:31:00
Revision:371681Original commit files touched by this commit
sbruno search for other commits by this committer
Add support for mips/mips64 targets.

Unblocks 7k ports building for these targets.

PR:		191909
Submitted by:	sson
Reviewed by:	bapt (mentor)
3.0.13_2
27 Oct 2014 10:40:08
Revision:371546Original commit files touched by this commit
bapt search for other commits by this committer
Cleanup plist
3.0.13_2
01 Sep 2014 19:56:07
Revision:366947Original commit files touched by this commit
tijl search for other commits by this committer
- Add USES=libtool
- Use MAKE_CMD
3.0.13_1
29 Dec 2013 14:58:31
Revision:338001Original commit files touched by this commit
tijl search for other commits by this committer
Remove pkgconfig dependency.  The port only installs a .pc file.
3.0.13_1
21 Dec 2013 05:22:05
Revision:337118Original commit files touched by this commit
koobs search for other commits by this committer
devel/libffi: Fix abort() on ARM related to __clear_cache()

The current FreeBSD/ARM __clear_cache() implementation does nothing #if
__i386__ || __x86_64__ #else abort();

cognet@ advises this is an issue for anything !Apple that is using the
libcompiler_rt provided by Clang on ARM, and requires upstreaming.

Additionally, two Python ports (python26 and python31) use devel/libffi for
unrelated reasons, so this addresses the related PR for those ports too [2].

- Enable STAGE support
- Remove MAN* entries and update pkg-plist accordingly
- Add LICENSE
- Sort USE/USES section
- Use install-strip as the INSTALL_TARGET

PR:		ports/149167
PR:		ports/184517 [2]
Approved by:	maintainer timeout (2 weeks)
3.0.13
20 Sep 2013 17:13:47
Revision:327724Original commit files touched by this commit
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
devel part 3)
3.0.13
23 Apr 2013 10:13:20
Revision:316333Original commit files touched by this commit
bapt search for other commits by this committer
Convert devel to USES=pkgconfig
3.0.13
21 Mar 2013 12:01:29
Revision:314838Original commit files touched by this commit
zeising search for other commits by this committer
Update to 3.0.13
3.0.12
19 Mar 2013 13:04:31
Revision:314640Original commit files touched by this commit
eadler search for other commits by this committer
This changes almost all the "gnomehack" only USE_GNOME cases to USES= pathfix.

If a port used other USE_GNOME items it was untouched.
The ports that used other USES were fixed by hand.

PR:		ports/177081
Reviewed by:	bapt
Approved by:	portmgr (miwi)
3.0.12
08 Mar 2013 12:59:10
Revision:313643Original commit files touched by this commit
zeising search for other commits by this committer
Grab
3.0.12
03 Mar 2013 10:27:00
Revision:313337Original commit files touched by this commit
koobs search for other commits by this committer
- Update to 3.0.12
- Remove patches that were included upstream
- Rename TEST option to TESTS
- Add TEST_DEPENDS & regression-test: target
- Remove post-build: so tests dont run unconditionally

Approved by:	eadler
Discussed with:	kwm, milki, flo, pgj
3.0.11
03 Feb 2013 18:20:39
Revision:311477Original commit files touched by this commit
rakuco search for other commits by this committer
Fix the build on PowerPC.

andreast@ said he will upstream his patch ASAP.

PR:		ports/175781
Submitted by:	andreast
3.0.11
29 Jan 2013 01:18:45
Revision:311144Original commit files touched by this commit
jkim search for other commits by this committer
- Use SOURCEWARE master sites.
- Use make for regression test.
- Tidy up and make portlint happy.
3.0.11
29 Jan 2013 00:35:33
Revision:311141Original commit files touched by this commit
jkim search for other commits by this committer
- Update devel/libffi to 3.0.11.
- Reset maintainership for libffi.  See ports/164941.

PR:		ports/171768
Submitted by:	Takefu <takefu@airport.fm>
3.0.9
09 Nov 2011 15:26:04
Original commit files touched by this commit
miwi search for other commits by this committer
- Remove WITH_FBSD10_FIX, is no longer needed
3.0.9
28 Oct 2011 17:18:37
Original commit files touched by this commit
miwi search for other commits by this committer
- Fix build on FreeBSD 10
3.0.9
11 Aug 2011 19:20:17
Original commit files touched by this commit Sanity Test Failure
kwm search for other commits by this committer
Remove USE_GNOME=gnometarget from ports. It has been a empty keyword since
mid 2008.

PR:             ports/159624
Submitted by:   Ruslan Mahmatkhanov <cvs-src@yandex.ru>
3.0.9
03 Jul 2011 14:59:23
Original commit files touched by this commit
ohauer search for other commits by this committer
-remove MD5
3.0.9
14 Dec 2010 19:33:15
Original commit files touched by this commit
kwm search for other commits by this committer
$CFLAGS are redundant for compiling .s files.
GCC stays quiet, but Clang gives a warning of unused arguments.
The configure check greps for warning, so the check fails.
Remove $CFLAGS to clang doesn't emit the warnings.

PR:             ports/152480
Submitted by:   me
Patch by:       dim@
Approved by:    maintainer
3.0.9
18 Jul 2010 21:43:19
Original commit files touched by this commit
makc search for other commits by this committer
Fix build on powerpc64

PR:             ports/147565
Submitted by:   Andreas Tobler <andreast at fgznet.ch>
Approved by:    Bjoern Koenig (maintainer)
3.0.9
05 Jan 2010 01:35:55
Original commit files touched by this commit
pgollucci search for other commits by this committer
- Update to 3.0.9

PR:             ports/142237
Submitted by:   Björn König <bkoenig@alpha-tierchen.de>
3.0.8
15 Jan 2009 19:33:27
Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Update to 3.0.8.

PR:             130591
Submitted by:   Björn König <bkoenig at alpha-tierchen dot de>
(maintainer)
3.0.7
14 Nov 2008 08:36:46
Original commit files touched by this commit
daichi search for other commits by this committer
- Update to 3.0.7
    o Fix for FreeBSD/ppc (Thanks to Andreas Tobler)

PR:             ports/128863
Submitted by:   bkoenig@alpha-tierchen.de (maintainer)
3.0.6
22 Oct 2008 07:31:06
Original commit files touched by this commit
stefan search for other commits by this committer
- Update to 3.0.6.
- Add symlinks for include files in ${PREFIX}/include.

PR:             127552
Submitted by:   Gea-Suan Lin <gslin@gslin.org>
Patch by:       maintainer
3.0.4
04 Apr 2008 13:09:46
Original commit files touched by this commit
pav search for other commits by this committer
- Add dependency on pkg-config
3.0.4
04 Apr 2008 12:59:12
Original commit files touched by this commit
pav search for other commits by this committer
- Update to 3.0.4

PR:             ports/122398
Submitted by:   Bjoern Koenig <bkoenig@alpha-tierchen.de> (maintainer)
3.0.1
21 Feb 2008 09:07:17
Original commit files touched by this commit
beech search for other commits by this committer
- Update to 3.0.1
- Pass maintainership to submitter

PR:             ports/120736
Submitted by:   Bjorn Konig <bkoenig@alpha-tierchen.de>
Approved by:    Horance Chou <horance@freera.net> (maintainer)
1.20_1
27 Jan 2007 19:32:49
Original commit files touched by this commit
kris search for other commits by this committer
Correct legacy a.out packing list format
1.20_1
23 Feb 2006 10:40:45
Original commit files touched by this commit
ade search for other commits by this committer
Conversion to a single libtool environment.

Approved by:    portmgr (kris)
1.20
22 Jan 2006 08:30:12
Original commit files touched by this commit
edwin search for other commits by this committer
SHA256ify

Approved by:    krion@
1.20
15 Nov 2005 06:52:12
Original commit files touched by this commit
ade search for other commits by this committer
Mass-conversion to the USE_AUTOTOOLS New World Order.  The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
        http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
1.20
02 Apr 2005 19:37:31
Original commit files touched by this commit
thierry search for other commits by this committer
- register conflict with lang/gcc3* ;

- change maintainer's address.

PR:             ports/79294
Submitted by:   Horance Chou (maintainer)
1.20
09 Jul 2004 17:43:11
Original commit files touched by this commit
marcus search for other commits by this committer
Apply a big libtool patch to allow porters to use the libtool installed by
the libtoolX ports instead of the one included with each port.  Ports that
set USE_LIBTOOL_VER=X will now use the ports version of libtool instead of
the included version.  To restore previous behavior, use the new macro,
USE_INC_LIBTOOL_VER.  Both macros accept the same argument: a libtool version.

For example, to use the ports version of libtool-1.5, add the following to
your Makefile:

USE_LIBTOOL_VER=        15

To use the included version of libtool with extra hacks provided by
libtool-1.5, add the following to your Makefile:

USE_INC_LIBTOOL_VER=    15

With this change, ports that had to add additional libtool hacks to prevent
.la files from being installed or to fix certain threading issues can now
delete those hacks (after appropriate testing, of course).

PR:             63944
Based on work by:eik and marcus
Approved by:    ade (autotools maintainer)
Tested by:      kris on pointyhat
Bound to be hidden problems:    You bet
1.20
31 Mar 2004 03:12:58
Original commit files touched by this commit
trevor search for other commits by this committer
SIZEify (maintainer timeout)
1.20
14 Mar 2004 06:17:56
Original commit files touched by this commit
ade search for other commits by this committer
Whoa there, boy, that's a mighty big commit y'all have there...

Begin autotools sanitization sequence by requiring ports to explicitly
specify which version of {libtool,autoconf,automake} they need, erasing
the concept of a "system default".

For ports-in-waiting:

        USE_LIBTOOL=YES         ->      USE_LIBTOOL_VER=13
        USE_AUTOCONF=YES        ->      USE_AUTOCONF_VER=213
        USE_AUTOMAKE=YES        ->      USE_AUTOMAKE_VER=14

Ports attempting to use the old style system after June 1st 2004 will be
sorely disappointed.
1.20
05 Mar 2004 08:36:14
Original commit files touched by this commit
kris search for other commits by this committer
BROKEN: Configure fails on !i386 and !alpha
1.20
21 Feb 2003 11:23:04
Original commit files touched by this commit
knu search for other commits by this committer
De-pkg-comment.
1.20
24 Oct 2002 07:20:47
Original commit files touched by this commit
kevlo search for other commits by this committer
Update MASTER_SITES and add WWW.

PR: 44427
Submitted by: MAINTAINER
08 Oct 2000 02:10:04
commit hash: fp1.4741@dev.null.freshports.orgcommit hash: fp1.4741@dev.null.freshports.orgcommit hash: fp1.4741@dev.null.freshports.orgcommit hash: fp1.4741@dev.null.freshports.org files touched by this commit
asami search for other commits by this committer
Convert category devel to new layout.  
01 Oct 2000 09:10:50
commit hash: fp1.4490@dev.null.freshports.orgcommit hash: fp1.4490@dev.null.freshports.orgcommit hash: fp1.4490@dev.null.freshports.orgcommit hash: fp1.4490@dev.null.freshports.org files touched by this commit
reg search for other commits by this committer
Remove an unneeded libtool patch.  
16 Jun 2000 22:52:41
commit hash: fp1.1027@dev.null.freshports.orgcommit hash: fp1.1027@dev.null.freshports.orgcommit hash: fp1.1027@dev.null.freshports.orgcommit hash: fp1.1027@dev.null.freshports.org files touched by this commit
asami search for other commits by this committer
Rename INSTALLS_SHLIBS to INSTALLS_SHLIB.  (There was a typo in the   previous
commit message to bsd.port.mk, which said INSTALL_SHLIBS.  Boo.)    
16 Jun 2000 09:48:25
commit hash: fp1.1006@dev.null.freshports.orgcommit hash: fp1.1006@dev.null.freshports.orgcommit hash: fp1.1006@dev.null.freshports.orgcommit hash: fp1.1006@dev.null.freshports.org files touched by this commit
sobomax search for other commits by this committer
Fourth round of INSTALLS_SHLIBS conversion.    

Number of commits found: 73