Bug 158646 - sysutils/flexbackup shows a perl deprecated warning with perl 5.12
Summary: sysutils/flexbackup shows a perl deprecated warning with perl 5.12
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Marcus von Appen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-04 21:20 UTC by B.Euler
Modified: 2011-07-06 19:30 UTC (History)
0 users

See Also:


Attachments
file.diff (862 bytes, patch)
2011-07-04 21:20 UTC, B.Euler
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description B.Euler 2011-07-04 21:20:07 UTC
The port sysutils/flexbackup shows a perl deprecated warning when perl version 5.12 is used.

I have recently updated to 5.12 an noticed this warning when running flexbackup:

defined(%hash) is deprecated at /usr/local/bin/flexbackup line 1053.
        (Maybe you should just omit the defined()?)
defined(%hash) is deprecated at /usr/local/bin/flexbackup line 4885.
        (Maybe you should just omit the defined()?)

Fix: Based on this patch
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-backup/flexbackup/files/flexbackup-1.2.1-perl-5.12-deprecation-warning.patch?view=log

a modification the latest flexbackup version 1.2.1_4 worked for me:
How-To-Repeat: * Install flexbackup from ports
* update to perl-1.12 (if not already installed)
* call flexbackup like "flexbackup -dir /tmp -device /usr/home
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-07-04 21:20:22 UTC
Responsible Changed
From-To: freebsd-ports-bugs->mva

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2011-07-06 19:21:31 UTC
mva         2011-07-06 18:21:17 UTC

  FreeBSD ports repository

  Modified files:
    sysutils/flexbackup  Makefile 
    sysutils/flexbackup/files patch-flexbackup 
  Log:
  - Added perl deprecation fix for defined(%hash)
  
  PR:             ports/158646
  Submitted by:   "B.Euler" <olodin@edain.de>
  
  Revision  Changes    Path
  1.29      +1 -1      ports/sysutils/flexbackup/Makefile
  1.3       +56 -34    ports/sysutils/flexbackup/files/patch-flexbackup
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Marcus von Appen freebsd_committer freebsd_triage 2011-07-06 19:21:53 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!