You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
1.2 KiB

Index: Regexp-Keep-0.02/Keep.xs
--- Regexp-Keep-0.02/Keep.xs.orig 2004-05-07 19:23:36 +0200
+++ Regexp-Keep-0.02/Keep.xs 2008-02-13 19:30:29 +0100
@@ -11,4 +11,4 @@
KEEP()
PROTOTYPE:
CODE:
- PL_regstartp[0] = PL_reginput - PL_bostr;
+ PL_reg_state.re_state_regoffs[0].start = PL_reginput - PL_bostr;
Index: re-engine-PCRE-0.15/Makefile.PL
--- re-engine-PCRE-0.15/Makefile.PL.orig 2007-12-19 00:38:26 +0100
+++ re-engine-PCRE-0.15/Makefile.PL 2008-02-13 19:30:29 +0100
@@ -7,5 +7,6 @@
VERSION_FROM => 'PCRE.pm',
ABSTRACT_FROM => 'PCRE.pm',
LICENSE => 'perl',
- LIBS => [ '-lpcre' ],
+ INC => `pcre-config --cflags`,
+ LIBS => [ `pcre-config --libs` ],
);
Index: re-engine-TRE-0.04/Makefile.PL
--- re-engine-TRE-0.04/Makefile.PL.orig 2008-02-12 02:06:56 +0100
+++ re-engine-TRE-0.04/Makefile.PL 2008-02-13 19:39:42 +0100
@@ -9,6 +9,6 @@
LICENSE => 'perl',
LIBS => [ '-lpcre' ],
DIR => [ 'tre' ],
- INC => '-Itre',
- LDDLFLAGS => '-shared tre/*.o',
+ INC => `pkg-config tre --cflags`,
+ LDDLFLAGS => [ `pkg-config tre --libs` ]
);