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
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

Port details
the-algorithms-c++ Collection of various algorithms in mathematics, physics, etc
g20240212 math on this many watch lists=0 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 g20230110Version of this port present on the latest quarterly branch.
Maintainer: yuri@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2023-01-14 01:45:18
Last Update: 2024-04-16 01:52:34
Commit Hash: 8386809
License: MIT
WWW:
https://thealgorithms.github.io/C-Plus-Plus/
Description:
TheAlgorithms/C-Plus-Plus is a collection of open-source implementation of a variety of algorithms implemented in C++ and licensed under MIT License. These algorithms span a variety of topics from computer science, mathematics and statistics, data science, machine learning, engineering, etc. The implementations and the associated documentation are meant to provide a learning resource for educators and students. Hence, one may find more than one implementation for the same objective but using a different algorithm strategies and optimizations.
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 (291 items)
Collapse this list.
  1. /usr/local/share/licenses/the-algorithms-c++-g20240212/catalog.mk
  2. /usr/local/share/licenses/the-algorithms-c++-g20240212/LICENSE
  3. /usr/local/share/licenses/the-algorithms-c++-g20240212/MIT
  4. bin/backtracking/generate_parentheses
  5. bin/backtracking/graph_coloring
  6. bin/backtracking/knight_tour
  7. bin/backtracking/magic_sequence
  8. bin/backtracking/minimax
  9. bin/backtracking/n_queens
  10. bin/backtracking/n_queens_all_solution_optimised
  11. bin/backtracking/nqueen_print_all_solutions
  12. bin/backtracking/rat_maze
  13. bin/backtracking/subarray_sum
  14. bin/backtracking/subset_sum
  15. bin/backtracking/sudoku_solver
  16. bin/backtracking/wildcard_matching
  17. bin/bit_manipulation/count_bits_flip
  18. bin/bit_manipulation/count_of_set_bits
  19. bin/bit_manipulation/count_of_trailing_ciphers_in_factorial_n
  20. bin/bit_manipulation/find_non_repeating_number
  21. bin/bit_manipulation/hamming_distance
  22. bin/bit_manipulation/next_higher_number_with_same_number_of_set_bits
  23. bin/bit_manipulation/power_of_2
  24. bin/bit_manipulation/set_kth_bit
  25. bin/bit_manipulation/travelling_salesman_using_bit_manipulation
  26. bin/ciphers/a1z26_cipher
  27. bin/ciphers/atbash_cipher
  28. bin/ciphers/base64_encoding
  29. bin/ciphers/caesar_cipher
  30. bin/ciphers/elliptic_curve_key_exchange
  31. bin/ciphers/hill_cipher
  32. bin/ciphers/morse_code
  33. bin/ciphers/vigenere_cipher
  34. bin/ciphers/xor_cipher
  35. bin/cpu_scheduling_algorithms/fcfs_scheduling
  36. bin/data_structures/avltree
  37. bin/data_structures/binary_search_tree
  38. bin/data_structures/binary_search_tree2
  39. bin/data_structures/binaryheap
  40. bin/data_structures/bloom_filter
  41. bin/data_structures/circular_queue_using_linked_list
  42. bin/data_structures/cll
  43. bin/data_structures/disjoint_set
  44. bin/data_structures/doubly_linked_list
  45. bin/data_structures/dsu_path_compression
  46. bin/data_structures/dsu_union_rank
  47. bin/data_structures/linked_list
  48. bin/data_structures/linkedlist_implentation_usingarray
  49. bin/data_structures/list_array
  50. bin/data_structures/morrisinorder
  51. bin/data_structures/queue_using_array
  52. bin/data_structures/queue_using_array2
  53. bin/data_structures/queue_using_linked_list
  54. bin/data_structures/queue_using_linkedlist
  55. bin/data_structures/queue_using_two_stacks
  56. bin/data_structures/rb_tree
  57. bin/data_structures/reverse_a_linked_list
  58. bin/data_structures/segment_tree
  59. bin/data_structures/skip_list
  60. bin/data_structures/sparse_table
  61. bin/data_structures/stack_using_array
  62. bin/data_structures/stack_using_linked_list
  63. bin/data_structures/stack_using_queue
  64. bin/data_structures/test_queue
  65. bin/data_structures/test_stack
  66. bin/data_structures/test_stack_students
  67. bin/data_structures/treap
  68. bin/data_structures/tree
  69. bin/data_structures/tree_234
  70. bin/data_structures/trie_modern
  71. bin/data_structures/trie_tree
  72. bin/data_structures/trie_using_hashmap
  73. bin/divide_and_conquer/karatsuba_algorithm_for_fast_multiplication
  74. bin/divide_and_conquer/strassen_matrix_multiplication
  75. bin/games/memory_game
  76. bin/geometry/graham_scan_algorithm
  77. bin/geometry/jarvis_algorithm
  78. bin/geometry/line_segment_intersection
  79. bin/graph/bidirectional_dijkstra
  80. bin/graph/breadth_first_search
  81. bin/graph/bridge_finding_with_tarjan_algorithm
  82. bin/graph/connected_components
  83. bin/graph/connected_components_with_dsu
  84. bin/graph/cycle_check_directed_graph
  85. bin/graph/depth_first_search
  86. bin/graph/depth_first_search_with_stack
  87. bin/graph/dijkstra
  88. bin/graph/hamiltons_cycle
  89. bin/graph/hopcroft_karp
  90. bin/graph/is_graph_bipartite
  91. bin/graph/is_graph_bipartite2
  92. bin/graph/kosaraju
  93. bin/graph/kruskal
  94. bin/graph/lowest_common_ancestor
  95. bin/graph/max_flow_with_ford_fulkerson_and_edmond_karp_algo
  96. bin/graph/prim
  97. bin/graph/topological_sort
  98. bin/graph/topological_sort_by_kahns_algo
  99. bin/graph/travelling_salesman_problem
  100. bin/graphics/spirograph
  101. bin/hash/chaining
  102. bin/hash/double_hash_hash_table
  103. bin/hash/linear_probing_hash_table
  104. bin/hash/md5
  105. bin/hash/quadratic_probing_hash_table
  106. bin/hash/sha1
  107. bin/hash/sha256
  108. bin/machine_learning/a_star_search
  109. bin/machine_learning/adaline_learning
  110. bin/machine_learning/k_nearest_neighbors
  111. bin/machine_learning/kohonen_som_topology
  112. bin/machine_learning/kohonen_som_trace
  113. bin/machine_learning/neural_network
  114. bin/machine_learning/ordinary_least_squares_regressor
  115. bin/math/aliquot_sum
  116. bin/math/approximate_pi
  117. bin/math/area
  118. bin/math/armstrong_number
  119. bin/math/binary_exponent
  120. bin/math/binomial_calculate
  121. bin/math/check_amicable_pair
  122. bin/math/check_factorial
  123. bin/math/check_prime
  124. bin/math/complex_numbers
  125. bin/math/double_factorial
  126. bin/math/eratosthenes
  127. bin/math/eulers_totient_function
  128. bin/math/extended_euclid_algorithm
  129. bin/math/factorial
  130. bin/math/fast_power
  131. bin/math/fibonacci
  132. bin/math/fibonacci_fast
  133. bin/math/fibonacci_large
  134. bin/math/fibonacci_matrix_exponentiation
  135. bin/math/fibonacci_sum
  136. bin/math/finding_number_of_digits_in_a_number
  137. bin/math/gcd_iterative_euclidean
  138. bin/math/gcd_of_n_numbers
  139. bin/math/gcd_recursive_euclidean
  140. bin/math/integral_approximation
  141. bin/math/integral_approximation2
  142. bin/math/inv_sqrt
  143. bin/math/iterative_factorial
  144. bin/math/large_factorial
  145. bin/math/largest_power
  146. bin/math/lcm_sum
  147. bin/math/least_common_multiple
  148. bin/math/linear_recurrence_matrix
  149. bin/math/magic_number
  150. bin/math/miller_rabin
  151. bin/math/modular_division
  152. bin/math/modular_exponentiation
  153. bin/math/modular_inverse_fermat_little_theorem
  154. bin/math/modular_inverse_simple
  155. bin/math/n_bonacci
  156. bin/math/n_choose_r
  157. bin/math/ncr_modulo_p
  158. bin/math/number_of_positive_divisors
  159. bin/math/perimeter
  160. bin/math/power_for_huge_numbers
  161. bin/math/power_of_two
  162. bin/math/prime_factorization
  163. bin/math/prime_numbers
  164. bin/math/primes_up_to_billion
  165. bin/math/quadratic_equations_complex_numbers
  166. bin/math/realtime_stats
  167. bin/math/sieve_of_eratosthenes
  168. bin/math/sqrt_double
  169. bin/math/string_fibonacci
  170. bin/math/sum_of_binomial_coefficient
  171. bin/math/sum_of_digits
  172. bin/math/vector_cross_product
  173. bin/math/volume
  174. bin/numerical_methods/babylonian_method
  175. bin/numerical_methods/bisection_method
  176. bin/numerical_methods/brent_method_extrema
  177. bin/numerical_methods/composite_simpson_rule
  178. bin/numerical_methods/durand_kerner_roots
  179. bin/numerical_methods/false_position
  180. bin/numerical_methods/fast_fourier_transform
  181. bin/numerical_methods/gaussian_elimination
  182. bin/numerical_methods/golden_search_extrema
  183. bin/numerical_methods/gram_schmidt
  184. bin/numerical_methods/inverse_fast_fourier_transform
  185. bin/numerical_methods/lu_decompose
  186. bin/numerical_methods/midpoint_integral_method
  187. bin/numerical_methods/newton_raphson_method
  188. bin/numerical_methods/ode_forward_euler
  189. bin/numerical_methods/ode_midpoint_euler
  190. bin/numerical_methods/ode_semi_implicit_euler
  191. bin/numerical_methods/qr_decomposition
  192. bin/numerical_methods/qr_eigen_values
  193. bin/numerical_methods/rungekutta
  194. bin/numerical_methods/successive_approximation
  195. bin/others/buzz_number
  196. bin/others/decimal_to_binary
  197. bin/others/decimal_to_hexadecimal
  198. bin/others/decimal_to_roman_numeral
  199. bin/others/easter
  200. bin/others/fast_integer_input
  201. bin/others/happy_number
  202. bin/others/iterative_tree_traversals
  203. bin/others/kadanes3
  204. bin/others/kelvin_to_celsius
  205. bin/others/lru_cache
  206. bin/others/matrix_exponentiation
  207. bin/others/palindrome_of_number
  208. bin/others/paranthesis_matching
  209. bin/others/pascal_triangle
  210. bin/others/postfix_evaluation
  211. bin/others/primality_test
  212. bin/others/recursive_tree_traversal
  213. bin/others/smallest_circle
  214. bin/others/sparse_matrix
  215. bin/others/spiral_print
  216. bin/others/stairs_pattern
  217. bin/others/tower_of_hanoi
  218. bin/others/vector_important_functions
  219. bin/physics/ground_to_ground_projectile_motion
  220. bin/probability/addition_rule
  221. bin/probability/bayes_theorem
  222. bin/probability/binomial_dist
  223. bin/probability/geometric_dist
  224. bin/probability/poisson_dist
  225. bin/probability/windowed_median
  226. bin/search/binary_search
  227. bin/search/exponential_search
  228. bin/search/fibonacci_search
  229. bin/search/floyd_cycle_detection_algo
  230. bin/search/hash_search
  231. bin/search/interpolation_search
  232. bin/search/interpolation_search2
  233. bin/search/jump_search
  234. bin/search/linear_search
  235. bin/search/median_search
  236. bin/search/median_search2
  237. bin/search/saddleback_search
  238. bin/search/sublist_search
  239. bin/search/ternary_search
  240. bin/search/text_search
  241. bin/sorting/bead_sort
  242. bin/sorting/binary_insertion_sort
  243. bin/sorting/bitonic_sort
  244. bin/sorting/bogo_sort
  245. bin/sorting/bubble_sort
  246. bin/sorting/bucket_sort
  247. bin/sorting/cocktail_selection_sort
  248. bin/sorting/comb_sort
  249. bin/sorting/count_inversions
  250. bin/sorting/counting_sort
  251. bin/sorting/counting_sort_string
  252. bin/sorting/cycle_sort
  253. bin/sorting/dnf_sort
  254. bin/sorting/gnome_sort
  255. bin/sorting/heap_sort
  256. bin/sorting/insertion_sort
  257. bin/sorting/library_sort
  258. bin/sorting/merge_insertion_sort
  259. bin/sorting/merge_sort
  260. bin/sorting/non_recursive_merge_sort
  261. bin/sorting/numeric_string_sort
  262. bin/sorting/odd_even_sort
  263. bin/sorting/pancake_sort
  264. bin/sorting/pigeonhole_sort
  265. bin/sorting/quick_sort
  266. bin/sorting/quick_sort_3
  267. bin/sorting/radix_sort
  268. bin/sorting/radix_sort2
  269. bin/sorting/random_pivot_quick_sort
  270. bin/sorting/recursive_bubble_sort
  271. bin/sorting/selection_sort_iterative
  272. bin/sorting/selection_sort_recursive
  273. bin/sorting/shell_sort
  274. bin/sorting/shell_sort2
  275. bin/sorting/slow_sort
  276. bin/sorting/stooge_sort
  277. bin/sorting/strand_sort
  278. bin/sorting/swap_sort
  279. bin/sorting/tim_sort
  280. bin/sorting/wave_sort
  281. bin/sorting/wiggle_sort
  282. bin/strings/boyer_moore
  283. bin/strings/brute_force_string_searching
  284. bin/strings/horspool
  285. bin/strings/knuth_morris_pratt
  286. bin/strings/manacher_algorithm
  287. bin/strings/rabin_karp
  288. bin/strings/z_function
  289. @owner
  290. @group
  291. @mode
