[packages] transmission: update to 2.00b2, prevent linking host libevent
authorCezary Jackiewicz <cezary@eko.one.pl>
Fri, 4 Jun 2010 07:02:16 +0000 (07:02 +0000)
committerCezary Jackiewicz <cezary@eko.one.pl>
Fri, 4 Jun 2010 07:02:16 +0000 (07:02 +0000)
SVN-Revision: 21670

net/transmission/Makefile
net/transmission/patches/001-compile-error.patch [deleted file]

index e26c4665479123b4de217d51cdfaef05ea95a703..5adbf8c8a37d83d3a4d813c10ff7937cd97bd62c 100644 (file)
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=transmission
-PKG_VERSION:=2.00b1
+PKG_VERSION:=2.00b2
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=http://mirrors.m0k.org/transmission/files
-PKG_MD5SUM:=43540a46a4eeac88e53a67573feca21a
+PKG_MD5SUM:=db1dd960d92bdc62d61dedeb1d3e3873
 
 PKG_FIXUP:=libtool
 PKG_INSTALL:=1
@@ -65,14 +65,15 @@ define Package/transmission-daemon/conffiles
 /etc/config/transmission
 endef
 
+CONFIGURE_VARS += \
+       LIBEVENT_LIBS="$(STAGING_DIR)/usr/lib/libevent.so"
+
 CONFIGURE_ARGS += \
        --enable-daemon \
-       --disable-gtk \
-       --disable-wx \
-       --with-wx-config="$(STAGING_DIR)/usr/bin/" \
+       --disable-gtk
 
 MAKE_FLAGS += \
-       CFLAGS="$(TARGET_CFLAGS)" \
+       CFLAGS="$(TARGET_CFLAGS)"
 
 define Package/transmission-daemon/install
        $(INSTALL_DIR) $(1)/usr/bin
diff --git a/net/transmission/patches/001-compile-error.patch b/net/transmission/patches/001-compile-error.patch
deleted file mode 100644 (file)
index 91f7663..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
---- transmission/libtransmission/tr-lpd.c.orig 2010-05-23 03:49:23.000000000 +0200
-+++ transmission/libtransmission/tr-lpd.c      2010-05-25 19:44:03.000000000 +0200
-@@ -439,12 +439,13 @@
-     char hashString[lengthof( t->info.hashString )];
-     char query[lpd_maxDatagramLength + 1] = { };
-+    size_t i;
-     if( t == NULL )
-         return FALSE;
-     /* make sure the hash string is normalized, just in case */
--    for( size_t i = 0; i < sizeof hashString; i++ )
-+    for( i = 0; i < sizeof hashString; i++ )
-         hashString[i] = toupper( t->info.hashString[i] );
-     /* prepare a zero-terminated announce message */