[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] [tor/master] Forward port patches/06_add_compile_time_defaults.dpatch



Author: Peter Palfrader <peter@xxxxxxxxxxxxx>
Date: Thu, 3 Sep 2009 15:10:47 +0200
Subject: Forward port patches/06_add_compile_time_defaults.dpatch
Commit: 65ed05edf3ab85bd3daf9cc0540a20b4f4b94427

---
 debian/changelog                                   |    3 +-
 debian/patches/06_add_compile_time_defaults.dpatch |   21 ++++++++++---------
 2 files changed, 13 insertions(+), 11 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index f6af5a4..6673fe0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,8 +2,9 @@ tor (0.2.2.1-alpha-1) experimental; urgency=low
 
   * New upstream version.
   * Forward port patches/03_tor_manpage_in_section_8.dpatch.
+  * Forward port patches/06_add_compile_time_defaults.dpatch.
 
- -- Peter Palfrader <weasel@xxxxxxxxxx>  Thu, 03 Sep 2009 15:06:58 +0200
+ -- Peter Palfrader <weasel@xxxxxxxxxx>  Thu, 03 Sep 2009 15:10:26 +0200
 
 tor (0.2.1.19-1) unstable; urgency=low
 
diff --git a/debian/patches/06_add_compile_time_defaults.dpatch b/debian/patches/06_add_compile_time_defaults.dpatch
index a2472d1..e64d461 100755
--- a/debian/patches/06_add_compile_time_defaults.dpatch
+++ b/debian/patches/06_add_compile_time_defaults.dpatch
@@ -23,9 +23,9 @@ esac
 exit 0
 
 @DPATCH@
-diff -urNad tor-trunk~/src/or/config.c tor-trunk/src/or/config.c
---- tor-trunk~/src/or/config.c	2009-01-18 01:47:33.000000000 +0100
-+++ tor-trunk/src/or/config.c	2009-02-05 00:25:17.614844812 +0100
+diff -urNad tor~/src/or/config.c tor/src/or/config.c
+--- tor~/src/or/config.c	2009-09-03 15:05:41.000000000 +0200
++++ tor/src/or/config.c	2009-09-03 15:09:37.662104166 +0200
 @@ -12,6 +12,7 @@
  #define CONFIG_PRIVATE
  
@@ -34,16 +34,17 @@ diff -urNad tor-trunk~/src/or/config.c tor-trunk/src/or/config.c
  #ifdef MS_WINDOWS
  #include <shlobj.h>
  #endif
-@@ -711,6 +712,8 @@
- #if defined(HAVE_EVENT_GET_VERSION) && defined(HAVE_EVENT_GET_METHOD)
- static void check_libevent_version(const char *m, int server);
- #endif
+@@ -717,6 +718,9 @@
+ static void init_libevent(void);
+ static int opt_streq(const char *s1, const char *s2);
+ 
 +static int debian_running_as_debiantor();
 +static int debian_config_fix_defaults();
- 
++
  /** Magic value for or_options_t. */
  #define OR_OPTIONS_MAGIC 9090909
-@@ -3917,6 +3920,9 @@
+ 
+@@ -4086,6 +4090,9 @@
    char *command_arg = NULL;
    char *errmsg=NULL;
  
@@ -53,7 +54,7 @@ diff -urNad tor-trunk~/src/or/config.c tor-trunk/src/or/config.c
    if (argv) { /* first time we're called. save command line args */
      backup_argv = argv;
      backup_argc = argc;
-@@ -5307,3 +5313,62 @@
+@@ -5304,3 +5311,62 @@
    return 0;
  }
  
-- 
1.5.6.5