summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>2017-10-01 15:46:11 +0200
committerMichael Mair-Keimberger <m.mairkeimberger@gmail.com>2017-10-09 20:45:09 +0200
commitcea2f65ff016b6669ad3a8625f51a03958e3e471 (patch)
treece7d484b2f2282cf2401b5792bdc81501b585b8e /sys-libs/libsemanage/files
parentsys-apps/policycoreutils: remove unused patch (diff)
downloadgentoo-cea2f65ff016b6669ad3a8625f51a03958e3e471.tar.gz
gentoo-cea2f65ff016b6669ad3a8625f51a03958e3e471.tar.bz2
gentoo-cea2f65ff016b6669ad3a8625f51a03958e3e471.zip
sys-libs/libsemanage: remove unused patch
Diffstat (limited to 'sys-libs/libsemanage/files')
-rw-r--r--sys-libs/libsemanage/files/libsemanage-2.4-build-paths.patch35
1 files changed, 0 insertions, 35 deletions
diff --git a/sys-libs/libsemanage/files/libsemanage-2.4-build-paths.patch b/sys-libs/libsemanage/files/libsemanage-2.4-build-paths.patch
deleted file mode 100644
index 7eeb9befb318..000000000000
--- a/sys-libs/libsemanage/files/libsemanage-2.4-build-paths.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-there's no point in using -I/-L flags to the system paths and this breaks
-cross-compiling. just drop them.
-
---- a/src/Makefile
-+++ b/src/Makefile
-@@ -60,7 +60,7 @@
- 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 ./
-@@ -82,17 +82,17 @@
- $(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 -laudit -lselinux -lbz2 -lustr -L$(LIBDIR) -Wl,-soname,$(LIBSO),--version-script=libsemanage.map,-z,defs
-+ $(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $^ -lsepol -laudit -lselinux -lbz2 -lustr -Wl,-soname,$(LIBSO),--version-script=libsemanage.map,-z,defs
- ln -sf $@ $(TARGET)
-
- $(LIBPC): $(LIBPC).in ../VERSION