Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 331673 - app-backup/flexbackup-1.2.1-r8 throws deprecation warnings under perl-5.12*
Summary: app-backup/flexbackup-1.2.1-r8 throws deprecation warnings under perl-5.12*
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Hans de Graaff
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: perl-5.12.1
  Show dependency tree
 
Reported: 2010-08-08 17:41 UTC by John R. Graham
Modified: 2010-08-15 22:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to flexbackup sourece removes deprecated code. (flexbackup-1.2.1-perl-5.12-deprecation-warning.patch,621 bytes, patch)
2010-08-08 17:42 UTC, John R. Graham
Details | Diff
Patch to ebuild to apply the source code patch. (flexbackup-1.2.1-r8.ebuild.patch,579 bytes, patch)
2010-08-08 17:42 UTC, John R. Graham
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description John R. Graham gentoo-dev 2010-08-08 17:41:16 UTC
The following (currently harmless) warnings are thrown by flexbackup-1.2.1-r8 when used with perl-5.12*:
defined(%hash) is deprecated at /usr/bin/flexbackup line 1053.
        (Maybe you should just omit the defined()?)
defined(%hash) is deprecated at /usr/bin/flexbackup line 4885.
        (Maybe you should just omit the defined()?)

Patches the flexbackup source and the ebuild to follow.  The patch is backwards compatible all the way to the current stable perl (5.8.8*).

- John
Comment 1 John R. Graham gentoo-dev 2010-08-08 17:42:07 UTC
Created attachment 241881 [details, diff]
Patch to flexbackup sourece removes deprecated code.
Comment 2 John R. Graham gentoo-dev 2010-08-08 17:42:47 UTC
Created attachment 241883 [details, diff]
Patch to ebuild to apply the source code patch.
Comment 3 Hans de Graaff gentoo-dev Security 2010-08-14 08:45:46 UTC
Thanks for the bug report and the patch. Applied to flexbackup-1.2.1-r9.
Comment 4 John R. Graham gentoo-dev 2010-08-15 22:39:29 UTC
Thanks, Hans!  :)

- John