commit 2748b60b675e8e906c0de7fb95689cef04cf89cd Author: Arkadiusz Miśkiewicz <ar...@maven.pl> Date: Mon Feb 4 00:00:32 2013 +0100
- rel 3; fix build with new libnl ntrack-libnl.patch | 11 +++++++++++ ntrack.spec | 4 +++- 2 files changed, 14 insertions(+), 1 deletion(-) --- diff --git a/ntrack.spec b/ntrack.spec index 0e25034..3c9d6c0 100644 --- a/ntrack.spec +++ b/ntrack.spec @@ -7,12 +7,13 @@ Summary: Network status tracking made easy for desktop applications Summary(pl.UTF-8): Łatwe śledzenie stanu sieci dla aplikacji użytkowych Name: ntrack Version: 0.16 -Release: 2 +Release: 3 License: LGPL v3+ Group: Libraries Source0: http://launchpad.net/ntrack/main/016/+download/%{name}-%{file_ver}.tar.gz # Source0-md5: 21691dac43460a6791cba3decbc68242 Patch0: %{name}-am.patch +Patch1: %{name}-libnl.patch URL: http://launchpad.net/ntrack BuildRequires: QtCore-devel >= 4 BuildRequires: autoconf >= 2.50 @@ -154,6 +155,7 @@ Wiązania Pythona do biblioteki ntrack. %prep %setup -q -n %{name}-%{file_ver} %patch0 -p1 +%patch1 -p1 %build %{__libtoolize} diff --git a/ntrack-libnl.patch b/ntrack-libnl.patch new file mode 100644 index 0000000..1ea3602 --- /dev/null +++ b/ntrack-libnl.patch @@ -0,0 +1,11 @@ +--- ntrack-016/modules/ntrack-libnl.c~ 2011-10-21 22:46:13.000000000 +0200 ++++ ntrack-016/modules/ntrack-libnl.c 2013-02-03 23:27:15.709275551 +0100 +@@ -530,7 +530,7 @@ + op_default_route_disappeared ((struct _ntrack_monitor_arch*) self, nl_info); + } else if (nl_info->topmost_route && topmost_route) { + int diff_bits; +- if ((diff_bits = (route_obj_ops.oo_id_attrs | ROUTE_ATTR_OIF ++ if ((diff_bits = (nl_object_get_id_attrs((struct nl_object *)&route_obj_ops) | ROUTE_ATTR_OIF + | ROUTE_ATTR_GATEWAY) & + nl_object_diff (OBJ_CAST (nl_info->topmost_route), + OBJ_CAST (topmost_route)))) { ================================================================ ---- gitweb: http://git.pld-linux.org/gitweb.cgi/packages/ntrack.git/commitdiff/2748b60b675e8e906c0de7fb95689cef04cf89cd _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit