Skip to content

Commit 895545d

Browse files
committed
patches: Update patch set and make it easier to apply updated files.
* patches: Remove released patches and slipstream unmerged patch. * fullpatch: cd into actual source directory before downloading module, as the patch will fail to apply otherwise due to not being in the source directory. * fullpatch: Automatically recompile, so the user doesn't have to manually do this.
1 parent 376193d commit 895545d

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

phreaknet.sh

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2902,11 +2902,7 @@ phreak_patches() {
29022902
fi
29032903

29042904
## Merged, not yet in a release version (use asterisk_pr_if, e.g. asterisk_pr_if 1234 220400 210900 201400)
2905-
asterisk_pr_if 1704 230300 220900 201900 # res_pjsip_pubsub: Fix ao2 reference leak of subscription tree in ast_sip_subscription, esp. important for --experimental patches
2906-
asterisk_pr_if 1772 230300 220900 201900 # Fix discarded-qualifiers const errors
2907-
asterisk_pr_if 1782 230300 220900 201900 # Fix discarded-qualifiers const errors with BETTER_BACKTRACES
2908-
asterisk_pr_if 1784 230300 220900 201900 # Fix unused-but-set-variable warnings
2909-
asterisk_pr_if 1787 230300 220900 201900 # chan_dahdi: Fix discarded-qualifiers errors
2905+
asterisk_pr_if 1879 230400 221000 202000 # chan_iax2: Add auth_method property getter
29102906

29112907
#asterisk_pr_if 1805 230300 220900 201900 # dsp.c: Add support for detecting R2 signaling tones. Disabled, patch doesn't cleanly apply.
29122908
if [ $AST_MAJOR_VER -le 23 ]; then
@@ -4513,7 +4509,9 @@ elif [ "$cmd" = "fullpatch" ]; then
45134509
fi
45144510
fi
45154511
instantiate_repo
4512+
cd $AST_SOURCE_PARENT_DIR/$AST_SRC_DIR
45164513
phreak_tree_module "$filename"
4514+
$AST_MAKE && $AST_MAKE install
45174515
elif [ "$cmd" = "runtest" ]; then
45184516
if [ ${#2} -eq 0 ]; then
45194517
die "Missing argument."

0 commit comments

Comments
 (0)