[boinc] 01/01: Attempt to fix kfreebsd build failure

Gianfranco Costamagna locutusofborg-guest at moszumanska.debian.org
Fri Feb 21 10:04:47 UTC 2014


This is an automated email from the git hooks/post-receive script.

locutusofborg-guest pushed a commit to branch master
in repository boinc.

commit 3923d1654e110ec41e47a172b684c2f8874b2820
Author: Gianfranco Costamagna <costamagnagianfranco at yahoo.it>
Date:   Fri Feb 21 10:29:25 2014 +0100

    Attempt to fix kfreebsd build failure
---
 debian/changelog                                   |  7 ++++++
 ...t-Unix-attempt-to-fix-freebsd-build-error.patch | 25 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 3 files changed, 33 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 16548bf..cf52519 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+boinc (7.2.39+dfsg-2) unstable; urgency=low
+
+  * Probably fixed kfreebsd-* build failure with upstream patch
+    0001-Client-Unix-attempt-to-fix-freebsd-build-error
+
+ -- Gianfranco Costamagna <costamagnagianfranco at yahoo.it>  Fri, 21 Feb 2014 10:28:20 +0100
+
 boinc (7.2.39+dfsg-1) unstable; urgency=low
 
   * New upstream stable release, patch refresh
diff --git a/debian/patches/0001-Client-Unix-attempt-to-fix-freebsd-build-error.patch b/debian/patches/0001-Client-Unix-attempt-to-fix-freebsd-build-error.patch
new file mode 100644
index 0000000..17e131d
--- /dev/null
+++ b/debian/patches/0001-Client-Unix-attempt-to-fix-freebsd-build-error.patch
@@ -0,0 +1,25 @@
+From 8acebfee1076adbce0a24ea9ddb81b0b077af9e2 Mon Sep 17 00:00:00 2001
+From: David Anderson <davea at ssl.berkeley.edu>
+Date: Thu, 20 Feb 2014 10:09:18 -0800
+Subject: [PATCH] Client (Unix): attempt to fix freebsd build error
+
+---
+ client/mac_address.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/client/mac_address.cpp b/client/mac_address.cpp
+index 26bda73..87f6c3e 100644
+--- a/client/mac_address.cpp
++++ b/client/mac_address.cpp
+@@ -264,7 +264,7 @@ int get_mac_address(char* address) {
+         hw_addr = (struct ether_addr *)&(item->lifr_lifru.lifru_enaddr);  
+ #endif
+         strcpy(address, ether_ntoa(hw_addr));
+-        if (strstr(item->ifr_ifrn.ifrn_name, "eth")) break;
++        if (strstr(item->ifr_name, "eth")) break;
+     }
+     close(sck);
+     if (!strcmp(address, "")) return -1;
+-- 
+1.8.3.2
+
diff --git a/debian/patches/series b/debian/patches/series
index b4fc32c..53356eb 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -76,3 +76,4 @@ disable_silent_rules.patch
 server_status_php.patch
 #db_interface_use.patch
 fix-lp-1274456.patch
+0001-Client-Unix-attempt-to-fix-freebsd-build-error.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-boinc/boinc.git



More information about the pkg-boinc-commits mailing list