]> git.pld-linux.org Git - packages/ntrack.git/commitdiff
- use hack for now auto/th/ntrack-0.16-4.1
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 7 Feb 2013 19:41:03 +0000 (20:41 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 7 Feb 2013 19:41:03 +0000 (20:41 +0100)
ntrack-hack.patch [new file with mode: 0644]
ntrack.spec

diff --git a/ntrack-hack.patch b/ntrack-hack.patch
new file mode 100644 (file)
index 0000000..97ab77b
--- /dev/null
@@ -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-07 19:20:51.695659286 +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 = (/* route_obj_ops.oo_id_attrs | YES, HACK */ ROUTE_ATTR_OIF
+                                 | ROUTE_ATTR_GATEWAY) &
+                                 nl_object_diff (OBJ_CAST (nl_info->topmost_route),
+                                                 OBJ_CAST (topmost_route)))) {
index e09b8e51831c763d70acb802e2a0ee77726dc16b..2c3eaead214a4e0d673bdf846ec92bd52bbaa1fe 100644 (file)
@@ -13,6 +13,8 @@ Group:                Libraries
 Source0:       http://launchpad.net/ntrack/main/016/+download/%{name}-%{file_ver}.tar.gz
 # Source0-md5: 21691dac43460a6791cba3decbc68242
 Patch0:                %{name}-am.patch
+# THIS IS HACK, FIND A PROPER SOLUTION
+Patch1:                %{name}-hack.patch
 URL:           http://launchpad.net/ntrack
 BuildRequires: QtCore-devel >= 4
 BuildRequires: autoconf >= 2.50
@@ -155,6 +157,7 @@ Wiązania Pythona do biblioteki ntrack.
 %prep
 %setup -q -n %{name}-%{file_ver}
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__libtoolize}
This page took 0.063915 seconds and 4 git commands to generate.