Commit graph

22198 commits

Author SHA1 Message Date
Gleb Popov
36d492f1ff lang/purescript: Update to 0.15.7 2022-12-24 18:35:55 +03:00
Lorenzo Salvadore
b5d8e70288
lang/gcc11-devel: Update to 11.3.1.s20221223 2022-12-24 15:02:07 +01:00
Gleb Popov
a84795fd56 Some Haskell ports: Mark BROKEN on aarch64.
These ports are failing on build cluster for some time. I tried reproducing
it locally and it turned out to be a strange heisenbug - the compiler crashes
when compiling different unrelated files and restarting the build makes the
problem go away.

I wasn't able to extract a minimal reproducing testcase, so didn't contact
upstream.

Mark BROKEN for now and hope for a new compiler version to work.
Reported by:	pkg-fallout
2022-12-24 09:00:52 +03:00
Dmitry Marakasov
41dbb76112 lang/python311: fix asyncio.subprocess regression
Fix losing stdout of asyncio.subprocess spawned processes.

PR:		268502
Approved by:	wen (python@)
Upstream issue:	https://github.com/python/cpython/issues/100133
2022-12-23 21:42:37 +03:00
Dmitri Goutnik
8a20ef010a lang/gomacro: Update to 2.7-601, unbreak with go1.20rc1
FreeBSD 11 compat was removed in go1.20, unbreak build by removing
obsolete syscalls.
2022-12-20 15:09:10 -05:00
Mikael Urankar
ba14e01a52 lang/rust: Bump revisions after 1.66.0
PR:		268415
2022-12-20 18:37:15 +01:00
Mikael Urankar
0f9b08f604 lang/rust: Update to 1.66.0
Announce:	https://blog.rust-lang.org/2022/12/15/Rust-1.66.0.html
ChangeLog:	https://github.com/rust-lang/rust/releases/tag/1.66.0
PR:		268415
Exp-run by:	antoine
Tested by:	mikael,pkubaj
2022-12-20 18:36:07 +01:00
Mikael Urankar
b7ddc05690 lang/rust-bootstrap: Do not build with debug=true on riscv64
It causes a build failure with rust 1.66.0

Reported upstream as https://github.com/rust-lang/rust/issues/105957

PR:		268415
2022-12-20 18:36:06 +01:00
Thierry Thomas
9153b6064b lang/gnat12: fix on arm64 and add an asset for FreeBSD-14 on i386 2022-12-20 18:08:29 +01:00
Sergey A. Osokin
dbaa3a72c3 lang/luajit-devel: update to the recent commit 2022-12-20 10:07:54 -05:00
Lorenzo Salvadore
7dc33d204a
lang/gcc13-devel: Update to 13.0.0.s20221218 2022-12-19 21:17:22 +01:00
Thierry Thomas
5b3089ca6b lang/gnat12: fix on i386 and add an asset for FreeBSD-13.1 / i386 2022-12-19 17:54:23 +01:00
Muhammad Moinur Rahman
721e5776c9 Mk/**tex.mk: Convert bsd.tex.mk to USES=tex
- Update all the consumers to use USES=tex
- USE_TEX=yes is the old way of writing USES=tex which has been removed
  and replaced in all ports
- Almost all of the USE_TEX features remains unchanged
- Some consumers had the same variables defined both in the mk
  infrastructure and also in the ports which have been removed from the
  ports as those are redundant.

In case any of the consumers are failing to build please make sure that
the nexessary USES=tex is there. Unlike previous USE_TEX=yes will no
longer load the required VARS for tex and related dependencies.

Reviewed by:	portmgr
Approved by:	portmgr (blanket)
2022-12-19 08:44:58 -06:00
Thierry Thomas
2af489c04c */*: chase the upgrade of devel/libfmt to 9.1.0
PR:		268081
2022-12-19 10:31:34 +01:00
Lorenzo Salvadore
cbdf6be4c4
lang/gcc12-devel: Update to 12.2.1.s20221217 2022-12-18 21:33:10 +01:00
Dimitry Andric
9f8385f987 lang/gjs: fix build with libc++ 15
During an exp-run for llvm 15 (see bug 265425), it turned out that
lang/gjs failed to build with clang and libc++ 15:

  In file included from ../test/gjs-tests.cpp:11:
  In file included from /usr/include/c++/v1/random:1689:
  In file included from /usr/include/c++/v1/__random/discrete_distribution.h:18:
  In file included from /usr/include/c++/v1/numeric:167:
  In file included from /usr/include/c++/v1/functional:515:
  In file included from /usr/include/c++/v1/__functional/boyer_moore_searcher.h:24:
  In file included from /usr/include/c++/v1/array:127:
  In file included from /usr/include/c++/v1/algorithm:1851:
  In file included from /usr/include/c++/v1/__algorithm/ranges_sample.h:13:
  In file included from /usr/include/c++/v1/__algorithm/sample.h:18:
  /usr/include/c++/v1/__random/uniform_int_distribution.h:162:5: error: static assertion failed due to requirement '__libcpp_random_is_valid_inttype<char32_t>::value': IntType must be a supported integer type
      static_assert(__libcpp_random_is_valid_inttype<_IntType>::value, "IntType must be a supported integer type");
      ^             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ../test/gjs-tests.cpp:71:16: note: in instantiation of template class 'std::uniform_int_distribution<char32_t>' requested here
          return std::uniform_int_distribution<T>(lowest_value)(gen);
                 ^
  ../test/gjs-tests.cpp:942:30: note: in instantiation of function template specialization 'Gjs::Test::get_random_number<char32_t>' requested here
      char32_t random_char32 = get_random_number<char32_t>();
                               ^

