Hello community, here is the log from the commit of package tomoyo-tools for openSUSE:Factory checked in at Wed Aug 31 11:09:10 CEST 2011. -------- --- tomoyo-tools/tomoyo-tools.changes 2011-06-28 15:13:32.000000000 +0200 +++ /mounts/work_src_done/STABLE/tomoyo-tools/tomoyo-tools.changes 2011-08-29 13:37:57.000000000 +0200 @@ -1,0 +2,6 @@ +Mon Aug 29 11:34:54 UTC 2011 - aj@suse.de + +- _GNU_SOURCE needs to be defined first, fix build + (patch tomoyo-clone.patch) + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- tomoyo-clone.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tomoyo-tools.spec ++++++ --- /var/tmp/diff_new_pack.VyNXhF/_old 2011-08-31 11:07:25.000000000 +0200 +++ /var/tmp/diff_new_pack.VyNXhF/_new 2011-08-31 11:07:25.000000000 +0200 @@ -26,9 +26,10 @@ Summary: A Friendly Greeting Program Url: http://sourceforge.jp/projects/tomoyo/ Version: 2.3.0.20110511 -Release: 1 +Release: 81 Source0: http://sourceforge.jp/frs/redir.php?f=/tomoyo/48663/tomoyo-tools-%{downloadver}.tar.gz Patch0: %{name}-makefile.patch +Patch1: tomoyo-clone.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -37,6 +38,7 @@ %prep %setup -q -n %{name} %patch0 -p1 +%patch1 -p1 %build make CC="gcc $RPM_OPT_FLAGS" ++++++ tomoyo-clone.patch ++++++ Index: tomoyo-tools/usr_lib_tomoyo/tomoyo-notifyd.c =================================================================== --- tomoyo-tools.orig/usr_lib_tomoyo/tomoyo-notifyd.c +++ tomoyo-tools/usr_lib_tomoyo/tomoyo-notifyd.c @@ -20,6 +20,7 @@ * this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA */ +#define _GNU_SOURCE #include <stdio.h> #include <string.h> #include <stdlib.h> @@ -29,7 +30,6 @@ #include <sys/file.h> #include <syslog.h> #include <time.h> -#define _GNU_SOURCE #include <sched.h> #include <sys/mount.h> Index: tomoyo-tools/usr_lib_tomoyo/tomoyo-editpolicy-agent.c =================================================================== --- tomoyo-tools.orig/usr_lib_tomoyo/tomoyo-editpolicy-agent.c +++ tomoyo-tools/usr_lib_tomoyo/tomoyo-editpolicy-agent.c @@ -20,6 +20,7 @@ * this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA */ +#define _GNU_SOURCE #include <stdio.h> #include <string.h> #include <stdlib.h> @@ -33,7 +34,6 @@ #include <poll.h> #include <signal.h> #include <dirent.h> -#define _GNU_SOURCE #include <sched.h> #include <sys/mount.h> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org