mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 21:24:31 +04:00
perl-text-csv_xs: Update to 1.55
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
This commit is contained in:
committed by
Rosen Penev
parent
b011caf5ac
commit
ea5fd93ca8
@@ -8,12 +8,12 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=perl-text-csv_xs
|
||||
PKG_VERSION:=1.53
|
||||
PKG_VERSION:=1.55
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=Text-CSV_XS-$(PKG_VERSION).tgz
|
||||
PKG_SOURCE_URL:=https://cpan.metacpan.org/authors/id/H/HM/HMBRAND
|
||||
PKG_HASH:=ba3231610fc755a69e14eb4a3c6d8cce46cc4fd32853777a6c9ce485a8878b42
|
||||
PKG_HASH:=e4b623b31b4ac35e99d7b797d5b7c2205a5b984bcd88dee1a9460a6a39d40b5e
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/perl/Text-CSV_XS-$(PKG_VERSION)
|
||||
|
||||
PKG_MAINTAINER:=Philip Prindeville <philipp@redfish-solutions.com>
|
||||
|
||||
20
lang/perl-text-csv_xs/patches/900-fix-format-warnings.patch
Normal file
20
lang/perl-text-csv_xs/patches/900-fix-format-warnings.patch
Normal file
@@ -0,0 +1,20 @@
|
||||
--- a/CSV_XS.xs
|
||||
+++ b/CSV_XS.xs
|
||||
@@ -1235,14 +1235,14 @@ static void cx_ErrorDiag (pTHX_ csv_t *c
|
||||
SV **svp;
|
||||
|
||||
if ((svp = hv_fetchs (csv->self, "_ERROR_DIAG", FALSE)) && *svp) {
|
||||
- if (SvIOK (*svp)) (void)fprintf (stderr, "ERR: %d\n", SvIV (*svp));
|
||||
+ if (SvIOK (*svp)) (void)fprintf (stderr, "ERR: %ld\n", SvIV (*svp));
|
||||
if (SvPOK (*svp)) (void)fprintf (stderr, "ERR: %s\n", SvPV_nolen (*svp));
|
||||
}
|
||||
if ((svp = hv_fetchs (csv->self, "_ERROR_POS", FALSE)) && *svp) {
|
||||
- if (SvIOK (*svp)) (void)fprintf (stderr, "POS: %d\n", SvIV (*svp));
|
||||
+ if (SvIOK (*svp)) (void)fprintf (stderr, "POS: %ld\n", SvIV (*svp));
|
||||
}
|
||||
if ((svp = hv_fetchs (csv->self, "_ERROR_FLD", FALSE)) && *svp) {
|
||||
- if (SvIOK (*svp)) (void)fprintf (stderr, "FLD: %d\n", SvIV (*svp));
|
||||
+ if (SvIOK (*svp)) (void)fprintf (stderr, "FLD: %ld\n", SvIV (*svp));
|
||||
}
|
||||
} /* ErrorDiag */
|
||||
|
||||
Reference in New Issue
Block a user