summaryrefslogtreecommitdiff
path: root/media-libs/phat/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-01-16 20:27:28 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-01-16 20:27:28 +0000
commit2fd57282f0262ca084e05b0f2c63fbada395d02b (patch)
tree4e0f23cea9ce9fd972e70ebc5214bf36fed465cc /media-libs/phat/files
parentc3bc61051d7f12b4c682efa7a5460bbc8815649e (diff)
gentoo resync : 16.01.2021
Diffstat (limited to 'media-libs/phat/files')
-rw-r--r--media-libs/phat/files/phat-0.4.1-libm-underlinking.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/media-libs/phat/files/phat-0.4.1-libm-underlinking.patch b/media-libs/phat/files/phat-0.4.1-libm-underlinking.patch
new file mode 100644
index 000000000000..f6e55b9fa18b
--- /dev/null
+++ b/media-libs/phat/files/phat-0.4.1-libm-underlinking.patch
@@ -0,0 +1,16 @@
+From: Sam James <sam@gentoo.org>
+Date: Thu, 13 Jan 2022 06:00:11 +0000
+Subject: [PATCH] Fix underlinking against libm
+
+Bug: https://bugs.gentoo.org/740162
+--- a/configure.ac
++++ b/configure.ac
+@@ -47,6 +47,8 @@ GTK_DOC_CHECK(1.0)
+ # misc checks
+ PKG_CHECK_MODULES(MISC, libgnomecanvas-2.0 x11)
+
++AC_SEARCH_LIBS(exp, m)
++
+ # set compilation flags
+ CFLAGS="$CFLAGS $GTK_CFLAGS $MISC_CFLAGS -Wall"
+ LIBS="$LIBS $GTK_LIBS $MISC_LIBS"