diff options
author | Timo Teräs <timo.teras@iki.fi> | 2013-10-10 09:33:30 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2013-10-10 09:33:30 +0300 |
commit | fd9020fe6dccbd84e1453800890883c9ed69c905 (patch) | |
tree | 86cd0b90fc775a33f7986ca6ec02a51cf756bdc6 /main/lxc/lxc-fix-headers.patch | |
parent | 394715c229fb75604f813c39f24430159023a31c (diff) | |
download | aports-fd9020fe6dccbd84e1453800890883c9ed69c905.tar.bz2 aports-fd9020fe6dccbd84e1453800890883c9ed69c905.tar.xz |
main/lxc: fix uclibc build after musl fix
Diffstat (limited to 'main/lxc/lxc-fix-headers.patch')
-rw-r--r-- | main/lxc/lxc-fix-headers.patch | 265 |
1 files changed, 174 insertions, 91 deletions
diff --git a/main/lxc/lxc-fix-headers.patch b/main/lxc/lxc-fix-headers.patch index 229f3aade5..bc7f8e59cf 100644 --- a/main/lxc/lxc-fix-headers.patch +++ b/main/lxc/lxc-fix-headers.patch @@ -1,6 +1,6 @@ -diff -x '*.Po' -ru lxc-0.9.0.orig/src/lua-lxc/core.c lxc-0.9.0/src/lua-lxc/core.c ---- lxc-0.9.0.orig/src/lua-lxc/core.c 2013-03-18 22:17:00.000000000 +0000 -+++ lxc-0.9.0/src/lua-lxc/core.c 2013-09-10 12:07:34.069998459 +0000 +diff -ru lxc-0.9.0.orig/src/lua-lxc/core.c lxc-0.9.0/src/lua-lxc/core.c +--- lxc-0.9.0.orig/src/lua-lxc/core.c 2013-10-10 09:22:58.841387605 +0300 ++++ lxc-0.9.0/src/lua-lxc/core.c 2013-10-10 09:23:13.847971218 +0300 @@ -21,7 +21,6 @@ */ @@ -9,9 +9,9 @@ diff -x '*.Po' -ru lxc-0.9.0.orig/src/lua-lxc/core.c lxc-0.9.0/src/lua-lxc/core. #include <lua.h> #include <lauxlib.h> #include <string.h> -diff -x '*.Po' -ru lxc-0.9.0.orig/src/lxc/attach.c lxc-0.9.0/src/lxc/attach.c ---- lxc-0.9.0.orig/src/lxc/attach.c 2013-04-05 09:45:22.000000000 +0000 -+++ lxc-0.9.0/src/lxc/attach.c 2013-09-10 12:18:59.499998326 +0000 +diff -ru lxc-0.9.0.orig/src/lxc/attach.c lxc-0.9.0/src/lxc/attach.c +--- lxc-0.9.0.orig/src/lxc/attach.c 2013-10-10 09:22:58.841387605 +0300 ++++ lxc-0.9.0/src/lxc/attach.c 2013-10-10 09:23:13.847971218 +0300 @@ -21,13 +21,14 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ @@ -36,9 +36,9 @@ diff -x '*.Po' -ru lxc-0.9.0.orig/src/lxc/attach.c lxc-0.9.0/src/lxc/attach.c #include "apparmor.h" lxc_log_define(lxc_attach, lxc); -diff -x '*.Po' -ru lxc-0.9.0.orig/src/lxc/caps.c lxc-0.9.0/src/lxc/caps.c ---- lxc-0.9.0.orig/src/lxc/caps.c 2013-03-19 10:17:26.000000000 +0000 -+++ lxc-0.9.0/src/lxc/caps.c 2013-09-10 12:19:34.019998319 +0000 +diff -ru lxc-0.9.0.orig/src/lxc/caps.c lxc-0.9.0/src/lxc/caps.c +--- lxc-0.9.0.orig/src/lxc/caps.c 2013-10-10 09:22:58.841387605 +0300 ++++ lxc-0.9.0/src/lxc/caps.c 2013-10-10 09:23:13.847971218 +0300 @@ -21,7 +21,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ @@ -56,22 +56,31 @@ diff -x '*.Po' -ru lxc-0.9.0.orig/src/lxc/caps.c lxc-0.9.0/src/lxc/caps.c #include "log.h" lxc_log_define(lxc_caps, lxc); -diff -x '*.Po' -ru lxc-0.9.0.orig/src/lxc/cgroup.c lxc-0.9.0/src/lxc/cgroup.c ---- lxc-0.9.0.orig/src/lxc/cgroup.c 2013-03-19 10:17:26.000000000 +0000 -+++ lxc-0.9.0/src/lxc/cgroup.c 2013-09-10 12:07:34.149998459 +0000 -@@ -20,9 +20,7 @@ +diff -ru lxc-0.9.0.orig/src/lxc/cgroup.c lxc-0.9.0/src/lxc/cgroup.c +--- lxc-0.9.0.orig/src/lxc/cgroup.c 2013-10-10 09:22:58.841387605 +0300 ++++ lxc-0.9.0/src/lxc/cgroup.c 2013-10-10 09:28:10.249698806 +0300 +@@ -20,9 +20,8 @@ * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#define _GNU_SOURCE ++#include "config.h" #include <stdio.h> -#undef _GNU_SOURCE #include <stdlib.h> #include <errno.h> #include <unistd.h> -diff -x '*.Po' -ru lxc-0.9.0.orig/src/lxc/commands.c lxc-0.9.0/src/lxc/commands.c ---- lxc-0.9.0.orig/src/lxc/commands.c 2013-03-19 10:17:26.000000000 +0000 -+++ lxc-0.9.0/src/lxc/commands.c 2013-09-10 12:10:17.479998427 +0000 +@@ -37,7 +36,6 @@ + #include <net/if.h> + + #include "error.h" +-#include "config.h" + #include "commands.h" + + #include <lxc/log.h> +diff -ru lxc-0.9.0.orig/src/lxc/commands.c lxc-0.9.0/src/lxc/commands.c +--- lxc-0.9.0.orig/src/lxc/commands.c 2013-10-10 09:22:58.841387605 +0300 ++++ lxc-0.9.0/src/lxc/commands.c 2013-10-10 09:23:13.851304534 +0300 @@ -28,7 +28,7 @@ #include <fcntl.h> #include <sys/socket.h> @@ -81,69 +90,105 @@ diff -x '*.Po' -ru lxc-0.9.0.orig/src/lxc/commands.c lxc-0.9.0/src/lxc/commands. #include <sys/param.h> #include <malloc.h> #include <stdlib.h> -diff -x '*.Po' -ru lxc-0.9.0.orig/src/lxc/conf.c lxc-0.9.0/src/lxc/conf.c ---- lxc-0.9.0.orig/src/lxc/conf.c 2013-04-05 09:45:22.000000000 +0000 -+++ lxc-0.9.0/src/lxc/conf.c 2013-09-10 12:07:34.239998459 +0000 -@@ -20,9 +20,7 @@ +diff -ru lxc-0.9.0.orig/src/lxc/conf.c lxc-0.9.0/src/lxc/conf.c +--- lxc-0.9.0.orig/src/lxc/conf.c 2013-10-10 09:22:58.844720784 +0300 ++++ lxc-0.9.0/src/lxc/conf.c 2013-10-10 09:28:30.296256871 +0300 +@@ -20,9 +20,8 @@ * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#define _GNU_SOURCE ++#include "config.h" #include <stdio.h> -#undef _GNU_SOURCE #include <stdlib.h> #include <stdarg.h> #include <errno.h> -diff -x '*.Po' -ru lxc-0.9.0.orig/src/lxc/confile.c lxc-0.9.0/src/lxc/confile.c ---- lxc-0.9.0.orig/src/lxc/confile.c 2013-04-05 09:45:22.000000000 +0000 -+++ lxc-0.9.0/src/lxc/confile.c 2013-09-10 12:07:34.299998459 +0000 -@@ -20,7 +20,6 @@ +@@ -58,7 +57,6 @@ + #include "network.h" + #include "error.h" + #include "parse.h" +-#include "config.h" + #include "utils.h" + #include "conf.h" + #include "log.h" +diff -ru lxc-0.9.0.orig/src/lxc/confile.c lxc-0.9.0/src/lxc/confile.c +--- lxc-0.9.0.orig/src/lxc/confile.c 2013-10-10 09:22:58.844720784 +0300 ++++ lxc-0.9.0/src/lxc/confile.c 2013-10-10 09:28:45.472841319 +0300 +@@ -20,7 +20,7 @@ * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#define _GNU_SOURCE ++#include "config.h" #include <stdio.h> #include <stdlib.h> #include <string.h> -diff -x '*.Po' -ru lxc-0.9.0.orig/src/lxc/freezer.c lxc-0.9.0/src/lxc/freezer.c ---- lxc-0.9.0.orig/src/lxc/freezer.c 2013-03-19 10:17:26.000000000 +0000 -+++ lxc-0.9.0/src/lxc/freezer.c 2013-09-10 12:07:34.329998459 +0000 -@@ -20,9 +20,7 @@ +@@ -38,7 +38,6 @@ + #include <net/if.h> + + #include "parse.h" +-#include "config.h" + #include "confile.h" + #include "utils.h" + +diff -ru lxc-0.9.0.orig/src/lxc/freezer.c lxc-0.9.0/src/lxc/freezer.c +--- lxc-0.9.0.orig/src/lxc/freezer.c 2013-10-10 09:22:58.844720784 +0300 ++++ lxc-0.9.0/src/lxc/freezer.c 2013-10-10 09:29:01.486087901 +0300 +@@ -20,9 +20,8 @@ * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#define _GNU_SOURCE ++#include "config.h" #include <stdio.h> -#undef _GNU_SOURCE #include <stdlib.h> #include <errno.h> #include <unistd.h> -diff -x '*.Po' -ru lxc-0.9.0.orig/src/lxc/lxc_attach.c lxc-0.9.0/src/lxc/lxc_attach.c ---- lxc-0.9.0.orig/src/lxc/lxc_attach.c 2013-04-05 09:45:22.000000000 +0000 -+++ lxc-0.9.0/src/lxc/lxc_attach.c 2013-09-10 12:07:34.379998459 +0000 -@@ -21,7 +21,6 @@ +diff -ru lxc-0.9.0.orig/src/lxc/lxc_attach.c lxc-0.9.0/src/lxc/lxc_attach.c +--- lxc-0.9.0.orig/src/lxc/lxc_attach.c 2013-10-10 09:22:58.844720784 +0300 ++++ lxc-0.9.0/src/lxc/lxc_attach.c 2013-10-10 09:29:19.079325924 +0300 +@@ -21,7 +21,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#define _GNU_SOURCE ++#include "config.h" #include <unistd.h> #include <errno.h> #include <pwd.h> -Binary files lxc-0.9.0.orig/src/lxc/lxc_attach.o and lxc-0.9.0/src/lxc/lxc_attach.o differ -diff -x '*.Po' -ru lxc-0.9.0.orig/src/lxc/lxc_checkpoint.c lxc-0.9.0/src/lxc/lxc_checkpoint.c ---- lxc-0.9.0.orig/src/lxc/lxc_checkpoint.c 2013-03-19 10:17:26.000000000 +0000 -+++ lxc-0.9.0/src/lxc/lxc_checkpoint.c 2013-09-10 12:07:34.379998459 +0000 -@@ -20,7 +20,6 @@ +@@ -36,7 +36,6 @@ + #include "arguments.h" + #include "caps.h" + #include "cgroup.h" +-#include "config.h" + #include "confile.h" + #include "start.h" + #include "sync.h" +diff -ru lxc-0.9.0.orig/src/lxc/lxc_checkpoint.c lxc-0.9.0/src/lxc/lxc_checkpoint.c +--- lxc-0.9.0.orig/src/lxc/lxc_checkpoint.c 2013-10-10 09:22:58.844720784 +0300 ++++ lxc-0.9.0/src/lxc/lxc_checkpoint.c 2013-10-10 09:25:41.587170847 +0300 +@@ -20,7 +20,7 @@ * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#define _GNU_SOURCE ++#include "config.h" #include <assert.h> #include <stdio.h> #include <stdlib.h> -diff -x '*.Po' -ru lxc-0.9.0.orig/src/lxc/lxc_console.c lxc-0.9.0/src/lxc/lxc_console.c ---- lxc-0.9.0.orig/src/lxc/lxc_console.c 2013-03-19 10:17:26.000000000 +0000 -+++ lxc-0.9.0/src/lxc/lxc_console.c 2013-09-10 12:10:46.179998421 +0000 +@@ -35,7 +35,6 @@ + #include <lxc/utils.h> + + #include "arguments.h" +-#include "config.h" + #include "caps.h" + + lxc_log_define(lxc_checkpoint_ui, lxc_checkpoint); +diff -ru lxc-0.9.0.orig/src/lxc/lxc_console.c lxc-0.9.0/src/lxc/lxc_console.c +--- lxc-0.9.0.orig/src/lxc/lxc_console.c 2013-10-10 09:22:58.844720784 +0300 ++++ lxc-0.9.0/src/lxc/lxc_console.c 2013-10-10 09:23:13.854637849 +0300 @@ -21,9 +21,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ @@ -163,20 +208,29 @@ diff -x '*.Po' -ru lxc-0.9.0.orig/src/lxc/lxc_console.c lxc-0.9.0/src/lxc/lxc_co #include <sys/ioctl.h> #include "error.h" -diff -x '*.Po' -ru lxc-0.9.0.orig/src/lxc/lxc_execute.c lxc-0.9.0/src/lxc/lxc_execute.c ---- lxc-0.9.0.orig/src/lxc/lxc_execute.c 2013-03-19 10:17:26.000000000 +0000 -+++ lxc-0.9.0/src/lxc/lxc_execute.c 2013-09-10 12:07:34.399998459 +0000 -@@ -20,7 +20,6 @@ +diff -ru lxc-0.9.0.orig/src/lxc/lxc_execute.c lxc-0.9.0/src/lxc/lxc_execute.c +--- lxc-0.9.0.orig/src/lxc/lxc_execute.c 2013-10-10 09:22:58.848053921 +0300 ++++ lxc-0.9.0/src/lxc/lxc_execute.c 2013-10-10 09:25:21.023948914 +0300 +@@ -20,7 +20,7 @@ * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#define _GNU_SOURCE ++#include "config.h" #include <stdio.h> #include <stdlib.h> #include <errno.h> -diff -x '*.Po' -ru lxc-0.9.0.orig/src/lxc/lxc_init.c lxc-0.9.0/src/lxc/lxc_init.c ---- lxc-0.9.0.orig/src/lxc/lxc_init.c 2013-03-19 10:17:26.000000000 +0000 -+++ lxc-0.9.0/src/lxc/lxc_init.c 2013-09-10 12:07:34.409998459 +0000 +@@ -37,7 +37,6 @@ + #include "conf.h" + #include "confile.h" + #include "arguments.h" +-#include "config.h" + #include "start.h" + #include "utils.h" + +diff -ru lxc-0.9.0.orig/src/lxc/lxc_init.c lxc-0.9.0/src/lxc/lxc_init.c +--- lxc-0.9.0.orig/src/lxc/lxc_init.c 2013-10-10 09:22:58.848053921 +0300 ++++ lxc-0.9.0/src/lxc/lxc_init.c 2013-10-10 09:23:13.854637849 +0300 @@ -30,7 +30,6 @@ #include <sys/stat.h> #include <sys/types.h> @@ -185,35 +239,53 @@ diff -x '*.Po' -ru lxc-0.9.0.orig/src/lxc/lxc_init.c lxc-0.9.0/src/lxc/lxc_init. #include <getopt.h> #include "log.h" -diff -x '*.Po' -ru lxc-0.9.0.orig/src/lxc/lxc_restart.c lxc-0.9.0/src/lxc/lxc_restart.c ---- lxc-0.9.0.orig/src/lxc/lxc_restart.c 2013-03-19 10:17:26.000000000 +0000 -+++ lxc-0.9.0/src/lxc/lxc_restart.c 2013-09-10 12:07:34.419998459 +0000 -@@ -20,9 +20,7 @@ +diff -ru lxc-0.9.0.orig/src/lxc/lxc_restart.c lxc-0.9.0/src/lxc/lxc_restart.c +--- lxc-0.9.0.orig/src/lxc/lxc_restart.c 2013-10-10 09:22:58.848053921 +0300 ++++ lxc-0.9.0/src/lxc/lxc_restart.c 2013-10-10 09:25:59.123742508 +0300 +@@ -20,9 +20,8 @@ * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#define _GNU_SOURCE ++#include "config.h" #include <stdio.h> -#undef _GNU_SOURCE #include <stdlib.h> #include <unistd.h> #include <errno.h> -diff -x '*.Po' -ru lxc-0.9.0.orig/src/lxc/lxc_start.c lxc-0.9.0/src/lxc/lxc_start.c ---- lxc-0.9.0.orig/src/lxc/lxc_start.c 2013-03-19 10:17:26.000000000 +0000 -+++ lxc-0.9.0/src/lxc/lxc_start.c 2013-09-10 12:07:34.429998459 +0000 -@@ -20,9 +20,7 @@ +@@ -33,7 +32,6 @@ + #include "lxc.h" + #include "caps.h" + #include "conf.h" +-#include "config.h" + #include "confile.h" + #include "arguments.h" + #include "utils.h" +diff -ru lxc-0.9.0.orig/src/lxc/lxc_start.c lxc-0.9.0/src/lxc/lxc_start.c +--- lxc-0.9.0.orig/src/lxc/lxc_start.c 2013-10-10 09:22:58.848053921 +0300 ++++ lxc-0.9.0/src/lxc/lxc_start.c 2013-10-10 09:24:30.684221628 +0300 +@@ -20,9 +20,8 @@ * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#define _GNU_SOURCE ++#include "config.h" #include <stdio.h> -#undef _GNU_SOURCE #include <libgen.h> #include <stdlib.h> #include <unistd.h> -diff -x '*.Po' -ru lxc-0.9.0.orig/src/lxc/lxc_unshare.c lxc-0.9.0/src/lxc/lxc_unshare.c ---- lxc-0.9.0.orig/src/lxc/lxc_unshare.c 2013-03-19 10:17:27.000000000 +0000 -+++ lxc-0.9.0/src/lxc/lxc_unshare.c 2013-09-10 12:07:34.439998459 +0000 +@@ -46,7 +45,6 @@ + #include "conf.h" + #include "cgroup.h" + #include "utils.h" +-#include "config.h" + #include "confile.h" + #include "arguments.h" + +diff -ru lxc-0.9.0.orig/src/lxc/lxc_unshare.c lxc-0.9.0/src/lxc/lxc_unshare.c +--- lxc-0.9.0.orig/src/lxc/lxc_unshare.c 2013-10-10 09:22:58.848053921 +0300 ++++ lxc-0.9.0/src/lxc/lxc_unshare.c 2013-10-10 09:23:13.854637849 +0300 @@ -20,9 +20,7 @@ * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA @@ -224,9 +296,9 @@ diff -x '*.Po' -ru lxc-0.9.0.orig/src/lxc/lxc_unshare.c lxc-0.9.0/src/lxc/lxc_un #include <stdlib.h> #include <unistd.h> #include <libgen.h> -diff -x '*.Po' -ru lxc-0.9.0.orig/src/lxc/lxccontainer.c lxc-0.9.0/src/lxc/lxccontainer.c ---- lxc-0.9.0.orig/src/lxc/lxccontainer.c 2013-04-05 09:45:22.000000000 +0000 -+++ lxc-0.9.0/src/lxc/lxccontainer.c 2013-09-10 12:21:27.039998297 +0000 +diff -ru lxc-0.9.0.orig/src/lxc/lxccontainer.c lxc-0.9.0/src/lxc/lxccontainer.c +--- lxc-0.9.0.orig/src/lxc/lxccontainer.c 2013-10-10 09:22:58.848053921 +0300 ++++ lxc-0.9.0/src/lxc/lxccontainer.c 2013-10-10 09:23:13.854637849 +0300 @@ -800,7 +800,7 @@ if (pid < 0) return false; @@ -236,9 +308,9 @@ diff -x '*.Po' -ru lxc-0.9.0.orig/src/lxc/lxccontainer.c lxc-0.9.0/src/lxc/lxcco perror("execl"); exit(1); } -diff -x '*.Po' -ru lxc-0.9.0.orig/src/lxc/lxclock.c lxc-0.9.0/src/lxc/lxclock.c ---- lxc-0.9.0.orig/src/lxc/lxclock.c 2013-03-19 10:17:26.000000000 +0000 -+++ lxc-0.9.0/src/lxc/lxclock.c 2013-09-10 12:20:50.019998304 +0000 +diff -ru lxc-0.9.0.orig/src/lxc/lxclock.c lxc-0.9.0/src/lxc/lxclock.c +--- lxc-0.9.0.orig/src/lxc/lxclock.c 2013-10-10 09:22:58.848053921 +0300 ++++ lxc-0.9.0/src/lxc/lxclock.c 2013-10-10 09:23:13.854637849 +0300 @@ -18,8 +18,8 @@ */ @@ -249,9 +321,9 @@ diff -x '*.Po' -ru lxc-0.9.0.orig/src/lxc/lxclock.c lxc-0.9.0/src/lxc/lxclock.c #define OFLAG (O_CREAT | O_RDWR) #define SEMMODE 0660 -diff -x '*.Po' -ru lxc-0.9.0.orig/src/lxc/lxcutmp.c lxc-0.9.0/src/lxc/lxcutmp.c ---- lxc-0.9.0.orig/src/lxc/lxcutmp.c 2013-03-19 10:17:28.000000000 +0000 -+++ lxc-0.9.0/src/lxc/lxcutmp.c 2013-09-10 12:29:25.499998205 +0000 +diff -ru lxc-0.9.0.orig/src/lxc/lxcutmp.c lxc-0.9.0/src/lxc/lxcutmp.c +--- lxc-0.9.0.orig/src/lxc/lxcutmp.c 2013-10-10 09:22:58.848053921 +0300 ++++ lxc-0.9.0/src/lxc/lxcutmp.c 2013-10-10 09:23:13.854637849 +0300 @@ -63,6 +63,8 @@ #include "lxc.h" #include "log.h" @@ -261,33 +333,44 @@ diff -x '*.Po' -ru lxc-0.9.0.orig/src/lxc/lxcutmp.c lxc-0.9.0/src/lxc/lxcutmp.c #ifndef __USE_GNU #define __USE_GNU #endif -diff -x '*.Po' -ru lxc-0.9.0.orig/src/lxc/network.c lxc-0.9.0/src/lxc/network.c ---- lxc-0.9.0.orig/src/lxc/network.c 2013-03-19 10:17:28.000000000 +0000 -+++ lxc-0.9.0/src/lxc/network.c 2013-09-10 12:07:34.539998459 +0000 -@@ -20,7 +20,6 @@ +diff -ru lxc-0.9.0.orig/src/lxc/network.c lxc-0.9.0/src/lxc/network.c +--- lxc-0.9.0.orig/src/lxc/network.c 2013-10-10 09:22:58.848053921 +0300 ++++ lxc-0.9.0/src/lxc/network.c 2013-10-10 09:30:26.518960572 +0300 +@@ -20,9 +20,8 @@ * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#define _GNU_SOURCE ++#include "config.h" #include <stdio.h> - #undef _GNU_SOURCe +-#undef _GNU_SOURCe #include <stdlib.h> -diff -x '*.Po' -ru lxc-0.9.0.orig/src/lxc/parse.c lxc-0.9.0/src/lxc/parse.c ---- lxc-0.9.0.orig/src/lxc/parse.c 2013-03-19 10:17:28.000000000 +0000 -+++ lxc-0.9.0/src/lxc/parse.c 2013-09-10 12:07:34.559998459 +0000 -@@ -20,9 +20,7 @@ + #include <unistd.h> + #include <fcntl.h> +diff -ru lxc-0.9.0.orig/src/lxc/parse.c lxc-0.9.0/src/lxc/parse.c +--- lxc-0.9.0.orig/src/lxc/parse.c 2013-10-10 09:22:58.848053921 +0300 ++++ lxc-0.9.0/src/lxc/parse.c 2013-10-10 09:23:30.724546457 +0300 +@@ -20,16 +20,14 @@ * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#define _GNU_SOURCE ++#include "config.h" #include <stdio.h> -#undef _GNU_SOURCE #include <string.h> #include <stdlib.h> #include <errno.h> -diff -x '*.Po' -ru lxc-0.9.0.orig/src/lxc/restart.c lxc-0.9.0/src/lxc/restart.c ---- lxc-0.9.0.orig/src/lxc/restart.c 2013-03-19 10:17:28.000000000 +0000 -+++ lxc-0.9.0/src/lxc/restart.c 2013-09-10 12:07:34.559998459 +0000 + #include <dirent.h> + + #include "parse.h" +-#include "config.h" + #include <lxc/log.h> + + /* Define getline() if missing from the C library */ +diff -ru lxc-0.9.0.orig/src/lxc/restart.c lxc-0.9.0/src/lxc/restart.c +--- lxc-0.9.0.orig/src/lxc/restart.c 2013-10-10 09:22:58.851387051 +0300 ++++ lxc-0.9.0/src/lxc/restart.c 2013-10-10 09:23:13.857971164 +0300 @@ -24,7 +24,6 @@ #include "config.h" @@ -296,9 +379,9 @@ diff -x '*.Po' -ru lxc-0.9.0.orig/src/lxc/restart.c lxc-0.9.0/src/lxc/restart.c #include <string.h> #include <stdlib.h> #include <errno.h> -diff -x '*.Po' -ru lxc-0.9.0.orig/src/lxc/seccomp.c lxc-0.9.0/src/lxc/seccomp.c ---- lxc-0.9.0.orig/src/lxc/seccomp.c 2013-03-19 10:17:28.000000000 +0000 -+++ lxc-0.9.0/src/lxc/seccomp.c 2013-09-10 12:07:34.579998459 +0000 +diff -ru lxc-0.9.0.orig/src/lxc/seccomp.c lxc-0.9.0/src/lxc/seccomp.c +--- lxc-0.9.0.orig/src/lxc/seccomp.c 2013-10-10 09:22:58.851387051 +0300 ++++ lxc-0.9.0/src/lxc/seccomp.c 2013-10-10 09:23:13.857971164 +0300 @@ -21,7 +21,6 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ @@ -307,9 +390,9 @@ diff -x '*.Po' -ru lxc-0.9.0.orig/src/lxc/seccomp.c lxc-0.9.0/src/lxc/seccomp.c #include <stdio.h> #include <stdlib.h> #include <seccomp.h> -diff -x '*.Po' -ru lxc-0.9.0.orig/src/lxc/start.c lxc-0.9.0/src/lxc/start.c ---- lxc-0.9.0.orig/src/lxc/start.c 2013-04-05 09:45:22.000000000 +0000 -+++ lxc-0.9.0/src/lxc/start.c 2013-09-10 12:10:30.929998424 +0000 +diff -ru lxc-0.9.0.orig/src/lxc/start.c lxc-0.9.0/src/lxc/start.c +--- lxc-0.9.0.orig/src/lxc/start.c 2013-10-10 09:22:58.851387051 +0300 ++++ lxc-0.9.0/src/lxc/start.c 2013-10-10 09:23:13.857971164 +0300 @@ -24,7 +24,6 @@ #include "config.h" @@ -327,9 +410,9 @@ diff -x '*.Po' -ru lxc-0.9.0.orig/src/lxc/start.c lxc-0.9.0/src/lxc/start.c #include <sys/syscall.h> #if HAVE_SYS_CAPABILITY_H -diff -x '*.Po' -ru lxc-0.9.0.orig/src/lxc/utils.c lxc-0.9.0/src/lxc/utils.c ---- lxc-0.9.0.orig/src/lxc/utils.c 2013-03-19 10:17:28.000000000 +0000 -+++ lxc-0.9.0/src/lxc/utils.c 2013-09-10 12:07:34.629998459 +0000 +diff -ru lxc-0.9.0.orig/src/lxc/utils.c lxc-0.9.0/src/lxc/utils.c +--- lxc-0.9.0.orig/src/lxc/utils.c 2013-10-10 09:22:58.851387051 +0300 ++++ lxc-0.9.0/src/lxc/utils.c 2013-10-10 09:23:13.857971164 +0300 @@ -21,7 +21,6 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ @@ -338,9 +421,9 @@ diff -x '*.Po' -ru lxc-0.9.0.orig/src/lxc/utils.c lxc-0.9.0/src/lxc/utils.c #include <errno.h> #include <unistd.h> #include <stdlib.h> -diff -x '*.Po' -ru lxc-0.9.0.orig/src/lxc/utils.h lxc-0.9.0/src/lxc/utils.h ---- lxc-0.9.0.orig/src/lxc/utils.h 2013-03-19 10:17:28.000000000 +0000 -+++ lxc-0.9.0/src/lxc/utils.h 2013-09-10 12:17:15.499998346 +0000 +diff -ru lxc-0.9.0.orig/src/lxc/utils.h lxc-0.9.0/src/lxc/utils.h +--- lxc-0.9.0.orig/src/lxc/utils.h 2013-10-10 09:22:58.851387051 +0300 ++++ lxc-0.9.0/src/lxc/utils.h 2013-10-10 09:23:13.857971164 +0300 @@ -23,6 +23,8 @@ #ifndef _utils_h #define _utils_h |