What's new

How can I get old version of transmission for Entware?

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

There is something wrong with 010_libtransmission_fallocate64_eglibc.patch, I found the way to deal with from this post. https://github.com/openwrt/packages/issues/1088
I successfully built Transmission 2.52 for Entware-ARM, by applying these two patch files. Note that "010_libtransmission_fallocate64_eglibc.patch" has different contents than the patch file included in the most recent openwrt feed. Just open the patch file to verify these contents.


~/openwrt_trunk/feeds/packages/net/transmission/patches/010_libtransmission_fallocate64_eglibc.patch
(This one is different)
Code:
--- a/libtransmission/fdlimit.c 2014-07-01 20:08:59.000000000 +0300
+++ b/libtransmission/fdlimit.c 2014-07-13 13:30:17.000000000 +0300
@@ -22,7 +22,8 @@
  #include <fcntl.h>
#endif

-#ifdef HAVE_FALLOCATE64
+/* no need to define fallocate64 in glibc/eglibc case */
+#if defined (__UCLIBC__) && (HAVE_FALLOCATE64)
  /* FIXME can't find the right #include voodoo to pick up the declaration.. */
  extern int fallocate64 (int fd, int mode, uint64_t offset, uint64_t len);
#endif


~/openwrt_trunk/feeds/packages/net/transmission/patches/030-fix-musl-build.patch
(This one is good)
Code:
Index: transmission-2.84/libtransmission/bitfield.c
===================================================================
--- transmission-2.84.orig/libtransmission/bitfield.c
+++ transmission-2.84/libtransmission/bitfield.c
@@ -7,6 +7,8 @@
  * $Id: bitfield.c 14302 2014-06-29 01:42:38Z jordan $
  */
+#define __NEED_ssize_t
+
#include <assert.h>
#include <stdlib.h> /* realloc () */
#include <string.h> /* memset */
@@ -15,6 +17,7 @@
#include "bitfield.h"
#include "utils.h" /* tr_new0 () */
+
const tr_bitfield TR_BITFIELD_INIT = { NULL, 0, 0, 0, false, false };
/****
Index: transmission-2.84/libtransmission/fdlimit.h
===================================================================
--- transmission-2.84.orig/libtransmission/fdlimit.h
+++ transmission-2.84/libtransmission/fdlimit.h
@@ -11,6 +11,8 @@
  #error only libtransmission should #include this header.
#endif
+#define __NEED_off_t
+
#include "transmission.h"
#include "net.h"


So I have the Entware-ARM packages for Transmission 2.52. Let me know if you want it uploaded. Where?
 

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top