blueness 15/07/14 01:11:23 Added: libcgroup-0.41-reorder-headers.patch libcgroup-0.41-replace_INLCUDES.patch Log: Modernize Makefile.am and fix header stacking. (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)
Revision Changes Path 1.1 dev-libs/libcgroup/files/libcgroup-0.41-reorder-headers.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libcgroup/files/libcgroup-0.41-reorder-headers.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libcgroup/files/libcgroup-0.41-reorder-headers.patch?rev=1.1&content-type=text/plain Index: libcgroup-0.41-reorder-headers.patch =================================================================== diff -Naur libcgroup-0.41.orig/src/libcgroup-internal.h libcgroup-0.41/src/libcgroup-internal.h --- libcgroup-0.41.orig/src/libcgroup-internal.h 2015-07-13 21:08:26.740965713 -0400 +++ libcgroup-0.41/src/libcgroup-internal.h 2015-07-13 21:09:40.774962164 -0400 @@ -21,12 +21,12 @@ #endif #include "config.h" -#include <fts.h> #include <libcgroup.h> #include <limits.h> #include <pthread.h> -#include <sys/stat.h> #include <sys/types.h> +#include <sys/stat.h> +#include <fts.h> #include <setjmp.h> /* Maximum number of mount points/controllers */ 1.1 dev-libs/libcgroup/files/libcgroup-0.41-replace_INLCUDES.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libcgroup/files/libcgroup-0.41-replace_INLCUDES.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libcgroup/files/libcgroup-0.41-replace_INLCUDES.patch?rev=1.1&content-type=text/plain Index: libcgroup-0.41-replace_INLCUDES.patch =================================================================== diff -Naur libcgroup-0.41.orig/src/Makefile.am libcgroup-0.41/src/Makefile.am --- libcgroup-0.41.orig/src/Makefile.am 2014-01-13 14:05:56.000000000 +0000 +++ libcgroup-0.41/src/Makefile.am 2015-07-13 14:36:38.922428040 +0000 @@ -9,7 +9,7 @@ CLEANFILES = lex.c parse.c parse.h -INCLUDES = -I$(top_srcdir)/include +AM_CPPFLAGS = -I$(top_srcdir)/include lib_LTLIBRARIES = libcgroup.la libcgroup_la_SOURCES = parse.h parse.y lex.l api.c config.c libcgroup-internal.h libcgroup.map wrapper.c log.c libcgroup_la_LIBADD = -lpthread diff -Naur libcgroup-0.41.orig/src/bindings/Makefile.am libcgroup-0.41/src/bindings/Makefile.am --- libcgroup-0.41.orig/src/bindings/Makefile.am 2014-01-13 14:05:56.000000000 +0000 +++ libcgroup-0.41/src/bindings/Makefile.am 2015-07-13 14:37:12.267428146 +0000 @@ -1,5 +1,5 @@ SUBDIRS = . -INCLUDES = -I$(top_srcdir)/include +AM_CPPFLAGS = -I$(top_srcdir)/include lib_LTLIBRARIES = _libcgroup.la _libcgroup_la_SOURCES = libcgroup.c @@ -11,5 +11,5 @@ libcgroup.c: libcgroup.p $(top_srcdir)/include/libcgroup.h cp libcgroup.p libcgroup.i - $(CC) $(INCLUDES) -DSWIG -E $(top_srcdir)/include/libcgroup.h >> libcgroup.i + $(CC) $(CPPFLAGS) -DSWIG -E $(top_srcdir)/include/libcgroup.h >> libcgroup.i $(SWIG) -python -o libcgroup.c libcgroup.i diff -Naur libcgroup-0.41.orig/src/daemon/Makefile.am libcgroup-0.41/src/daemon/Makefile.am --- libcgroup-0.41.orig/src/daemon/Makefile.am 2014-01-13 14:05:56.000000000 +0000 +++ libcgroup-0.41/src/daemon/Makefile.am 2015-07-13 14:36:55.781428093 +0000 @@ -1,4 +1,4 @@ -INCLUDES = -I $(top_srcdir)/include +AM_CPPFLAGS = -I $(top_srcdir)/include if WITH_DAEMON diff -Naur libcgroup-0.41.orig/src/pam/Makefile.am libcgroup-0.41/src/pam/Makefile.am --- libcgroup-0.41.orig/src/pam/Makefile.am 2014-01-13 14:05:56.000000000 +0000 +++ libcgroup-0.41/src/pam/Makefile.am 2015-07-13 14:36:28.768428007 +0000 @@ -1,4 +1,4 @@ -INCLUDES = -I $(top_srcdir)/include +AM_CPPFLAGS = -I $(top_srcdir)/include if WITH_PAM diff -Naur libcgroup-0.41.orig/src/tools/Makefile.am libcgroup-0.41/src/tools/Makefile.am --- libcgroup-0.41.orig/src/tools/Makefile.am 2014-01-13 14:05:56.000000000 +0000 +++ libcgroup-0.41/src/tools/Makefile.am 2015-07-13 14:36:19.098427976 +0000 @@ -1,4 +1,4 @@ -INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/include +AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/include LDADD = $(top_builddir)/src/.libs/libcgroup.la if WITH_TOOLS diff -Naur libcgroup-0.41.orig/tests/Makefile.am libcgroup-0.41/tests/Makefile.am --- libcgroup-0.41.orig/tests/Makefile.am 2014-01-13 14:05:56.000000000 +0000 +++ libcgroup-0.41/tests/Makefile.am 2015-07-13 14:37:23.146428181 +0000 @@ -1,6 +1,6 @@ SUBDIRS = tools -INCLUDES = -I$(top_srcdir)/include +AM_CPPFLAGS = -I$(top_srcdir)/include LDADD = $(top_builddir)/src/.libs/libcgroup.la # compile the tests, but do not install them