This is because std::uniform_int_distribution is only defined for strict
integer types, such as short, int, etc. Use
std::uniform_int_distribution<uint32_t> instead, and cast the result
back to a char32_t.

PR:		268329
Approved by:	portmgr (tcberner)
MFH:		2022Q4
2022-12-18 18:34:13 +01:00
Dimitry Andric
b5a6298f4d lang/mono: fix build with clang 15
During an exp-run for llvm 15 (see bug 265425), it turned out that
lang/mono failed to build with clang 15, on i386:

  mini-runtime.c:806:24: error: incompatible pointer to integer conversion assigning to 'guint32' (aka 'unsigned int') from 'MonoLMF *' (aka 'struct MonoLMF *') [-Wint-conversion]
          ext->lmf.previous_lmf = *lmf_addr;
                                ^ ~~~~~~~~~
  mini-runtime.c:808:24: error: incompatible pointer to integer conversion assigning to 'guint32' (aka 'unsigned int') from 'gpointer' (aka 'void *') [-Wint-conversion]
          ext->lmf.previous_lmf = (gpointer)(((gssize)ext->lmf.previous_lmf) | 2);
                                ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

As noted, this is because on i386 the previous_lmf field is declared as
guint32, while other architectures use gpointer.

Upstream changed the field to gpointer in
<https://github.com/mono/mono/pull/8308/commits/1c43a8476b5>, which got
merged into main in <https://github.com/mono/mono/commit/384c4a4e2ea>.

PR:		268321
Approved by:	portmgr (tcberner)
MFH:		2022Q4
2022-12-18 18:33:30 +01:00
Kai Knoblich
cae848fa07 lang/python37: Deprecate/Set to expire
* Python 3.7 will reach its End-of-Life on 2023-06-27.  Deprecate it and
  set the expiration date accordingly.

