diff options
Diffstat (limited to 'patches')
3 files changed, 61 insertions, 0 deletions
diff --git a/patches/libsemanage-2.1.9/0001-makefile-remove-host-path-from-list-of-header-search.patch b/patches/libsemanage-2.1.9/0001-makefile-remove-host-path-from-list-of-header-search.patch new file mode 100644 index 000000000..d42d8e644 --- /dev/null +++ b/patches/libsemanage-2.1.9/0001-makefile-remove-host-path-from-list-of-header-search.patch @@ -0,0 +1,22 @@ +From: Marc Kleine-Budde <mkl@pengutronix.de> +Date: Mon, 14 Jan 2013 20:01:55 +0100 +Subject: [PATCH] makefile: remove host path from list of header search dirs + +Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> +--- + src/Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/Makefile b/src/Makefile +index c63bb22..eb4e6d5 100644 +--- a/src/Makefile ++++ b/src/Makefile +@@ -60,7 +60,7 @@ CFLAGS ?= -Werror -Wall -W -Wundef -Wshadow -Wmissing-noreturn -Wmissing-format- + SWIG_CFLAGS += -Wno-error -Wno-unused-but-set-variable -Wno-unused-variable -Wno-shadow \ + -Wno-unused-parameter + +-override CFLAGS += -I../include -I$(INCLUDEDIR) -D_GNU_SOURCE ++override CFLAGS += -I../include -D_GNU_SOURCE + RANLIB=ranlib + + SWIG = swig -Wall -python -o $(SWIGCOUT) -outdir ./ diff --git a/patches/libsemanage-2.1.9/0002-makefile-remove-host-path-from-list-of-linker-search.patch b/patches/libsemanage-2.1.9/0002-makefile-remove-host-path-from-list-of-linker-search.patch new file mode 100644 index 000000000..9434a3531 --- /dev/null +++ b/patches/libsemanage-2.1.9/0002-makefile-remove-host-path-from-list-of-linker-search.patch @@ -0,0 +1,34 @@ +From: Marc Kleine-Budde <mkl@pengutronix.de> +Date: Mon, 14 Jan 2013 20:02:08 +0100 +Subject: [PATCH] makefile: remove host path from list of linker search dirs + +Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> +--- + src/Makefile | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/src/Makefile b/src/Makefile +index eb4e6d5..690a816 100644 +--- a/src/Makefile ++++ b/src/Makefile +@@ -82,17 +82,17 @@ $(SWIGRUBYLOBJ): $(SWIGRUBYCOUT) + $(CC) $(CFLAGS) $(SWIG_CFLAGS) $(RUBYINC) -fPIC -DSHARED -c -o $@ $< + + $(SWIGSO): $(SWIGLOBJ) +- $(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $< -L. -lsemanage -L$(LIBDIR) ++ $(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $< -L. -lsemanage + + $(SWIGRUBYSO): $(SWIGRUBYLOBJ) +- $(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $^ -L. -lsemanage -L$(LIBDIR) ++ $(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $^ -L. -lsemanage + + $(LIBA): $(OBJS) + $(AR) rcs $@ $^ + $(RANLIB) $@ + + $(LIBSO): $(LOBJS) +- $(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $^ -lsepol -lselinux -lbz2 -lustr -L$(LIBDIR) -Wl,-soname,$(LIBSO),--version-script=libsemanage.map,-z,defs ++ $(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $^ -lsepol -lselinux -lbz2 -lustr -Wl,-soname,$(LIBSO),--version-script=libsemanage.map,-z,defs + ln -sf $@ $(TARGET) + + $(LIBPC): $(LIBPC).in ../VERSION diff --git a/patches/libsemanage-2.1.9/series b/patches/libsemanage-2.1.9/series new file mode 100644 index 000000000..1b6b4c369 --- /dev/null +++ b/patches/libsemanage-2.1.9/series @@ -0,0 +1,5 @@ +# generated by git-ptx-patches +#tag:base --start-number 1 +0001-makefile-remove-host-path-from-list-of-header-search.patch +0002-makefile-remove-host-path-from-list-of-linker-search.patch +# 73f17ef0b41fda63278004af46bb2478 - git-ptx-patches magic |