summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Beierlein <tomjbe@gentoo.org>2015-09-07 17:08:14 +0200
committerThomas Beierlein <tomjbe@gentoo.org>2015-09-07 17:11:24 +0200
commita51da4f7acfb2da41cb5729c00d19c96cbed63c2 (patch)
treed6aab61b0f9b9e5f7654b1349243325684d7dbd4 /sci-electronics/gsmc/files
parentsys-libs/libomp: initial import (diff)
downloadgentoo-a51da4f7acfb2da41cb5729c00d19c96cbed63c2.tar.gz
gentoo-a51da4f7acfb2da41cb5729c00d19c96cbed63c2.tar.bz2
gentoo-a51da4f7acfb2da41cb5729c00d19c96cbed63c2.zip
sci-electronics/gsmc: Add missing libm (bug 503774). Thanks B. Leverett. Bump to EAPI=5
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'sci-electronics/gsmc/files')
-rw-r--r--sci-electronics/gsmc/files/gsmc-1.1-autotools.patch14
1 files changed, 9 insertions, 5 deletions
diff --git a/sci-electronics/gsmc/files/gsmc-1.1-autotools.patch b/sci-electronics/gsmc/files/gsmc-1.1-autotools.patch
index 94b0558d6b19..4418e31b115a 100644
--- a/sci-electronics/gsmc/files/gsmc-1.1-autotools.patch
+++ b/sci-electronics/gsmc/files/gsmc-1.1-autotools.patch
@@ -1,6 +1,6 @@
---- gsmc-1.1.orig/configure.ac 2011-01-12 18:14:55.633360421 -0200
-+++ gsmc-1.1/configure.ac 2011-01-12 19:58:12.617251642 -0200
-@@ -7,26 +7,13 @@
+--- configure.ac.orig 2015-09-07 16:25:35.000000000 +0200
++++ configure.ac 2015-09-07 16:26:30.000000000 +0200
+@@ -7,26 +7,17 @@
AM_INIT_AUTOMAKE(gsmc, 1.0, ik5nax@amsat.org)
# Checks for programs.
@@ -27,12 +27,16 @@
-done
+PKG_PROG_PKG_CONFIG
+PKG_CHECK_MODULES([GTK], [gtk+-2.0])
++dnl Check for libm for floor
++AC_SEARCH_LIBS([floor], [m], [], [
++ AC_MSG_ERROR([unable to find the floor() function])
++])
# Checks for header files.
AC_HEADER_STDC
---- gsmc-1.1.orig/Makefile.am 2011-01-12 18:14:55.633360421 -0200
-+++ gsmc-1.1/Makefile.am 2011-01-12 20:37:21.034615478 -0200
+--- Makefile.am.orig 2011-01-12 18:14:55.633360421 -0200
++++ Makefile.am 2011-01-12 20:37:21.034615478 -0200
@@ -2,8 +2,8 @@
bin_PROGRAMS=gsmc