View | Details | Raw Unified | Return to bug 155958
Collapse All | Expand All

(-)b/net-p2p/libtorrent-rasterbar-15/files/patch-configure (+129 lines)
Added Link Here
1
--- configure.orig	2010-11-06 03:13:32.000000000 +0300
2
+++ configure	2010-11-06 03:13:32.000000000 +0300
3
@@ -17165,7 +17165,7 @@
4
 
5
 $as_echo "#define TORRENT_DEBUG 1" >>confdefs.h
6
 
7
-      COMPILETIME_OPTIONS+="-DTORRENT_DEBUG "
8
+      COMPILETIME_OPTIONS="$COMPILETIME_OPTIONS -DTORRENT_DEBUG"
9
       DEBUGFLAGS="-g"
10
     ;; #(
11
   "no") :
12
@@ -17175,7 +17175,7 @@
13
 
14
 $as_echo "#define NDEBUG 1" >>confdefs.h
15
 
16
-      #COMPILETIME_OPTIONS+="-DNDEBUG "
17
+      #COMPILETIME_OPTIONS="$COMPILETIME_OPTIONS -DNDEBUG"
18
       DEBUGFLAGS="-Os"
19
     ;; #(
20
   *) :
21
@@ -17235,7 +17235,7 @@
22
 
23
 $as_echo "#define TORRENT_LOGGING 1" >>confdefs.h
24
 
25
-      COMPILETIME_OPTIONS+="-DTORRENT_LOGGING "
26
+      COMPILETIME_OPTIONS="$COMPILETIME_OPTIONS -DTORRENT_LOGGING"
27
      ;; #(
28
   "no"|"none") :
29
 
30
@@ -17249,7 +17249,7 @@
31
 
32
 $as_echo "#define TORRENT_VERBOSE_LOGGING 1" >>confdefs.h
33
 
34
-      COMPILETIME_OPTIONS+="-DTORRENT_VERBOSE_LOGGING "
35
+      COMPILETIME_OPTIONS="$COMPILETIME_OPTIONS -DTORRENT_VERBOSE_LOGGING"
36
      ;; #(
37
   "errors") :
38
 
39
@@ -17258,7 +17258,7 @@
40
 
41
 $as_echo "#define TORRENT_ERROR_LOGGING 1" >>confdefs.h
42
 
43
-      COMPILETIME_OPTIONS+="-DTORRENT_ERROR_LOGGING "
44
+      COMPILETIME_OPTIONS="$COMPILETIME_OPTIONS -DTORRENT_ERROR_LOGGING"
45
      ;; #(
46
   *) :
47
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ARG_ENABLE_LOGGING" >&5
48
@@ -17462,7 +17462,7 @@
49
 
50
 $as_echo "#define TORRENT_USE_OPENSSL 1" >>confdefs.h
51
 
52
-          COMPILETIME_OPTIONS+="-DTORRENT_USE_OPENSSL "
53
+          COMPILETIME_OPTIONS="$COMPILETIME_OPTIONS -DTORRENT_USE_OPENSSL"
54
 
55
 
56
 else
57
@@ -17492,7 +17492,7 @@
58
 
59
 $as_echo "#define TORRENT_DISABLE_ENCRYPTION 1" >>confdefs.h
60
 
61
-      COMPILETIME_OPTIONS+="-DTORRENT_DISABLE_ENCRYPTION "
62
+      COMPILETIME_OPTIONS="$COMPILETIME_OPTIONS -DTORRENT_DISABLE_ENCRYPTION"
63
      ;; #(
64
   *) :
65
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ARG_ENABLE_ENCRYPTION" >&5
66
@@ -17516,7 +17516,7 @@
67
 
68
 $as_echo "#define TORRENT_DISABLE_GEO_IP 1" >>confdefs.h
69
 
70
-    COMPILETIME_OPTIONS+="-DTORRENT_DISABLE_GEO_IP "
71
+    COMPILETIME_OPTIONS="$COMPILETIME_OPTIONS -DTORRENT_DISABLE_GEO_IP"
72
     ;; #(
73
   *) :
74
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ARG_ENABLE_GEOIP" >&5
75
@@ -17540,7 +17540,7 @@
76
 
77
 $as_echo "#define TORRENT_DISABLE_DHT 1" >>confdefs.h
78
 
79
-      COMPILETIME_OPTIONS+="-DTORRENT_DISABLE_DHT "
80
+      COMPILETIME_OPTIONS="$COMPILETIME_OPTIONS -DTORRENT_DISABLE_DHT"
81
      ;; #(
82
   "logging") :
83
 
84
@@ -17549,7 +17549,7 @@
85
 
86
 $as_echo "#define TORRENT_DHT_VERBOSE_LOGGING 1" >>confdefs.h
87
 
88
-      COMPILETIME_OPTIONS+="-DTORRENT_DHT_VERBOSE_LOGGING "
89
+      COMPILETIME_OPTIONS="$COMPILETIME_OPTIONS -DTORRENT_DHT_VERBOSE_LOGGING"
90
      ;; #(
91
   *) :
92
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ARG_ENABLE_DHT" >&5
93
@@ -18680,7 +18680,7 @@
94
 
95
 $as_echo "#define WITH_SHIPPED_GEOIP_H 1" >>confdefs.h
96
 
97
-            COMPILETIME_OPTIONS+="-DWITH_SHIPPED_GEOIP_H "
98
+            COMPILETIME_OPTIONS="$COMPILETIME_OPTIONS -DWITH_SHIPPED_GEOIP_H"
99
 
100
 fi
101
     ;; #(
102
@@ -18751,17 +18751,9 @@
103
 # Other useful stuff
104
 ###############################################################################
105
 
106
-# this works around a bug in asio in boost-1.39
107
-# see: https://svn.boost.org/trac/boost/ticket/3095
108
-
109
-$as_echo "#define BOOST_ASIO_HASH_MAP_BUCKETS 1021" >>confdefs.h
110
-
111
-COMPILETIME_OPTIONS+="-DBOOST_ASIO_HASH_MAP_BUCKETS=1021 "
112
-
113
-
114
 $as_echo "#define BOOST_EXCEPTION_DISABLE 1" >>confdefs.h
115
 
116
-COMPILETIME_OPTIONS+="-DBOOST_EXCEPTION_DISABLE "
117
+COMPILETIME_OPTIONS="$COMPILETIME_OPTIONS -DBOOST_EXCEPTION_DISABLE"
118
 
119
 
120
 if test "x$PYTHON_INSTALL_PARAMS" = "x"; then :
121
@@ -18772,7 +18764,7 @@
122
 
123
 $as_echo "#define TORRENT_BUILDING_SHARED 1" >>confdefs.h
124
 
125
-       COMPILETIME_OPTIONS+="-DTORRENT_LINKING_SHARED "
126
+       COMPILETIME_OPTIONS="$COMPILETIME_OPTIONS -DTORRENT_LINKING_SHARED"
127
 fi
128
 
129
 

Return to bug 155958