diff options
Diffstat (limited to 'security/p5-Digest-DJB/files/extrapatch-DJB.xs')
-rw-r--r-- | security/p5-Digest-DJB/files/extrapatch-DJB.xs | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/security/p5-Digest-DJB/files/extrapatch-DJB.xs b/security/p5-Digest-DJB/files/extrapatch-DJB.xs deleted file mode 100644 index c019027fa0b4..000000000000 --- a/security/p5-Digest-DJB/files/extrapatch-DJB.xs +++ /dev/null @@ -1,18 +0,0 @@ ---- DJB.xs.orig Sat Dec 24 10:44:54 2005 -+++ DJB.xs Sat Dec 24 10:45:41 2005 -@@ -2,6 +2,15 @@ - #include "perl.h" - #include "XSUB.h" - -+/* try to be compatible with older perls */ -+/* SvPV_nolen() macro first defined in 5.005_55 */ -+/* this is slow, not threadsafe, but works */ -+#include "patchlevel.h" -+#if (PATCHLEVEL == 4) || ((PATCHLEVEL == 5) && (SUBVERSION < 55)) -+static STRLEN nolen_na; -+# define SvPV_nolen(sv) SvPV ((sv), nolen_na) -+#endif -+ - #define UCHAR unsigned char - - size_t |