mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
Provide a patch to quiece a runtime warning for a deprecated form of pattern
matching.
This commit is contained in:
parent
8813f8a043
commit
5682ce6fc5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=294994
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= hploscripts
|
||||
PORTVERSION= 3.0
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= sysutils perl5
|
||||
MASTER_SITES= CRITICAL
|
||||
|
||||
|
11
sysutils/hploscripts/files/patch-locfg.pl
Normal file
11
sysutils/hploscripts/files/patch-locfg.pl
Normal file
@ -0,0 +1,11 @@
|
||||
--- ./locfg.pl.orig 2012-04-18 09:45:56.000000000 +0200
|
||||
+++ ./locfg.pl 2012-04-18 09:46:13.000000000 +0200
|
||||
@@ -143,7 +143,7 @@
|
||||
$ln =~ s/\r|\n//g;
|
||||
|
||||
# Find LOGIN tag.
|
||||
- if ((($ln =~ ?<[ ]*LOGIN[ ]?) || ($ln =~ ?<[ ]*LOGIN$?)) && ($pword) && ($uname)) {
|
||||
+ if ((($ln =~m ?<[ ]*LOGIN[ ]?) || ($ln =~m ?<[ ]*LOGIN$?)) && ($pword) && ($uname)) {
|
||||
while( !($ln =~ m/\>/i) ) {
|
||||
$ln = <F>;
|
||||
}
|
Loading…
Reference in New Issue
Block a user