[packages] transmission: add missing patch
[packages.git] / net / transmission / patches / 001-debian_dont_build_libevent.patch
1 --- a/third-party/Makefile.am
2 +++ b/third-party/Makefile.am
3 @@ -4,7 +4,7 @@ else
4    DHT_DIR =
5  endif
6  
7 -SUBDIRS = libnatpmp miniupnp libevent $(DHT_DIR)
8 +SUBDIRS = libnatpmp miniupnp $(DHT_DIR)
9  
10  EXTRA_DIST = \
11    macosx-libevent-config.h \
12 --- a/configure
13 +++ b/configure
14 @@ -1047,7 +1047,7 @@ LIBNOTIFY_CFLAGS
15  LIBNOTIFY_LIBS
16  DBUS_GLIB_CFLAGS
17  DBUS_GLIB_LIBS'
18 -ac_subdirs_all='third-party/libevent'
19 +#ac_subdirs_all='third-party/libevent'
20  
21  # Initialize some variables set by options.
22  ac_init_help=
23 @@ -19738,7 +19738,7 @@ fi
24  
25  
26  
27 -subdirs="$subdirs third-party/libevent"
28 +#subdirs="$subdirs third-party/libevent"
29  
30  libevent_source=bundled
31  { $as_echo "$as_me:$LINENO: checking for evutil_vsnprintf in -levent" >&5
32 --- a/third-party/Makefile.in
33 +++ b/third-party/Makefile.in
34 @@ -70,7 +70,7 @@ AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGE
35         distdir
36  ETAGS = etags
37  CTAGS = ctags
38 -DIST_SUBDIRS = libnatpmp miniupnp libevent dht
39 +DIST_SUBDIRS = libnatpmp miniupnp dht
40  DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
41  am__relativize = \
42    dir0=`pwd`; \
43 @@ -275,7 +275,7 @@ top_srcdir = @top_srcdir@
44  transmissionlocaledir = @transmissionlocaledir@
45  @DHT_FALSE@DHT_DIR = 
46  @DHT_TRUE@DHT_DIR = dht
47 -SUBDIRS = libnatpmp miniupnp libevent $(DHT_DIR)
48 +SUBDIRS = libnatpmp miniupnp $(DHT_DIR)
49  EXTRA_DIST = \
50    macosx-libevent-config.h \
51    macosx-libevent-event-config.h