summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2024-04-11 20:56:05 -0700
committerYuri Victorovich <yuri@FreeBSD.org>2024-04-11 20:56:05 -0700
commit76764498045779e1e2d9d71b74f0d712e05b22e8 (patch)
treedc90a245051d9cf780e2f64b26e78c2fc634548a /math
parentdevel/rye: Broken on i386 (diff)
math/the-algorithms-c++: update g20230110 → g20240212
Diffstat (limited to 'math')
-rw-r--r--math/the-algorithms-c++/Makefile7
-rw-r--r--math/the-algorithms-c++/distinfo6
-rw-r--r--math/the-algorithms-c++/pkg-plist19
3 files changed, 26 insertions, 6 deletions
diff --git a/math/the-algorithms-c++/Makefile b/math/the-algorithms-c++/Makefile
index 6422d51c9e00..1e03f4566a5e 100644
--- a/math/the-algorithms-c++/Makefile
+++ b/math/the-algorithms-c++/Makefile
@@ -1,5 +1,5 @@
PORTNAME= the-algorithms-c++
-DISTVERSION= g20230110
+DISTVERSION= g20240212
CATEGORIES= math
MAINTAINER= yuri@FreeBSD.org
@@ -9,12 +9,13 @@ WWW= https://thealgorithms.github.io/C-Plus-Plus/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= cmake gl localbase:ldflags
+USES= cmake gl localbase:ldflags xorg
USE_GL= gl glut
+USE_XORG= xi xmu
USE_GITHUB= yes
GH_ACCOUNT= TheAlgorithms
GH_PROJECT= C-Plus-Plus
-GH_TAGNAME= e2bf654
+GH_TAGNAME= 2dadbf7
.include <bsd.port.mk>
diff --git a/math/the-algorithms-c++/distinfo b/math/the-algorithms-c++/distinfo
index 5017610a5960..8a5cbf911be9 100644
--- a/math/the-algorithms-c++/distinfo
+++ b/math/the-algorithms-c++/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1673659181
-SHA256 (TheAlgorithms-C-Plus-Plus-g20230110-e2bf654_GH0.tar.gz) = b7bb1fc8ca3fc54f27f4b31b7ec3a25ac9b4755a9e7414683ecc660acb48642a
-SIZE (TheAlgorithms-C-Plus-Plus-g20230110-e2bf654_GH0.tar.gz) = 459011
+TIMESTAMP = 1712893762
+SHA256 (TheAlgorithms-C-Plus-Plus-g20240212-2dadbf7_GH0.tar.gz) = c6aea4599513d6a75143a05c5adb15acbeb750bc7e0ed77487d50dc3f3c828e7
+SIZE (TheAlgorithms-C-Plus-Plus-g20240212-2dadbf7_GH0.tar.gz) = 492990
diff --git a/math/the-algorithms-c++/pkg-plist b/math/the-algorithms-c++/pkg-plist
index e82971ffb5d4..8dfa6416cadb 100644
--- a/math/the-algorithms-c++/pkg-plist
+++ b/math/the-algorithms-c++/pkg-plist
@@ -1,3 +1,4 @@
+bin/backtracking/generate_parentheses
bin/backtracking/graph_coloring
bin/backtracking/knight_tour
bin/backtracking/magic_sequence
@@ -15,7 +16,10 @@ bin/bit_manipulation/count_of_set_bits
bin/bit_manipulation/count_of_trailing_ciphers_in_factorial_n
bin/bit_manipulation/find_non_repeating_number
bin/bit_manipulation/hamming_distance
+bin/bit_manipulation/next_higher_number_with_same_number_of_set_bits
+bin/bit_manipulation/power_of_2
bin/bit_manipulation/set_kth_bit
+bin/bit_manipulation/travelling_salesman_using_bit_manipulation
bin/ciphers/a1z26_cipher
bin/ciphers/atbash_cipher
bin/ciphers/base64_encoding
@@ -25,6 +29,7 @@ bin/ciphers/hill_cipher
bin/ciphers/morse_code
bin/ciphers/vigenere_cipher
bin/ciphers/xor_cipher
+bin/cpu_scheduling_algorithms/fcfs_scheduling
bin/data_structures/avltree
bin/data_structures/binary_search_tree
bin/data_structures/binary_search_tree2
@@ -47,6 +52,7 @@ bin/data_structures/queue_using_linkedlist
bin/data_structures/queue_using_two_stacks
bin/data_structures/rb_tree
bin/data_structures/reverse_a_linked_list
+bin/data_structures/segment_tree
bin/data_structures/skip_list
bin/data_structures/sparse_table
bin/data_structures/stack_using_array
@@ -55,12 +61,15 @@ bin/data_structures/stack_using_queue
bin/data_structures/test_queue
bin/data_structures/test_stack
bin/data_structures/test_stack_students
+bin/data_structures/treap
bin/data_structures/tree
bin/data_structures/tree_234
bin/data_structures/trie_modern
bin/data_structures/trie_tree
bin/data_structures/trie_using_hashmap
bin/divide_and_conquer/karatsuba_algorithm_for_fast_multiplication
+bin/divide_and_conquer/strassen_matrix_multiplication
+bin/games/memory_game
bin/geometry/graham_scan_algorithm
bin/geometry/jarvis_algorithm
bin/geometry/line_segment_intersection
@@ -92,12 +101,15 @@ bin/hash/linear_probing_hash_table
bin/hash/md5
bin/hash/quadratic_probing_hash_table
bin/hash/sha1
+bin/hash/sha256
bin/machine_learning/a_star_search
bin/machine_learning/adaline_learning
+bin/machine_learning/k_nearest_neighbors
bin/machine_learning/kohonen_som_topology
bin/machine_learning/kohonen_som_trace
bin/machine_learning/neural_network
bin/machine_learning/ordinary_least_squares_regressor
+bin/math/aliquot_sum
bin/math/approximate_pi
bin/math/area
bin/math/armstrong_number
@@ -108,6 +120,7 @@ bin/math/check_factorial
bin/math/check_prime
bin/math/complex_numbers
bin/math/double_factorial
+bin/math/eratosthenes
bin/math/eulers_totient_function
bin/math/extended_euclid_algorithm
bin/math/factorial
@@ -124,6 +137,7 @@ bin/math/gcd_recursive_euclidean
bin/math/integral_approximation
bin/math/integral_approximation2
bin/math/inv_sqrt
+bin/math/iterative_factorial
bin/math/large_factorial
bin/math/largest_power
bin/math/lcm_sum
@@ -145,6 +159,7 @@ bin/math/power_of_two
bin/math/prime_factorization
bin/math/prime_numbers
bin/math/primes_up_to_billion
+bin/math/quadratic_equations_complex_numbers
bin/math/realtime_stats
bin/math/sieve_of_eratosthenes
bin/math/sqrt_double
@@ -183,6 +198,7 @@ bin/others/fast_integer_input
bin/others/happy_number
bin/others/iterative_tree_traversals
bin/others/kadanes3
+bin/others/kelvin_to_celsius
bin/others/lru_cache
bin/others/matrix_exponentiation
bin/others/palindrome_of_number
@@ -197,6 +213,7 @@ bin/others/spiral_print
bin/others/stairs_pattern
bin/others/tower_of_hanoi
bin/others/vector_important_functions
+bin/physics/ground_to_ground_projectile_motion
bin/probability/addition_rule
bin/probability/bayes_theorem
bin/probability/binomial_dist
@@ -253,11 +270,13 @@ bin/sorting/selection_sort_recursive
bin/sorting/shell_sort
bin/sorting/shell_sort2
bin/sorting/slow_sort
+bin/sorting/stooge_sort
bin/sorting/strand_sort
bin/sorting/swap_sort
bin/sorting/tim_sort
bin/sorting/wave_sort
bin/sorting/wiggle_sort
+bin/strings/boyer_moore
bin/strings/brute_force_string_searching
bin/strings/horspool
bin/strings/knuth_morris_pratt