diff options
author | Markus Dittrich <markusle@gentoo.org> | 2006-02-12 15:45:26 +0000 |
---|---|---|
committer | Markus Dittrich <markusle@gentoo.org> | 2006-02-12 15:45:26 +0000 |
commit | 1773e5fcb00d26f12d77ff5dac179f47495f3134 (patch) | |
tree | 33f193a06aaccdec313ea5945d25ec7fc24ac1e1 /sci-mathematics/euler/files | |
parent | * bump, bug #122157 (diff) | |
download | gentoo-2-1773e5fcb00d26f12d77ff5dac179f47495f3134.tar.gz gentoo-2-1773e5fcb00d26f12d77ff5dac179f47495f3134.tar.bz2 gentoo-2-1773e5fcb00d26f12d77ff5dac179f47495f3134.zip |
Added patch to fix compilation under gcc-4.x and to force configure to honor user provided CFLAGS.
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'sci-mathematics/euler/files')
-rw-r--r-- | sci-mathematics/euler/files/command-gcc4-gentoo.patch | 12 | ||||
-rw-r--r-- | sci-mathematics/euler/files/configure-gentoo.patch | 26 | ||||
-rw-r--r-- | sci-mathematics/euler/files/digest-euler-1.61.0 | 2 |
3 files changed, 40 insertions, 0 deletions
diff --git a/sci-mathematics/euler/files/command-gcc4-gentoo.patch b/sci-mathematics/euler/files/command-gcc4-gentoo.patch new file mode 100644 index 000000000000..c405d65bd76e --- /dev/null +++ b/sci-mathematics/euler/files/command-gcc4-gentoo.patch @@ -0,0 +1,12 @@ +diff -Naur euler-1.61.0/src/command.c euler-1.61.0-new/src/command.c +--- euler-1.61.0/src/command.c 2005-10-24 00:38:24.000000000 +0000 ++++ euler-1.61.0-new/src/command.c 2006-02-08 23:30:43.000000000 +0000 +@@ -732,7 +732,7 @@ + } + + +-static int command_count; ++int command_count; + + commandtyp command_list[] = { + {"quit",c_quit,do_quit}, diff --git a/sci-mathematics/euler/files/configure-gentoo.patch b/sci-mathematics/euler/files/configure-gentoo.patch new file mode 100644 index 000000000000..fd83d1ab8291 --- /dev/null +++ b/sci-mathematics/euler/files/configure-gentoo.patch @@ -0,0 +1,26 @@ +diff -Naur euler-1.61.0/configure.in euler-1.61.0-new/configure.in +--- euler-1.61.0/configure.in 2005-10-30 16:40:27.000000000 +0000 ++++ euler-1.61.0-new/configure.in 2006-02-08 23:38:54.000000000 +0000 +@@ -8,8 +8,6 @@ + AM_CONFIG_HEADER(config.h) + + AC_ISC_POSIX +-CFLAGS="" +-AC_SUBST(CFLAGS) + AC_PROG_CC + AM_PROG_CC_STDC + AC_HEADER_STDC +diff -Naur euler-1.61.0/src/Makefile.am euler-1.61.0-new/src/Makefile.am +--- euler-1.61.0/src/Makefile.am 2005-10-30 22:48:35.000000000 +0000 ++++ euler-1.61.0-new/src/Makefile.am 2006-02-08 23:41:32.000000000 +0000 +@@ -7,10 +7,6 @@ + INCLUDES = \ + $(GTK_CFLAGS) + +-AM_CFLAGS =\ +- -Wall\ +- -O3 +- + bin_PROGRAMS = euler + + euler_SOURCES = \ diff --git a/sci-mathematics/euler/files/digest-euler-1.61.0 b/sci-mathematics/euler/files/digest-euler-1.61.0 index bbaf896a764e..ae0ecef7153a 100644 --- a/sci-mathematics/euler/files/digest-euler-1.61.0 +++ b/sci-mathematics/euler/files/digest-euler-1.61.0 @@ -1 +1,3 @@ MD5 4a45d7aaba2b73c7978e6d5623141103 euler-1.61.0.tgz 1202485 +RMD160 d015f1eaf1192508ddfe20ea9aba033bcc1d140d euler-1.61.0.tgz 1202485 +SHA256 1350a3ded26fa8bab2580a1dc3a689aabbb100b872df62819327282773e02d95 euler-1.61.0.tgz 1202485 |