diff options
author | Stephen L Arnold <nerdboy@gentoo.org> | 2016-01-05 11:36:58 -0800 |
---|---|---|
committer | Stephen L Arnold <nerdboy@gentoo.org> | 2016-01-05 11:38:18 -0800 |
commit | 86378c48a9e7862972b1ff0c4323f5766b2b7b78 (patch) | |
tree | 478c3efcd0f3dae307ed200ec46c8eabcb903b1b /sci-libs/libbufr/files | |
parent | dev-libs/libintl: add Prefix keywords (diff) | |
download | gentoo-86378c48a9e7862972b1ff0c4323f5766b2b7b78.tar.gz gentoo-86378c48a9e7862972b1ff0c4323f5766b2b7b78.tar.bz2 gentoo-86378c48a9e7862972b1ff0c4323f5766b2b7b78.zip |
sci-libs/libbufr: Updated to latest release and removed old version
This fixes and/or obsoletes three open bugs on the old version
(bugs 370021, 478614, 513964) and adds lto USE flag to support
gold linker and -flto. Also need to update package.mask.
Package-Manager: portage-2.2.26
Diffstat (limited to 'sci-libs/libbufr/files')
-rw-r--r-- | sci-libs/libbufr/files/libbufr-000405-makefile.patch | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/sci-libs/libbufr/files/libbufr-000405-makefile.patch b/sci-libs/libbufr/files/libbufr-000405-makefile.patch new file mode 100644 index 000000000000..08b30ded8d72 --- /dev/null +++ b/sci-libs/libbufr/files/libbufr-000405-makefile.patch @@ -0,0 +1,80 @@ +--- Makefile.orig 2016-01-04 13:09:58.661150785 -0800 ++++ Makefile 2016-01-04 13:17:12.707621825 -0800 +@@ -1,7 +1,7 @@ + # Makefile for libbufrex + # + R64 = R64 +-TARGETS = all clean ++TARGETS = all clean test + LIBRARY = libbufr$(R64).a + SHELL=/bin/sh + SUBDIRS = fortranC bufrdc pbio bufrtables examples +@@ -11,12 +11,14 @@ + ( echo "*************************"; \ + echo "*** Make in $$name "; \ + echo "*************************"; \ +- cd $$name ; make ; ) done ++ $(MAKE) -C $$name LIB=bufr ; ) done ++ ++test : + ./test.sh + tables_tools/check_tables.sh bufrtables + + clean : + @for name in $(SUBDIRS); do\ +- ( echo "*** Clean in $$name ***" ;cd $$name ; make clean ); \ ++ ( echo "*** Clean in $$name ***" ;$(MAKE) -C $$name clean ); \ + done + rm -f $(LIBRARY) +--- examples/Makefile.in.orig 2016-01-04 13:42:39.790648703 -0800 ++++ examples/Makefile.in 2016-01-04 13:45:02.384967830 -0800 +@@ -16,19 +16,19 @@ + # + # + TARGETS = all clean +-EXECS = decode_bufr decode_bufr_image bufr_decode_all tdexp tdexp create_bufr ++EXECS = decode_bufr decode_bufr_image bufr_decode_all bufr_compress tdexp create_bufr + # + # + all :$(EXECS) + +-decode_bufr: decode_bufr.o ++decode_bufr: decode_bufr.o + $(FC) $(FFLAGS) -o $@ decode_bufr.o -L$(PLACE) -l$(LIB)$(R64) + +-bufr_decode_all: bufr_decode_all.o +- $(FC) $(FFLAGS) -o $@ bufr_decode_all.o -L$(PLACE) -l$(LIB)$(R64) ++bufr_decode_all: bufr_decode_all.o ++ $(FC) $(FFLAGS) -o $@ bufr_decode_all.o -L$(PLACE) -l$(LIB)$(R64) + +-bufr_compress: bufr_compress.o +- $(FC) $(FFLAGS) -o $@ bufr_compress.o -L$(PLACE) -l$(LIB)$(R64) ++bufr_compress: bufr_compress.o ++ $(FC) $(FFLAGS) -o $@ bufr_compress.o -L$(PLACE) -l$(LIB)$(R64) + + bufr2crex : bufr2crex.o + $(FC) $(FFLAGS) -o $@ bufr2crex.o -L$(PLACE) -l$(LIB)$(R64) -lcrex$(R64) +@@ -48,4 +48,4 @@ + clean : + @for name in $(EXECS); do\ + (rm -f $$name *.o ); \ +- done ++ done +--- bufrtables/Makefile.orig 2016-01-04 14:03:47.292850644 -0800 ++++ bufrtables/Makefile 2016-01-04 14:05:22.242500485 -0800 +@@ -25,11 +25,14 @@ + OBJECTS = $(OBJECTS.F) $(OBJECTS.c) + # + # +-all: links ++all: pgms links + + links: + ./clean.sh + ./links.sh ++ ++pgms: bufr2txt_tables bufr_split_tables txt2bufr_tables ++ + bufr2txt_tables: bufr2txt_tables.f + $(FC) $(FFLAGS) -o bufr2txt_tables bufr2txt_tables.f $(LIBRARY) + bufr_split_tables: bufr_split_tables.f |