SOURCES: bogofilter-home_etc.patch, bogofilter-dummy.patch - adapt...

ciesiel ciesiel at pld-linux.org
Thu Nov 3 16:44:12 CET 2005


Author: ciesiel                      Date: Thu Nov  3 15:44:12 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- adapted patches for version 0.96.4

---- Files affected:
SOURCES:
   bogofilter-home_etc.patch (1.4 -> 1.5) , bogofilter-dummy.patch (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SOURCES/bogofilter-home_etc.patch
diff -u SOURCES/bogofilter-home_etc.patch:1.4 SOURCES/bogofilter-home_etc.patch:1.5
--- SOURCES/bogofilter-home_etc.patch:1.4	Sun Oct 24 18:53:25 2004
+++ SOURCES/bogofilter-home_etc.patch	Thu Nov  3 16:44:07 2005
@@ -1,24 +1,24 @@
-diff -urN bogofilter-0.92.8.oryg/src/configfile.c bogofilter-0.92.8/src/configfile.c
---- bogofilter-0.92.8.oryg/src/configfile.c	2004-08-22 17:52:28.000000000 +0200
-+++ bogofilter-0.92.8/src/configfile.c	2004-10-24 18:20:00.925433952 +0200
-@@ -125,7 +125,14 @@
+diff -urN bogofilter-0.96.4.orig/src/configfile.c bogofilter-0.96.4/src/configfile.c
+--- bogofilter-0.96.4.orig/src/configfile.c	2005-10-15 23:03:11.000000000 +0200
++++ bogofilter-0.96.4/src/configfile.c	2005-11-03 16:26:38.844514992 +0100
+@@ -148,7 +148,13 @@
      bool ok = true;
      int lineno = 0;
      FILE *fp;
+-
 +    char *home_etc = getenv("HOME_ETC");
- 
 +    if (home_etc && fname[0] == '~') {
-+	char buffer[1024];
-+	snprintf(buffer, 1024, "%s%s", home_etc, fname+1);
-+	config_file_name=xstrdup(buffer);
++       char buffer[1024];
++       snprintf(buffer, 1024, "%s%s", home_etc, fname+1);
++       config_file_name=xstrdup(buffer);
 +    } else
-+    
++   
      if (config_file_name != NULL)
  	xfree(config_file_name);
-     config_file_name = tildeexpand(fname, tilde_expand);
-diff -urN bogofilter-0.92.8.oryg/src/paths.c bogofilter-0.92.8/src/paths.c
---- bogofilter-0.92.8.oryg/src/paths.c	2004-05-18 02:22:52.000000000 +0200
-+++ bogofilter-0.92.8/src/paths.c	2004-10-24 18:22:51.345526160 +0200
+ 
+diff -urN bogofilter-0.96.4.orig/src/paths.c bogofilter-0.96.4/src/paths.c
+--- bogofilter-0.96.4.orig/src/paths.c	2005-08-15 01:03:42.000000000 +0200
++++ bogofilter-0.96.4/src/paths.c	2005-11-03 16:28:51.672322096 +0100
 @@ -29,7 +29,7 @@
  #ifndef __riscos__
      { PR_ENV_BOGO, "BOGOFILTER_DIR", NULL },
@@ -28,7 +28,7 @@
  #else
      { PR_ENV_HOME, "Choices$Write",  BOGODIR },
      { PR_ENV_HOME, "Bogofilter$Dir", NULL },
-@@ -104,6 +104,7 @@
+@@ -274,6 +274,7 @@
      size_t path_size, env_size;
  
      env = getenv(var);

================================================================
Index: SOURCES/bogofilter-dummy.patch
diff -u SOURCES/bogofilter-dummy.patch:1.2 SOURCES/bogofilter-dummy.patch:1.3
--- SOURCES/bogofilter-dummy.patch:1.2	Thu Feb  5 19:16:30 2004
+++ SOURCES/bogofilter-dummy.patch	Thu Nov  3 16:44:07 2005
@@ -1,12 +1,12 @@
-diff -burN bogofilter-0.16.4.orig/configure.ac bogofilter-0.16.4/configure.ac
---- bogofilter-0.16.4.orig/configure.ac	2004-02-05 18:40:11.998145456 +0100
-+++ bogofilter-0.16.4/configure.ac	2004-02-05 19:07:20.235615736 +0100
-@@ -514,7 +514,7 @@
+diff -urN bogofilter-0.96.4.orig/configure.ac bogofilter-0.96.4/configure.ac
+--- bogofilter-0.96.4.orig/configure.ac	2005-11-01 01:31:40.000000000 +0100
++++ bogofilter-0.96.4/configure.ac	2005-11-03 16:37:09.816592656 +0100
+@@ -706,7 +706,7 @@
  export PATH
  
  need_my_gsl=1
 -AC_ARG_WITH(included-gsl, AC_HELP_STRING([--with-included-gsl],[force use of shipped GSL rather than system GSL]),
 +AC_ARG_WITH(included-gsl, ([--with-included-gsl],[force use of shipped GSL rather than system GSL]),
- if test "x$WITHVAL" != "xyes" ; then need_my_gsl=2 ; fi)
+     if test "x$withval" = "xyes" ; then need_my_gsl=2 ; fi)
  
  if test "$need_my_gsl" = 1 ; then
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/bogofilter-home_etc.patch?r1=1.4&r2=1.5&f=u
    http://cvs.pld-linux.org/SOURCES/bogofilter-dummy.patch?r1=1.2&r2=1.3&f=u




More information about the pld-cvs-commit mailing list