Collapse this list.
Dependency lines:
  • the-algorithms-c++>0:math/the-algorithms-c++
To install the port:
cd /usr/ports/math/the-algorithms-c++/ && make install clean
To add the package, run one of these commands:
  • pkg install math/the-algorithms-c++
  • pkg install the-algorithms-c++
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: the-algorithms-c++
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1712893762 SHA256 (TheAlgorithms-C-Plus-Plus-g20240212-2dadbf7_GH0.tar.gz) = c6aea4599513d6a75143a05c5adb15acbeb750bc7e0ed77487d50dc3f3c828e7 SIZE (TheAlgorithms-C-Plus-Plus-g20240212-2dadbf7_GH0.tar.gz) = 492990

Packages (timestamps in pop-ups are UTC):
the-algorithms-c++
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latestg20230110g20240212-g20230110g20240212---
FreeBSD:13:quarterlyg20230110g20230110g20230110g20230110g20230110g20230110g20230110g20230110
FreeBSD:14:latestg20230110g20240212-g20230110g20240212g20230110-g20230110
FreeBSD:14:quarterlyg20230110g20230110-g20230110g20230110g20230110g20230110g20230110
FreeBSD:15:latestg20230110g20240212n/ag20230110n/ag20230110g20230110g20230110
FreeBSD:15:quarterly--n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. cmake : devel/cmake-core
  2. ninja : devel/ninja
  3. xorgproto>=0 : x11/xorgproto
  4. xi.pc : x11/libXi
  5. xmu.pc : x11-toolkits/libXmu
