diff options
author | Michael Mair-Keimberger <mmk@levelnine.at> | 2021-07-15 20:37:52 +0200 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2021-07-15 22:07:44 +0200 |
commit | e27cda1980b80a0f868c047b73d4da45d4a80a17 (patch) | |
tree | e9c3b82b55b01dc99bd5192b988b906a8a2358e4 /sci-libs/cdf | |
parent | sci-libs/alglib: remove unused patch (diff) | |
download | gentoo-e27cda1980b80a0f868c047b73d4da45d4a80a17.tar.gz gentoo-e27cda1980b80a0f868c047b73d4da45d4a80a17.tar.bz2 gentoo-e27cda1980b80a0f868c047b73d4da45d4a80a17.zip |
sci-libs/cdf: remove unused patches
Closes: https://github.com/gentoo/gentoo/pull/21659
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'sci-libs/cdf')
-rw-r--r-- | sci-libs/cdf/files/cdf-3.2-soname.patch | 22 | ||||
-rw-r--r-- | sci-libs/cdf/files/cdf-3.5.0.2-Makefile.patch | 110 |
2 files changed, 0 insertions, 132 deletions
diff --git a/sci-libs/cdf/files/cdf-3.2-soname.patch b/sci-libs/cdf/files/cdf-3.2-soname.patch deleted file mode 100644 index e4f28617faca..000000000000 --- a/sci-libs/cdf/files/cdf-3.2-soname.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- src/lib/Makefile.orig 2007-12-03 17:47:58.476149933 +0000 -+++ src/lib/Makefile 2007-12-03 17:50:34.353032850 +0000 -@@ -94,7 +94,7 @@ - - shared.yes: libcdf.$(SHAREDEXT) - --libcdf.so \ -+libcdf.$(SHAREDEXT) \ - libcdf.dylib \ - libcdf.sl: $(OBJs) - @if [ -f $@ ] ; then rm $@ ; else $(NULL) ; fi -@@ -102,8 +102,8 @@ - echo $(LD) $(LDFLAGS) -o $@ $(OBJs) $(SYSLIBS); \ - $(LD) $(LDFLAGS) -o $@ $(OBJs) $(SYSLIBS); \ - else \ -- echo $(LD) $(LDFLAGS) -o $@ $(OBJs) $(SYSLIBS); \ -- $(LD) $(LDFLAGS) -o $@ $(OBJs) $(SYSLIBS); \ -+ echo $(LD) $(LDFLAGS) -Wl,-soname,libcdf.$(SHAREDEXT) -o $@ $(OBJs) $(SYSLIBS); \ -+ $(LD) $(LDFLAGS) -Wl,-soname,libcdf.$(SHAREDEXT) -o $@ $(OBJs) $(SYSLIBS); \ - fi - - libcdf.o: $(OBJs) diff --git a/sci-libs/cdf/files/cdf-3.5.0.2-Makefile.patch b/sci-libs/cdf/files/cdf-3.5.0.2-Makefile.patch deleted file mode 100644 index 3bab69dfc6ac..000000000000 --- a/sci-libs/cdf/files/cdf-3.5.0.2-Makefile.patch +++ /dev/null @@ -1,110 +0,0 @@ - Makefile | 27 ++++++++++++++++----------- - src/tools/Makefile | 6 +++--- - 2 files changed, 19 insertions(+), 14 deletions(-) - -diff --git a/Makefile b/Makefile -index 7f240db..222c4f1 100644 ---- a/Makefile -+++ b/Makefile -@@ -771,17 +771,17 @@ all - "PIC=$(PIC_$(OS)_$(ENV))" \ - "CCx=$(CC_$(OS)_$(ENV))" \ - "LDx=$(LD_$(OS)_$(ENV))" \ --"COPTIONS=$(UCOPTIONS) $(COPTIONS_$(OS)_$(ENV))" \ -+"COPTIONS=$(CFLAGS) $(COPTIONS_$(OS)_$(ENV))" \ - "SYSLIBS=$(SYSLIBSshr_$(OS)_$(ENV))" \ - "SHAREDEXT=$(SHAREDEXT_$(OS))" \ --"LDOPTIONS=$(LDOPTIONS_$(OS)_$(ENV))" \ -+"LDOPTIONS=$(LDFLAGS) $(LDOPTIONS_$(OS)_$(ENV))" \ - "AROPTIONS=$(AROPTIONS_$(OS))" \ - "RANLIB=$(RANLIB_$(OS))" \ - all - @cd $(TOOLSsrcDIR); $(MAKE) \ - "CURSES=$(AND.$(CURSES).$(CURSES_$(OS)_$(ENV)))" \ - "CCx=$(CC_$(OS)_$(ENV))" \ --"COPTIONS=$(COPTIONS_$(OS)_$(ENV))" \ -+"COPTIONS=$(CFLAGS) $(COPTIONS_$(OS)_$(ENV))" \ - "COPTIONSld=$(COPTIONSld_$(OS)_$(ENV))" \ - "SYSLIBS=$(SYSLIBSexe_$(OS)_$(ENV))" \ - "CURSESLIB=$(CURSESLIB_$(OS)_$(ENV))" \ -@@ -791,9 +791,9 @@ all - "FCx=$(FC_$(OS))" \ - "CCx=$(CC_$(OS)_$(ENV))" \ - "SHARED=$(AND.$(SHARED).$(SHARED_$(OS)))" \ --"FOPTIONS=$(FOPTIONS_$(OS)) $(FOPTIONS_$(OS)_$(ENV))" \ -+"FOPTIONS=$(FFLAGS) $(FOPTIONS_$(OS)) $(FOPTIONS_$(OS)_$(ENV))" \ - "FOPTIONSld=$(FOPTIONSld_$(OS)) $(FOPTIONSld_$(OS)_$(ENV))" \ --"COPTIONS=$(COPTIONS_$(OS)_$(ENV))" \ -+"COPTIONS=$(CFLAGS) $(COPTIONS_$(OS)_$(ENV))" \ - "COPTIONSld=$(COPTIONSld_$(OS)_$(ENV))" \ - "SYSLIBS=$(SYSLIBSexe_$(OS)_$(ENV))" \ - "SHAREDEXT=$(SHAREDEXT_$(OS))" \ -@@ -829,12 +829,17 @@ install: install.$(PART) - install.all: install.definitions install.include install.lib \ - install.tools install.help_ notify.user copy.leapseconds - --install.definitions: create.bin copy.definitions change.definitions -+install.definitions: create.bin - install.include: create.include copy.include - install.tools: create.bin copy.tools - install.help_: create.help copy.help - - install.lib: create.lib copy.lib.a -+ @if [ -f $(LIBsrcDIR)/libcdf.$(SHAREDEXT) ] ; then \ -+ $(MAKE) "INSTALLDIR=$(INSTALLDIR)" install.lib.so ; \ -+ else \ -+ $(NULL) ; \ -+ fi - @if [ -f $(LIBsrcDIR)/libcdf.so ] ; then \ - $(MAKE) "INSTALLDIR=$(INSTALLDIR)" install.lib.so ; \ - else \ -@@ -940,8 +945,8 @@ copy.include: - cp $(INCsrcDIR)/cdfconfig.h $(INSTALLDIR)/include - - copy.lib.so: -- @echo cp $(LIBsrcDIR)/libcdf.so $(INSTALLDIR)/lib -- cp $(LIBsrcDIR)/libcdf.so $(INSTALLDIR)/lib -+ @echo cp $(LIBsrcDIR)/libcdf.$(SHAREDEXT) $(INSTALLDIR)/lib -+ cp $(LIBsrcDIR)/libcdf.$(SHAREDEXT) $(INSTALLDIR)/lib - - copy.lib.sl: - @echo cp $(LIBsrcDIR)/libcdf.sl $(INSTALLDIR)/lib -@@ -2128,15 +2133,15 @@ show.posix.alphaI: show.supported - show.supported: - @echo SHARED is $(SUPPORTED.$(SHARED_$(OS))) - @echo CURSES is $(SUPPORTED.$(CURSES_$(OS)_$(ENV))) -- @echo FOPTIONS=$(FOPTIONS_$(OS)) -+ @echo FOPTIONS=$(FFLAGS) $(FOPTIONS_$(OS)) - @echo FOPTIONSld=$(FOPTIONSld_$(OS)) - @echo SHAREDEXT=$(SHAREDEXT_$(OS)) -- @echo LDOPTIONSlibcdf=$(LDOPTIONS_$(OS)_$(ENV)) -+ @echo LDOPTIONSlibcdf=$(LDFLAGS) $(LDOPTIONS_$(OS)_$(ENV)) - @echo RANLIB=$(RANLIB_$(OS)) - @echo FCx=$(FC_$(OS)) - @echo CCx=$(CC_$(OS)_$(ENV)) - @echo PIC=$(PIC_$(OS)_$(ENV)) -- @echo COPTIONS=$(COPTIONS_$(OS)_$(ENV)) -+ @echo COPTIONS=$(CFLAGS) $(COPTIONS_$(OS)_$(ENV)) - @echo COPTIONSld=$(COPTIONSld_$(OS)_$(ENV)) - @echo CURSESLIB=$(CURSESLIB_$(OS)_$(ENV)) - @echo SYSLIBSexe=$(SYSLIBSexe_$(OS)_$(ENV)) -diff --git a/src/tools/Makefile b/src/tools/Makefile -index 3773c0c..1cabf61 100644 ---- a/src/tools/Makefile -+++ b/src/tools/Makefile -@@ -40,12 +40,12 @@ CURSESLIB=-lncurses - INCLUDEcdf= ../include - - CC=$(CCx) --CFLAGS=$(COPTIONS) -I$(INCLUDEcdf) --CFLAGSld=$(COPTIONSld) -+CFLAGS:=$(CFLAGS) $(COPTIONS) -I$(INCLUDEcdf) -+CFLAGSld=$(LDFLAGS) $(COPTIONSld) - - WHICHOS=$(shell uname -a | cut -f1 -d" ") - ifeq ("$(WHICHOS)","Darwin") -- LIBCDFa=../lib/libcdf.a -+ LIBCDFa=../lib/libcdf.so.3 - else - WHICHOS=$(shell uname -a | cut -f7 -d" ") - ifeq ("$(WHICHOS)","Cygwin") |