7eb2f8b27c
%make_install won't build with SLE10 SLE11 and SLE11-SP1 + %make_install /var/tmp/rpm-tmp.71410: line 23: fg: no job control error: Bad exit status from /var/tmp/rpm-tmp.71410 (%install) and now the spec is the same as it was 1.4. I updated it to 1.5 and changed the spec using the spec template provided by bridge-utils source tarball. Now due to bug 707837, I reverted the spec file. as for the header file and lib, it's always been packaged into the bridge-utils at lease back in the 1.4 time, and we never had a package called bridge-utils-devel, so I'm packaging them also in 1.5, Thanks (forwarded request 77393 from CFM56) OBS-URL: https://build.opensuse.org/request/show/77497 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bridge-utils?expand=0&rev=12
15 lines
294 B
Diff
15 lines
294 B
Diff
--- libbridge/libbridge_private.h
|
|
+++ libbridge/libbridge_private.h
|
|
@@ -36,6 +36,11 @@
|
|
|
|
extern int br_socket_fd;
|
|
|
|
+#include <unistd.h>
|
|
+#ifndef HZ
|
|
+# define HZ sysconf(_SC_CLK_TCK)
|
|
+#endif
|
|
+
|
|
static inline unsigned long __tv_to_jiffies(const struct timeval *tv)
|
|
{
|
|
unsigned long long jif;
|