Runtime dependencies:
  1. xi.pc : x11/libXi
  2. xmu.pc : x11-toolkits/libXmu
Library dependencies:
  1. libGL.so : graphics/libglvnd
  2. libglut.so : graphics/freeglut
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
math_the-algorithms-c++
USES:
cmake gl localbase:ldflags xorg
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/TheAlgorithms/C-Plus-Plus/tar.gz/2dadbf7?dummy=/
Collapse this list.

Number of commits found: 5

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
g20240212
16 Apr 2024 01:52:34
commit hash: 8386809c446ad21eb5d7d4c371ac1a7a3ee14b9ccommit hash: 8386809c446ad21eb5d7d4c371ac1a7a3ee14b9ccommit hash: 8386809c446ad21eb5d7d4c371ac1a7a3ee14b9ccommit hash: 8386809c446ad21eb5d7d4c371ac1a7a3ee14b9c files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
math/the-algorithms-c++: Add workaround for compilation failure on 15-CURRENT

Reported by:	fallout
g20240212
12 Apr 2024 03:56:05
commit hash: 76764498045779e1e2d9d71b74f0d712e05b22e8commit hash: 76764498045779e1e2d9d71b74f0d712e05b22e8commit hash: 76764498045779e1e2d9d71b74f0d712e05b22e8commit hash: 76764498045779e1e2d9d71b74f0d712e05b22e8 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
math/the-algorithms-c++: update g20230110 → g20240212
g20230110
12 Aug 2023 01:37:42
commit hash: 8fa8f247a8e0a791534b3aa6708cdbe3e7bb75b5commit hash: 8fa8f247a8e0a791534b3aa6708cdbe3e7bb75b5commit hash: 8fa8f247a8e0a791534b3aa6708cdbe3e7bb75b5commit hash: 8fa8f247a8e0a791534b3aa6708cdbe3e7bb75b5 files touched by this commit
Piotr Kubaj (pkubaj) search for other commits by this committer
math/the-algorithms-c++: drop not necessary CMAKE_ARGS
g20230110
13 Mar 2023 00:02:57
commit hash: 559697321a6c96a8a5aca779fc97fa8d292d61f1commit hash: 559697321a6c96a8a5aca779fc97fa8d292d61f1commit hash: 559697321a6c96a8a5aca779fc97fa8d292d61f1commit hash: 559697321a6c96a8a5aca779fc97fa8d292d61f1 files touched by this commit
Piotr Kubaj (pkubaj) search for other commits by this committer
math/the-algorithms-c++: fix build without libomp

CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
CMake Error at /usr/local/share/cmake/Modules/FindOpenMP.cmake:261
(try_compile):
  Failed to configure test project build system.
Call Stack (most recent call first):
  /usr/local/share/cmake/Modules/FindOpenMP.cmake:537 (_OPENMP_GET_FLAGS)
  CMakeLists.txt:21 (find_package)
g20230110
14 Jan 2023 01:42:19
commit hash: b41b467ee004cccd28baf3e3639d60f2efe3d1d1commit hash: b41b467ee004cccd28baf3e3639d60f2efe3d1d1commit hash: b41b467ee004cccd28baf3e3639d60f2efe3d1d1commit hash: b41b467ee004cccd28baf3e3639d60f2efe3d1d1 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
math/the-algorithms-c++: New port: Collection of various algorithms in
mathematics, physics, etc

Number of commits found: 5