perl-regex.patch 1.2 KB

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