patches/system-tools-backends-08-users.diff
branchgnome-2-30
changeset 19983 0ef179c93bad
parent 15698 759bfaa2d006
--- a/patches/system-tools-backends-08-users.diff	Mon Aug 09 02:01:43 2010 +0000
+++ b/patches/system-tools-backends-08-users.diff	Mon Aug 09 07:42:25 2010 +0000
@@ -1011,10 +1011,9 @@
 +%include "secdb.h"
 +
 
-diff -up system-tools-backends-1.4.2/secdb.pm.orig system-tools-backends-1.4.2/secdb.pm
---- system-tools-backends-1.4.2/secdb.pm.orig	2009-05-01 14:10:51.395867555 +0100
-+++ system-tools-backends-1.4.2/secdb.pm	2009-05-01 11:29:10.761827863 +0100
-@@ -0,0 +1,449 @@
+--- system-tools-backends-1.4.2/secdb.pm	1970-01-01 10:00:00.000000000 +1000
++++ system-tools-backends-1.4.2.new/secdb.pm	2010-08-05 16:34:58.891880880 +1000
+@@ -0,0 +1,447 @@
 +# This file was automatically generated by SWIG (http://www.swig.org).
 +# Version 1.3.35
 +#
@@ -1092,8 +1091,6 @@
 +*_kva_free = *secdbc::_kva_free;
 +*_new_kva = *secdbc::_new_kva;
 +*_str2kva = *secdbc::_str2kva;
-+*_get_user_defs = *secdbc::_get_user_defs;
-+*_free_user_defs = *secdbc::_free_user_defs;
 +
 +############# Class : secdb::profstr_t ##############
 +
@@ -1464,11 +1461,9 @@
 +*ATTR_NOT_FOUND = *secdbc::ATTR_NOT_FOUND;
 +*ATTR_NO_RECOVERY = *secdbc::ATTR_NO_RECOVERY;
 +1;
-
-diff -up system-tools-backends-1.4.2/secdb_wrap.c.orig system-tools-backends-1.4.2/secdb_wrap.c
---- system-tools-backends-1.4.2/secdb_wrap.c.orig	2009-05-01 14:10:51.398841663 +0100
-+++ system-tools-backends-1.4.2/secdb_wrap.c	2009-05-01 11:29:10.762096884 +0100
-@@ -0,0 +1,5533 @@
+--- system-tools-backends-1.4.2/secdb_wrap.c	1970-01-01 10:00:00.000000000 +1000
++++ system-tools-backends-1.4.2.new/secdb_wrap.c	2010-08-05 16:30:19.199811777 +1000
+@@ -0,0 +1,5442 @@
 +/* ----------------------------------------------------------------------------
 + * This file was automatically generated by SWIG (http://www.swig.org).
 + * Version 1.3.35
@@ -5984,95 +5979,6 @@
 +}
 +
 +
-+XS(_wrap__get_user_defs) {
-+  {
-+    char *arg1 = (char *) 0 ;
-+    char **arg2 = (char **) 0 ;
-+    char **arg3 = (char **) 0 ;
-+    int result;
-+    int res1 ;
-+    char *buf1 = 0 ;
-+    int alloc1 = 0 ;
-+    void *argp2 = 0 ;
-+    int res2 = 0 ;
-+    void *argp3 = 0 ;
-+    int res3 = 0 ;
-+    int argvi = 0;
-+    dXSARGS;
-+    
-+    if ((items < 3) || (items > 3)) {
-+      SWIG_croak("Usage: _get_user_defs(char const *,char **,char **);");
-+    }
-+    res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
-+    if (!SWIG_IsOK(res1)) {
-+      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_get_user_defs" "', argument " "1"" of type '" "char const *""'");
-+    }
-+    arg1 = (char *)(buf1);
-+    res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_p_char, 0 |  0 );
-+    if (!SWIG_IsOK(res2)) {
-+      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_get_user_defs" "', argument " "2"" of type '" "char **""'"); 
-+    }
-+    arg2 = (char **)(argp2);
-+    res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_p_char, 0 |  0 );
-+    if (!SWIG_IsOK(res3)) {
-+      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "_get_user_defs" "', argument " "3"" of type '" "char **""'"); 
-+    }
-+    arg3 = (char **)(argp3);
-+    result = (int)_get_user_defs((char const *)arg1,arg2,arg3);
-+    ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
-+    if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
-+    
-+    
-+    XSRETURN(argvi);
-+  fail:
-+    if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
-+    
-+    
-+    SWIG_croak_null();
-+  }
-+}
-+
-+
-+XS(_wrap__free_user_defs) {
-+  {
-+    char *arg1 = (char *) 0 ;
-+    char *arg2 = (char *) 0 ;
-+    int res1 ;
-+    char *buf1 = 0 ;
-+    int alloc1 = 0 ;
-+    int res2 ;
-+    char *buf2 = 0 ;
-+    int alloc2 = 0 ;
-+    int argvi = 0;
-+    dXSARGS;
-+    
-+    if ((items < 2) || (items > 2)) {
-+      SWIG_croak("Usage: _free_user_defs(char *,char *);");
-+    }
-+    res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
-+    if (!SWIG_IsOK(res1)) {
-+      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_free_user_defs" "', argument " "1"" of type '" "char *""'");
-+    }
-+    arg1 = (char *)(buf1);
-+    res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
-+    if (!SWIG_IsOK(res2)) {
-+      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_free_user_defs" "', argument " "2"" of type '" "char *""'");
-+    }
-+    arg2 = (char *)(buf2);
-+    _free_user_defs(arg1,arg2);
-+    
-+    if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
-+    if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
-+    XSRETURN(argvi);
-+  fail:
-+    if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
-+    if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
-+    SWIG_croak_null();
-+  }
-+}
-+
-+
-+
 +/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
 +
 +static swig_type_info _swigt__p___FILE = {"_p___FILE", "struct __FILE *", 0, 0, (void*)0, 0};
@@ -6226,8 +6132,6 @@
 +{"secdbc::_kva_free", _wrap__kva_free},
 +{"secdbc::_new_kva", _wrap__new_kva},
 +{"secdbc::_str2kva", _wrap__str2kva},
-+{"secdbc::_get_user_defs", _wrap__get_user_defs},
-+{"secdbc::_free_user_defs", _wrap__free_user_defs},
 +{0,0}
 +};
 +/* -----------------------------------------------------------------------------
@@ -7002,4 +6906,3 @@
 +  XSRETURN(1);
 +}
 +
-