samba36: do not patch generated files
authorFelix Fietkau <nbd@openwrt.org>
Tue, 14 Feb 2012 03:34:13 +0000 (03:34 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 14 Feb 2012 03:34:13 +0000 (03:34 +0000)
SVN-Revision: 30516

net/samba36/patches/310-remove_error_strings.patch

index 96f3352a836f5a51f821bcb7e41c11779d3853dc..2adbc08193a0f55d02976c73bac66a63cabf1816 100644 (file)
        return NT_STATUS_UNSUCCESSFUL;
  }
  
---- a/source3/smbd/build_options.c
-+++ b/source3/smbd/build_options.c
-@@ -54,7 +54,7 @@ options set at build time for the samba 
- ****************************************************************************/
- void build_options(bool screen)
- {
--       if ((DEBUGLEVEL < 4) && (!screen)) {
-+       if ((DEBUGLEVEL < 4) || (!screen)) {
-              return;
-        }
 --- a/lib/tdb/common/tdb_private.h
 +++ b/lib/tdb/common/tdb_private.h
 @@ -69,7 +69,11 @@ typedef uint32_t tdb_off_t;
  
  #ifdef TDB_TRACE
  void tdb_trace(struct tdb_context *tdb, const char *op);
+--- a/source3/script/mkbuildoptions.awk
++++ b/source3/script/mkbuildoptions.awk
+@@ -55,7 +55,7 @@ BEGIN {
+       print "****************************************************************************/";
+       print "void build_options(bool screen)";
+       print "{";
+-      print "       if ((DEBUGLEVEL < 4) && (!screen)) {";
++      print "       if ((DEBUGLEVEL < 4) || (!screen)) {";
+       print "        return;";
+       print "       }";
+       print "";
+--- a/source3/script/mkbuildoptions-waf.awk
++++ b/source3/script/mkbuildoptions-waf.awk
+@@ -55,7 +55,7 @@ BEGIN {
+       print "****************************************************************************/";
+       print "void build_options(bool screen)";
+       print "{";
+-      print "       if ((DEBUGLEVEL < 4) && (!screen)) {";
++      print "       if ((DEBUGLEVEL < 4) || (!screen)) {";
+       print "        return;";
+       print "       }";
+       print "";