Hello community, here is the log from the commit of package dhcpcd for openSUSE:Factory checked in at 2013-01-03 13:45:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/dhcpcd (Old) and /work/SRC/openSUSE:Factory/.dhcpcd.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "dhcpcd", Maintainer is "vark...@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/dhcpcd/dhcpcd.changes 2012-03-01 17:19:13.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.dhcpcd.new/dhcpcd.changes 2013-01-03 13:45:05.000000000 +0100 @@ -1,0 +2,6 @@ +Tue Dec 18 12:01:07 UTC 2012 - dval...@suse.com + +- dhcpcd-unused.patch fixes ppc build error. Where unused expects + an argument + +------------------------------------------------------------------- New: ---- dhcpcd-unused.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dhcpcd.spec ++++++ --- /var/tmp/diff_new_pack.8D2vpA/_old 2013-01-03 13:45:06.000000000 +0100 +++ /var/tmp/diff_new_pack.8D2vpA/_new 2013-01-03 13:45:06.000000000 +0100 @@ -51,6 +51,7 @@ Patch21: dhcpcd-3.2.3-xen-checksum.diff Patch22: dhcpcd-3.2.3-option-checks.diff Patch23: N_When-getting-a-new-lease-send-the-serverID-and-lease-addr-in-a-DHCP_REQUEST-package.patch +Patch24: dhcpcd-unused.patch Provides: dhcp_client Requires: net-tools PreReq: sysconfig @@ -87,6 +88,7 @@ %patch21 -p0 %patch22 -p0 %patch23 -p2 +%patch24 -p1 cp %{S:1} . cp %{S:3} . ++++++ dhcpcd-unused.patch ++++++ Index: dhcpcd-3.2.3/common.h =================================================================== --- dhcpcd-3.2.3.orig/common.h +++ dhcpcd-3.2.3/common.h @@ -34,9 +34,9 @@ #include <string.h> #if __GNUC__ > 2 || defined(__INTEL_COMPILER) -# define _unused __attribute__((__unused__)) +# define _dhcpcd_unused __attribute__((__dhcpcd_unused__)) #else -# define _unused +# define _dhcpcd_unused #endif #define HAVE_STRLCPY Index: dhcpcd-3.2.3/interface.c =================================================================== --- dhcpcd-3.2.3.orig/interface.c +++ dhcpcd-3.2.3/interface.c @@ -196,7 +196,7 @@ size_t hwaddr_aton (unsigned char *buffe } static int _do_interface (const char *ifname, - _unused unsigned char *hwaddr, _unused size_t *hwlen, + _dhcpcd_unused unsigned char *hwaddr, _dhcpcd_unused size_t *hwlen, struct in_addr *addr, bool flush, bool get) { @@ -306,7 +306,7 @@ static int _do_interface (const char *if return retval; } -interface_t *read_interface (const char *ifname, _unused int metric) +interface_t *read_interface (const char *ifname, _dhcpcd_unused int metric) { int s; struct ifreq ifr; @@ -491,7 +491,7 @@ int set_mtu (const char *ifname, short i static void log_route (struct in_addr destination, struct in_addr netmask, struct in_addr gateway, - _unused int metric, + _dhcpcd_unused int metric, int change, int del) { char *dstd = xstrdup (inet_ntoa (destination)); -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org