X-Git-Url: http://git.archive.openwrt.org/?p=packages.git;a=blobdiff_plain;f=ipv6%2Fmrd6%2Fpatches%2F003-debian.patch;fp=ipv6%2Fmrd6%2Fpatches%2F003-debian.patch;h=0000000000000000000000000000000000000000;hp=6b99958bc1db593ba5a15f691a041bd325fdeed2;hb=e02e8ce2e17dcb9fd94544fd99c3ca9fca730d39;hpb=384533ef74d84123c714255694b741c595d0e30f diff --git a/ipv6/mrd6/patches/003-debian.patch b/ipv6/mrd6/patches/003-debian.patch deleted file mode 100644 index 6b99958bc..000000000 --- a/ipv6/mrd6/patches/003-debian.patch +++ /dev/null @@ -1,71 +0,0 @@ ---- mrd6-0.9.6.orig/src/log.cpp -+++ mrd6-0.9.6/src/log.cpp -@@ -667,3 +667,12 @@ - os.nprintf(32, "%p", val); - } - -+#ifdef __s390__ -+const char *stream_type_format_parameter(size_t) { -+ return "u"; -+} -+ -+void stream_push_formated_type(base_stream &os, size_t val) { -+ os.nprintf(32, "%z", val); -+} -+#endif ---- mrd6-0.9.6.orig/src/mrd.cpp -+++ mrd6-0.9.6/src/mrd.cpp -@@ -44,6 +44,7 @@ - #include - #include - #include -+#include - - #include - #include -@@ -2338,7 +2339,8 @@ - - out.xprintf("Uptime: %{duration}\n", time_duration((time(0) - m_startup) * 1000)); - out.xprintf("Performed tasks: %u (spent %llu ms)\n", m_tasks_stat, m_tasks_time_spent); -- out.xprintf("Registered sockets: %u reading, %u writing\n", m_read.size(), m_write.size()); -+ out.xprintf("Registered sockets: %u reading, %u writing\n", -+ (uint32_t)m_read.size(), (uint32_t)m_write.size()); - out.xprintf("MRIB prefix count: %u\n", mrib().registry_prefix_count()); - out.xprintf("Interface count: %u\n", m_intflist.size()); - out.xprintf("Group state count: %u\n", m_grplist.size()); ---- mrd6-0.9.6.orig/src/bgp/bgp.cpp -+++ mrd6-0.9.6/src/bgp/bgp.cpp -@@ -35,6 +35,7 @@ - #include - #include - #include -+#include - - #include - ---- mrd6-0.9.6.orig/src/linux/mrd_components.cpp -+++ mrd6-0.9.6/src/linux/mrd_components.cpp -@@ -92,8 +92,6 @@ - #if defined(__GLIBC__) - #if defined(__i386__) - return (void *)base->uc_mcontext.gregs[REG_EIP]; --#elif defined(__mips__) -- return (void *)base->uc_mcontext.gpregs[CTX_EPC]; - #endif - #endif - return 0; ---- mrd6-0.9.6.orig/include/mrd/log.h -+++ mrd6-0.9.6/include/mrd/log.h -@@ -53,6 +53,12 @@ - void stream_push_formated_type(base_stream &, const char *val); - void stream_push_formated_type(base_stream &, const void *val); - -+ -+#ifdef __s390__ -+const char *stream_type_format_parameter(size_t); -+void stream_push_formated_type(base_stream &, size_t val); -+#endif -+ - /*! - * base log stream - */