diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2018-03-27 10:48:31 +0200 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2018-03-27 10:51:36 +0200 |
commit | fb4a0ff8bb521f3b10a0fca5e19d0c12f0924b5d (patch) | |
tree | 2bcc643d0d658b4f5f4d5f6fe5cbe5601dbf33be /app-arch/zstd/files | |
parent | sys-apps/exa: update metadata information (diff) | |
download | gentoo-fb4a0ff8bb521f3b10a0fca5e19d0c12f0924b5d.tar.gz gentoo-fb4a0ff8bb521f3b10a0fca5e19d0c12f0924b5d.tar.bz2 gentoo-fb4a0ff8bb521f3b10a0fca5e19d0c12f0924b5d.zip |
app-arch/zstd: Remove old
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'app-arch/zstd/files')
-rw-r--r-- | app-arch/zstd/files/zstd-1.1.0-fix_build_system.patch | 79 |
1 files changed, 0 insertions, 79 deletions
diff --git a/app-arch/zstd/files/zstd-1.1.0-fix_build_system.patch b/app-arch/zstd/files/zstd-1.1.0-fix_build_system.patch deleted file mode 100644 index 75531c409974..000000000000 --- a/app-arch/zstd/files/zstd-1.1.0-fix_build_system.patch +++ /dev/null @@ -1,79 +0,0 @@ -diff --git a/lib/Makefile b/lib/Makefile -index 4fb8ed9..ec5436d 100644 ---- a/lib/Makefile -+++ b/lib/Makefile -@@ -63,17 +63,17 @@ all: clean libzstd - - libzstd: $(ZSTD_FILES) - @echo compiling static library -- @$(CC) $(FLAGS) -c $^ -- @$(AR) rcs $@.a *.o -+ $(CC) $(FLAGS) -c $^ -+ $(AR) rcs $@.a *.o - @echo compiling dynamic library $(LIBVER) -- @$(CC) $(FLAGS) -shared $^ -fPIC $(SONAME_FLAGS) -o $@.$(SHARED_EXT_VER) -+ $(CC) $(FLAGS) -shared $^ -fPIC $(SONAME_FLAGS) -o $@.$(SHARED_EXT_VER) - @echo creating versioned links -- @ln -sf $@.$(SHARED_EXT_VER) $@.$(SHARED_EXT_MAJOR) -- @ln -sf $@.$(SHARED_EXT_VER) $@.$(SHARED_EXT) -+ ln -sf $@.$(SHARED_EXT_VER) $@.$(SHARED_EXT_MAJOR) -+ ln -sf $@.$(SHARED_EXT_VER) $@.$(SHARED_EXT) - - clean: -- @rm -f core *.o *.a *.gcda *.$(SHARED_EXT) *.$(SHARED_EXT).* libzstd.pc -- @rm -f decompress/*.o -+ rm -f core *.o *.a *.gcda *.$(SHARED_EXT) *.$(SHARED_EXT).* libzstd.pc -+ rm -f decompress/*.o - @echo Cleaning library completed - - #------------------------------------------------------------------------ -@@ -83,22 +83,22 @@ ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU FreeBSD DragonFly - libzstd.pc: - libzstd.pc: libzstd.pc.in - @echo creating pkgconfig -- @sed -e 's|@PREFIX@|$(PREFIX)|' \ -+ sed -e 's|@PREFIX@|$(PREFIX)|' \ - -e 's|@LIBDIR@|$(LIBDIR)|' \ - -e 's|@INCLUDEDIR@|$(INCLUDEDIR)|' \ - -e 's|@VERSION@|$(VERSION)|' \ - $< >$@ - --install: libzstd libzstd.pc -- @install -d -m 755 $(DESTDIR)$(LIBDIR)/pkgconfig/ $(DESTDIR)$(INCLUDEDIR)/ -- @install -m 755 libzstd.$(SHARED_EXT_VER) $(DESTDIR)$(LIBDIR)/libzstd.$(SHARED_EXT_VER) -- @cp -a libzstd.$(SHARED_EXT_MAJOR) $(DESTDIR)$(LIBDIR) -- @cp -a libzstd.$(SHARED_EXT) $(DESTDIR)$(LIBDIR) -- @cp -a libzstd.pc $(DESTDIR)$(LIBDIR)/pkgconfig/ -- @install -m 644 libzstd.a $(DESTDIR)$(LIBDIR)/libzstd.a -- @install -m 644 zstd.h $(DESTDIR)$(INCLUDEDIR)/zstd.h -- @install -m 644 common/zbuff.h $(DESTDIR)$(INCLUDEDIR)/zbuff.h -- @install -m 644 dictBuilder/zdict.h $(DESTDIR)$(INCLUDEDIR)/zdict.h -+install: libzstd.pc -+ install -d -m 755 $(DESTDIR)$(LIBDIR)/pkgconfig/ $(DESTDIR)$(INCLUDEDIR)/ -+ install -m 755 libzstd.$(SHARED_EXT_VER) $(DESTDIR)$(LIBDIR)/libzstd.$(SHARED_EXT_VER) -+ cp -a libzstd.$(SHARED_EXT_MAJOR) $(DESTDIR)$(LIBDIR) -+ cp -a libzstd.$(SHARED_EXT) $(DESTDIR)$(LIBDIR) -+ cp -a libzstd.pc $(DESTDIR)$(LIBDIR)/pkgconfig/ -+ install -m 644 libzstd.a $(DESTDIR)$(LIBDIR)/libzstd.a -+ install -m 644 zstd.h $(DESTDIR)$(INCLUDEDIR)/zstd.h -+ install -m 644 common/zbuff.h $(DESTDIR)$(INCLUDEDIR)/zbuff.h -+ install -m 644 dictBuilder/zdict.h $(DESTDIR)$(INCLUDEDIR)/zdict.h - @echo zstd static and shared library installed - - uninstall: -diff --git a/programs/Makefile b/programs/Makefile -index 6e78d0e..993d138 100644 ---- a/programs/Makefile -+++ b/programs/Makefile -@@ -21,11 +21,7 @@ MANDIR = $(PREFIX)/share/man/man1 - - ZSTDDIR = ../lib - --ifeq ($(shell $(CC) -v 2>&1 | grep -c "gcc version "), 1) --ALIGN_LOOP = -falign-loops=32 --else - ALIGN_LOOP = --endif - - CPPFLAGS= -I$(ZSTDDIR) -I$(ZSTDDIR)/common -I$(ZSTDDIR)/dictBuilder - CFLAGS ?= -O3 |