Approved by:	kai (python, maintainer)
Differential Revision:	https://reviews.freebsd.org/D37587
2022-12-18 17:07:44 +01:00
Lorenzo Salvadore
f6d75b986c
lang/gcc11-devel: Update to 11.3.1.s20221216 2022-12-17 19:26:45 +01:00
Thierry Thomas
45b9b6b5da lang/gnat12: remove programs suffix
Since GNAT is now installed in a specific prefix, we can simplify by
removing the programs suffix: this will avoid the usage of binary
aliases, only setting the PATH is necessary.
2022-12-15 14:24:29 +01:00
Wen Heping
555236ffdd lang/python39: Update to 3.9.16
PR:		268244
Reported by:	wen@
Exp-run by:	antoine@
2022-12-15 01:40:55 +00:00
Antoine Brodin
45373222a9 lang/rust-bootstrap: sync flavors with freebsd-sysroot 2022-12-14 17:46:40 +00:00
Jan Beich
42e4e30c87 lang/clover: drop USE_LDCONFIG due to dlopen(3)
OpenCL drivers in clover lack headers and unlikely to be usable
outside of ocl-icd which uses dlopen(3) to find the drivers via
${PREFIX}/etc/OpenCL/vendors/*.icd (or OCL_ICD_VENDORS).

Approved by:	manu (on dev-commits-ports-main@ list)
2022-12-14 12:04:26 +00:00
Thierry Thomas
e4a9d45e36 lang/gnat12: install in a separate directory with its own gcc
Gnat runs along with a gcc compiled with Ada, but we don’t want neither
modify lang/gcc12 nor conflict with it. Therefore we have to install it
in a separate directory.
2022-12-13 20:05:19 +01:00
Muhammad Moinur Rahman
fd16053f4e lang/guile: Fix runtime
Stripping the libs gives a runtime error. For now disabling the
post-install stripping.

PR:		265414
Reported by:	yuri
MFH:		2022Q4
2022-12-13 08:00:42 -06:00
Dave Cottlehuber
2ff6d1b2e2 lang/elixir-devel: allow Erlang/OTP version to be user-configured
Reported by:	Pat Maddox <pat@patmaddox.com>

Sponsored by:	SkunkWerks, GmbH
2022-12-13 09:29:10 +00:00
Joseph Mingrone
40b230a1d7
lang/fennel: Update to 1.2.1
https://git.sr.ht/~technomancy/fennel/tree/main/item/changelog.md#121--2022-10-15

Sponsored by:	The FreeBSD Foundation
2022-12-12 15:58:44 -04:00
Lorenzo Salvadore
82c6064d9f
lang/gcc13-devel: Update to 13.0.0.s20221211 2022-12-12 18:46:10 +01:00
Dimitry Andric
33b05a16fc lang/perl5*: remove workarounds for lld 15 and dtrace enabled
After https://cgit.freebsd.org/src/commit/?id=be39466a1035, there is no
need anymore to patch the perl5 Makefiles to add
"-Wl,--allow-multiple-definition" to the linker flags. They should now
link with lld 15 and later without any issues.

PR:		265516
Fixes:		8c69fc20e6
MFH:		2022Q4
2022-12-12 14:34:48 +01:00
Yasuhiro Kimura
63ffcdf556 lang/ruby32: Update to 3.2.0-rc1
ReleaseNotes:	https://www.ruby-lang.org/en/news/2022/12/06/ruby-3-2-0-rc1-released/
PR:		267776
Approved by:	meta (ruby, maintainer)
MFH:		2022Q4
Security:	84ab03b6-6c20-11ed-b519-080027f5fec9
2022-12-12 20:01:49 +09:00
Thierry Thomas
e5c2e31c09 lang/gnat12: mark IGNORE for the moment
Sorry, I made a mistake: it only works on my machines because it needs
gcc12 built from this port! gcc12 from lang/gcc12 is not sufficient.
2022-12-12 11:42:26 +01:00
Michael Zhilin
7a38f99277 lang/kotlin: update to 1.7.22 2022-12-12 09:42:22 +03:00
Lorenzo Salvadore
989989117a
lang/gcc12-devel: Update to 12.2.1.s20221210 2022-12-11 22:33:07 +01:00
Thierry Thomas
d435301318 lang/gnat12: adding GNAT from Gcc-12
This Ada compiler is built from Gcc-12, with help from Stephane Carrez
(Ada France).

The first time it uses lang/gcc6-aux as a bootstrap, but it can produce
a bootstrap for the next time, either for this version or for the next
ones.

Yet to be done:
- plug it into Mk/Uses/ada.mk
- build more bootstrapping assets
  (ATM they exist only for amd64 on FreeBSD 13 and 14)
- add a test target
- try to cross-compile for more platforms?
2022-12-11 19:38:00 +01:00
Dmitri Goutnik
ac4d327f05 lang/go-devel: Update to go1.20rc1
Changes:	https://tip.golang.org/doc/go1.20
2022-12-11 07:00:45 -05:00
Dmitri Goutnik
d9ad1002d5 all: Bump PORTREVISION after lang/go{118,119} update 2022-12-11 06:17:27 -05:00
Dmitri Goutnik
2117c1ff1a lang/go119: Update to 1.19.4
Changes:	https://go.dev/doc/devel/release#go1.19.4

Security:	6f5192f5-75a7-11ed-83c0-411d43ce7fe4
2022-12-11 06:16:01 -05:00
Dmitri Goutnik
d6a439ee49 lang/go118: Update to 1.18.9
Changes:	https://go.dev/doc/devel/release#go1.18.9

Security:	6f5192f5-75a7-11ed-83c0-411d43ce7fe4
2022-12-11 06:16:01 -05:00
Lorenzo Salvadore
a6e00b38b3
lang/gcc11-devel: Update to 11.3.1.s20221209 2022-12-10 16:41:07 +01:00
Tobias C. Berner
727562b175 KDE: Update KDE Gear to 22.12
KDE Gear 22.12 is Here!

Thursday, 8 December 2022

KDE Gear ⚙️ is back with exciting new features, performance boosts, and
bugfixes for all your favorite KDE apps!

In this release: Kate extends a warm welcome, Dolphin offers you more
choices, and a lot of apps serve up hamburgers galore!

Announcement: https://kde.org/announcements/gear/22.12.0/
2022-12-10 08:46:22 +01:00
Yasuhiro Kimura
9f81108971 lang/ruby31: Update to 3.1.3
ReleaseNotes:	https://www.ruby-lang.org/en/news/2022/11/24/ruby-3-1-3-released/
PR:		267979
Approved by:	meta (ruby@)
MFH:		2022Q4
Security:	84ab03b6-6c20-11ed-b519-080027f5fec9
2022-12-09 13:35:48 +09:00
Yasuhiro Kimura
6db5d783fe lang/ruby30: Update to 3.0.5
ReleaseNotes:	https://www.ruby-lang.org/en/news/2022/11/24/ruby-3-0-5-released/
PR:		267978
Approved by:	maintainer timeout
Exp-run by:	antoine
MFH:		2022Q4
Security:	84ab03b6-6c20-11ed-b519-080027f5fec9
2022-12-09 13:35:45 +09:00
Yasuhiro Kimura
60808c6c00 lang/ruby27: Update to 2.7.7
ReleaseNotes:	https://www.ruby-lang.org/en/news/2022/11/24/ruby-2-7-7-released/
PR:		267977
Approved by:	maintainer timeout
MFH:		2022Q4
Security:	84ab03b6-6c20-11ed-b519-080027f5fec9
2022-12-09 13:35:40 +09:00
Yasuhiro Kimura
e8d4ab71ea lang/ruby32: Fix plist error when both CAPIDOCS and DOCS options are on.
When the both options are on, post-install-DOCS-on target is called
after post-install-CAPIDOCS-on has completed. And in the former files
under ${WRKSRC}/doc/ are copied to ${STAGEDIR}${RUBY_DOCDIR}. This
means files under ${WRKSRC}/doc/capi are copied to
${STAGEDIR}${RUBY_DOCDIR}/capi again. And of course
${WRKSRC}/doc/capi/.timestamp is included in them. As a result, even
though ${STAGEDIR}${RUBY_DOCDIR}/capi/.timestamp is removed in
post-install-CAPIDOCS-on target, it is detected as orphaned file at
check-plist phase. So fix it by adding 3rd argument to
${COPYTREE_SHARE} command so .timestamp is excluded from files to be
copied.

PR:		267775
Approved by:	meta (ruby@)
Fixes:		b49bdb1fe4 lang/ruby32: Simplify CAPIDOCS handling
2022-12-09 13:35:01 +09:00
Yasuhiro Kimura
e09de8e044 lang/ruby31: Fix plist error when both CAPIDOCS and DOCS options are on.
When the both options are on, post-install-DOCS-on target is called
after post-install-CAPIDOCS-on has completed. And in the former files
under ${WRKSRC}/doc/ are copied to ${STAGEDIR}${RUBY_DOCDIR}. This
means files under ${WRKSRC}/doc/capi are copied to
${STAGEDIR}${RUBY_DOCDIR}/capi again. And of course
${WRKSRC}/doc/capi/.timestamp is included in them. As a result, even
though ${STAGEDIR}${RUBY_DOCDIR}/capi/.timestamp is removed in
post-install-CAPIDOCS-on target, it is detected as orphaned file at
check-plist phase. So fix it by adding 3rd argument to
${COPYTREE_SHARE} command so .timestamp is excluded from files to be
copied.

PR:		267775
Approved by:	meta (ruby@)
Fixes:		6021649ff0 lang/ruby31: Simplify CAPIDOCS handling
2022-12-09 13:34:59 +09:00
Yasuhiro Kimura
2930b1926d lang/ruby30: Fix plist error when both CAPIDOCS and DOCS options are on.
When the both options are on, post-install-DOCS-on target is called
after post-install-CAPIDOCS-on has completed. And in the former files
under ${WRKSRC}/doc/ are copied to ${STAGEDIR}${RUBY_DOCDIR}. This
means files under ${WRKSRC}/doc/capi are copied to
${STAGEDIR}${RUBY_DOCDIR}/capi again. And of course
${WRKSRC}/doc/capi/.timestamp is included in them. As a result, even
though ${STAGEDIR}${RUBY_DOCDIR}/capi/.timestamp is removed in
post-install-CAPIDOCS-on target, it is detected as orphaned file at
check-plist phase. So fix it by adding 3rd argument to
${COPYTREE_SHARE} command so .timestamp is excluded from files to be
copied.

PR:		267775
Approved by:	meta (ruby@)
Fixes:		93e3548c57 lang/ruby30: Simplify CAPIDOCS handling
2022-12-09 13:34:58 +09:00
Yasuhiro Kimura
bca8d7334e lang/ruby27: Fix plist error when both CAPIDOCS and DOCS options are on.
When the both options are on, post-install-DOCS-on target is called
after post-install-CAPIDOCS-on has completed. And in the former files
under ${WRKSRC}/doc/ are copied to ${STAGEDIR}${RUBY_DOCDIR}. This
means files under ${WRKSRC}/doc/capi are copied to
${STAGEDIR}${RUBY_DOCDIR}/capi again. And of course
${WRKSRC}/doc/capi/.timestamp is included in them. As a result, even
though ${STAGEDIR}${RUBY_DOCDIR}/capi/.timestamp is removed in
post-install-CAPIDOCS-on target, it is detected as orphaned file at
check-plist phase. So fix it by adding 3rd argument to
${COPYTREE_SHARE} command so .timestamp is excluded from files to be
copied.

PR:		267775
Approved by:	meta (ruby@)
Fixes:		bdbe2a2f40 lang/ruby27: Simplify CAPIDOCS handling
2022-12-09 13:34:56 +09:00
Emmanuel Vadot
fc5168cd3d graphics/mesa: Stop adding libglapi.so as a deps when not needed
Not every mesa port needs this lib so stop adding a dep on it if not needed.

Sponsored by:	Beckhoff Automation GmbH & Co. KG
2022-12-08 20:00:49 +01:00
Emmanuel Vadot
799245580a graphics/mesa: Do not add USE_LDCONFIG for every mesa ports
Not every mesa ports provides shared libraries intented for dynamic uses
so stop running ldconfig script for those ports.

Sponsored by:	Beckhoff Automation GmbH & Co. KG
2022-12-08 20:00:46 +01:00
Emmanuel Vadot
07b3e671fb lang/clover: Cleanup
- Specify license directly in this port.
- Order ONLY_FOR_ARCH

Sponsored by:   Beckhoff Automation GmbH & Co. KG
2022-12-08 20:00:43 +01:00