librsync: backport upstream fix
librsync: backport upstream fix

Closes #49770.

hanxue/homebrew,scorphus/homebrew,Linuxbrew/linuxbrew,totalvoidness/homebrew,chadcatlett/homebrew,gawbul/homebrew,liamstask/homebrew,booi/homebrew,Angeldude/linuxbrew,deorth/homebrew,Homebrew/homebrew,AlexejK/homebrew,3van/homebrew,georgschoelly/homebrew,dongcarl/homebrew,theeternalsw0rd/homebrew,ExtremeMan/homebrew,ralic/homebrew,totalvoidness/homebrew,kevinastone/homebrew,kevinastone/homebrew,frodeaa/homebrew,marcwebbie/homebrew,dplarson/homebrew,3van/homebrew,base10/homebrew,scorphus/homebrew,optikfluffel/homebrew,josa42/homebrew,gnubila-france/linuxbrew,muellermartin/homebrew,BrewTestBot/homebrew,filcab/homebrew,dericed/homebrew,georgschoelly/homebrew,ExtremeMan/homebrew,gawbul/homebrew,georgschoelly/homebrew,skinny-framework/homebrew,influxdb/homebrew,quantumsteve/homebrew,muellermartin/homebrew,SuperNEMO-DBD/cadfaelbrew,Homebrew/linuxbrew,Linuxbrew/linuxbrew,optikfluffel/homebrew,saketkc/linuxbrew,getgauge/homebrew,sakra/homebrew,ralic/homebrew,influxdata/homebrew,Angeldude/linuxbrew,totalvoidness/homebrew,joshfriend/homebrew,totalvoidness/homebrew,tutumcloud/homebrew,ilovezfs/homebrew,reelsense/homebrew,joshfriend/homebrew,dutchcoders/homebrew,BrewTestBot/homebrew,Homebrew/homebrew,AlexejK/homebrew,yumitsu/homebrew,nandub/homebrew,influxdata/homebrew,sferik/homebrew,SteveClement/homebrew,base10/homebrew,benjaminfrank/homebrew,sometimesfood/homebrew,ear/homebrew,OJFord/homebrew,pcottle/homebrew,sjackman/linuxbrew,georgschoelly/homebrew,pcottle/homebrew,Linuxbrew/linuxbrew,SteveClement/homebrew,frodeaa/homebrew,ablyler/homebrew,SteveClement/homebrew,ralic/homebrew,reelsense/linuxbrew,nandub/homebrew,tschoonj/homebrew,scorphus/homebrew,quantumsteve/homebrew,reelsense/linuxbrew,muellermartin/homebrew,brunchboy/homebrew,hanxue/homebrew,yumitsu/homebrew,theeternalsw0rd/homebrew,3van/homebrew,marcwebbie/homebrew,michaKFromParis/homebrew-sparks,nandub/homebrew,pcottle/homebrew,nandub/homebrew,skinny-framework/homebrew,Homebrew/homebrew,emcrisostomo/homebrew,filcab/homebrew,tschoonj/homebrew,dickeyxxx/homebrew,sferik/homebrew,influxdb/homebrew,kevinastone/homebrew,brunchboy/homebrew,dericed/homebrew,sakra/homebrew,influxdata/homebrew,marcwebbie/homebrew,theeternalsw0rd/homebrew,ilovezfs/homebrew,filcab/homebrew,filcab/homebrew,pcottle/homebrew,marcwebbie/homebrew,joshfriend/homebrew,dericed/homebrew,dutchcoders/homebrew,reelsense/homebrew,tschoonj/homebrew,liamstask/homebrew,BrewTestBot/homebrew,sjackman/linuxbrew,Homebrew/linuxbrew,lrascao/homebrew,tutumcloud/homebrew,ilovezfs/homebrew,quantumsteve/homebrew,hanxue/homebrew,SteveClement/homebrew,saketkc/linuxbrew,ablyler/homebrew,theeternalsw0rd/homebrew,deorth/homebrew,AlexejK/homebrew,3van/homebrew,SteveClement/homebrew,getgauge/homebrew,quantumsteve/homebrew,saketkc/linuxbrew,saketkc/linuxbrew,influxdata/homebrew,josa42/homebrew,yumitsu/homebrew,ralic/homebrew,brunchboy/homebrew,sometimesfood/homebrew,benjaminfrank/homebrew,lrascao/homebrew,dplarson/homebrew,ablyler/homebrew,Asuranceturix/homebrew,skinny-framework/homebrew,Asuranceturix/homebrew,benjaminfrank/homebrew,sferik/homebrew,sferik/homebrew,influxdb/homebrew,frodeaa/homebrew,Asuranceturix/homebrew,optikfluffel/homebrew,gawbul/homebrew,dericed/homebrew,optikfluffel/homebrew,deorth/homebrew,gnubila-france/linuxbrew,dickeyxxx/homebrew,hanxue/homebrew,dickeyxxx/homebrew,reelsense/linuxbrew,skinny-framework/homebrew,SuperNEMO-DBD/cadfaelbrew,elgertam/homebrew,ear/homebrew,Angeldude/linuxbrew,getgauge/homebrew,influxdb/homebrew,liamstask/homebrew,dongcarl/homebrew,ear/homebrew,gnubila-france/linuxbrew,Angeldude/linuxbrew,ear/homebrew,afh/homebrew,tutumcloud/homebrew,AlexejK/homebrew,BrewTestBot/homebrew,chadcatlett/homebrew,reelsense/linuxbrew,SuperNEMO-DBD/cadfaelbrew,mkrapp/homebrew,reelsense/homebrew,booi/homebrew,gnubila-france/linuxbrew,emcrisostomo/homebrew,elgertam/homebrew,michaKFromParis/homebrew-sparks,liamstask/homebrew,dutchcoders/homebrew,Linuxbrew/linuxbrew,sjackman/linuxbrew,mkrapp/homebrew,scorphus/homebrew,cscetbon/homebrew,booi/homebrew,afh/homebrew,sometimesfood/homebrew,cscetbon/homebrew,Asuranceturix/homebrew,base10/homebrew,lrascao/homebrew,ilovezfs/homebrew,sjackman/linuxbrew,frodeaa/homebrew,dplarson/homebrew,mkrapp/homebrew,elgertam/homebrew,Asuranceturix/homebrew,dutchcoders/homebrew,chadcatlett/homebrew,Homebrew/linuxbrew,elgertam/homebrew,ExtremeMan/homebrew,base10/homebrew,kevinastone/homebrew,dongcarl/homebrew,Homebrew/linuxbrew,getgauge/homebrew,sakra/homebrew,afh/homebrew,SuperNEMO-DBD/cadfaelbrew,muellermartin/homebrew,sometimesfood/homebrew,benjaminfrank/homebrew,emcrisostomo/homebrew,dplarson/homebrew,michaKFromParis/homebrew-sparks,emcrisostomo/homebrew,cscetbon/homebrew,pcottle/homebrew,dickeyxxx/homebrew,OJFord/homebrew,ablyler/homebrew,sakra/homebrew,Homebrew/homebrew,OJFord/homebrew,tschoonj/homebrew,ExtremeMan/homebrew,reelsense/homebrew,OJFord/homebrew,tutumcloud/homebrew,josa42/homebrew,afh/homebrew,brunchboy/homebrew,dongcarl/homebrew