mimedefang.patch 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. Index: configure
  2. --- configure.orig 2008-08-15 20:03:41 +0200
  3. +++ configure 2008-09-02 21:33:25 +0200
  4. @@ -5664,7 +5664,7 @@
  5. old_as_test_x="$as_test_x"
  6. as_test_x='test -e'
  7. # Extract the first word of "libmilter/mfapi.h", so it can be a program name with args.
  8. -set dummy libmilter/mfapi.h; ac_word=$2
  9. +set dummy milter/mfapi.h; ac_word=$2
  10. { echo "$as_me:$LINENO: checking for $ac_word" >&5
  11. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  12. if test "${ac_cv_path_MINCLUDE+set}" = set; then
  13. Index: embperl.c
  14. --- embperl.c.orig 2008-08-15 20:03:41 +0200
  15. +++ embperl.c 2008-09-02 21:31:05 +0200
  16. @@ -29,6 +29,9 @@
  17. char *argv[6];
  18. int argc;
  19. +#ifdef SAFE_EMBED_PERL
  20. + PL_perl_destruct_level = 1;
  21. +#endif
  22. if (my_perl != NULL) {
  23. #ifdef SAFE_EMBED_PERL
  24. PL_perl_destruct_level = 1;
  25. @@ -80,7 +83,6 @@
  26. #ifdef PERL_SET_CONTEXT
  27. PERL_SET_CONTEXT(my_perl);
  28. #endif
  29. - PL_perl_destruct_level = 1;
  30. perl_construct(my_perl);
  31. perl_parse(my_perl, xs_init, argc, argv, NULL);
  32. perl_run(my_perl);
  33. Index: milter_cap.c
  34. --- milter_cap.c.orig 2008-08-15 20:03:33 +0200
  35. +++ milter_cap.c 2008-09-02 21:31:05 +0200
  36. @@ -12,7 +12,7 @@
  37. *
  38. ***********************************************************************/
  39. #include <stdio.h>
  40. -#include "libmilter/mfapi.h"
  41. +#include "milter/mfapi.h"
  42. #include "milter_cap.h"
  43. /**********************************************************************
  44. Index: mimedefang.c
  45. --- mimedefang.c.orig 2008-03-07 21:59:28 +0100
  46. +++ mimedefang.c 2008-09-02 21:31:05 +0200
  47. @@ -65,7 +65,7 @@
  48. #include <arpa/inet.h>
  49. #include <netdb.h>
  50. -#include "libmilter/mfapi.h"
  51. +#include "milter/mfapi.h"
  52. #include "milter_cap.h"
  53. #include <sys/socket.h>