diff options
author | Andrey Grozin <grozin@gentoo.org> | 2020-04-30 00:30:58 +0700 |
---|---|---|
committer | Andrey Grozin <grozin@gentoo.org> | 2020-04-30 00:30:58 +0700 |
commit | ed7ed0dae0b40b333a6f0cf863e8b2f2c931083a (patch) | |
tree | 52928a862d08fb3bd91caab032ebeb693ddc13be /sci-geosciences/routino/files | |
parent | www-client/opera: Version 68.0.3618.63 (diff) | |
download | gentoo-ed7ed0dae0b40b333a6f0cf863e8b2f2c931083a.tar.gz gentoo-ed7ed0dae0b40b333a6f0cf863e8b2f2c931083a.tar.bz2 gentoo-ed7ed0dae0b40b333a6f0cf863e8b2f2c931083a.zip |
sci-geosciences/routino: bump to 3.3.2
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andrey Grozin <grozin@gentoo.org>
Diffstat (limited to 'sci-geosciences/routino/files')
-rw-r--r-- | sci-geosciences/routino/files/routino-3.3.2.patch | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/sci-geosciences/routino/files/routino-3.3.2.patch b/sci-geosciences/routino/files/routino-3.3.2.patch new file mode 100644 index 000000000000..46c2986eea16 --- /dev/null +++ b/sci-geosciences/routino/files/routino-3.3.2.patch @@ -0,0 +1,71 @@ +diff -r -U3 routino-3.3.2.orig/Makefile routino-3.3.2/Makefile +--- routino-3.3.2.orig/Makefile 2018-10-31 02:27:41.000000000 +0700 ++++ routino-3.3.2/Makefile 2020-04-29 20:59:05.239931544 +0700 +@@ -24,7 +24,7 @@ + + # Sub-directories and sub-makefiles + +-SUBDIRS=src xml doc web extras python ++SUBDIRS=src xml doc web extras + + ######## + +diff -r -U3 routino-3.3.2.orig/Makefile.conf routino-3.3.2/Makefile.conf +--- routino-3.3.2.orig/Makefile.conf 2019-04-13 17:52:02.000000000 +0700 ++++ routino-3.3.2/Makefile.conf 2020-04-29 20:58:35.352930803 +0700 +@@ -45,11 +45,11 @@ + # Installation locations (edit if required) + + ifneq ($(HOST),MINGW) +- prefix=/usr/local ++ prefix=/usr + bindir=$(prefix)/bin + incdir=$(prefix)/include + libdir=$(prefix)/lib +- docdir=$(prefix)/doc/routino ++ docdir=$(prefix)/share/doc/${PF} + datadir=$(prefix)/share/routino + else + prefix="c:/Program Files/Routino" +@@ -82,10 +82,10 @@ + endif + + # Maths library +-LDFLAGS=-lm ++LDFLAGS+=-lm + + # Language dialect selection +-CFLAGS=-std=c99 ++CFLAGS+=-std=c99 + + # Warning options + CFLAGS+=-Wall -Wmissing-prototypes -Wextra -Wno-unused-parameter -pedantic +@@ -97,7 +97,7 @@ + endif + + # Optimisation options +-CFLAGS+=-O3 ++#CFLAGS+=-O3 + + # Fast maths option - makes test cases fail slightly + CFLAGS+=-ffast-math +@@ -138,7 +138,7 @@ + endif + + # Put the current directory in the shared library path for the router using libroutino +-LDFLAGS_LDSO=-Wl,-R. ++#LDFLAGS_LDSO=-Wl,-R. + + + # Required for multi-threaded support (comment these two lines out if not required) +@@ -159,8 +159,8 @@ + + + # Required for xz support (uncomment these two lines if required) +-#CFLAGS+=-DUSE_XZ +-#LDFLAGS+=-llzma ++CFLAGS+=-DUSE_XZ ++LDFLAGS+=-llzma + + + # Required to use stdio with files > 2GiB on 32-bit system. |