summaryrefslogtreecommitdiff
path: root/media-gfx/sam2p
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2021-12-05 02:47:11 +0000
committerV3n3RiX <venerix@koprulu.sector>2021-12-05 02:47:11 +0000
commit2771f79232c273bc2a57d23bf335dd81ccf6af28 (patch)
treec8af0fd04194aed03cf067d44e53c7edd3e9ab84 /media-gfx/sam2p
parente9d044d4b9b71200a96adfa280848858c0f468c9 (diff)
gentoo resync : 05.12.2021
Diffstat (limited to 'media-gfx/sam2p')
-rw-r--r--media-gfx/sam2p/Manifest3
-rw-r--r--media-gfx/sam2p/files/sam2p-0.49.4_p20190718-fix-configure-clang.patch15
-rw-r--r--media-gfx/sam2p/sam2p-0.49.4_p20190718-r1.ebuild7
3 files changed, 22 insertions, 3 deletions
diff --git a/media-gfx/sam2p/Manifest b/media-gfx/sam2p/Manifest
index 299bdab65b8e..3d3c8289fb5c 100644
--- a/media-gfx/sam2p/Manifest
+++ b/media-gfx/sam2p/Manifest
@@ -1,4 +1,5 @@
+AUX sam2p-0.49.4_p20190718-fix-configure-clang.patch 353 BLAKE2B dcb39280fc99bc1d21e9ec9627d976844ed6ec9d14dda61c471766687ae3816c5672dd2b980665252bb22da4a345322e69accec719c86fdd5bfcbbec6d7b8284 SHA512 c351987915fc1b2051f55b9a80478b0ad400aa140e986b3a1dd0d8ae6b55252036f1038236d25456b9fcd604e863169ea5dfa329f5a180eeaccfcf4a58622a0d
AUX sam2p-build-fixes.patch 1803 BLAKE2B d9c805da6c46f5457cc6006941a1331f0e46ed8fcadf7c73b9a11debfaa7e2f040beeae42aa9cf316a2df71ffe9d136808a1e9ebeea5c146851057a8addb7bf6 SHA512 fa32011db37a74f746542df82f29e7869412cf8ad93d0b4c3c6e100dda06c254f204671199db0d1abd6134975325cb939f65f0a22457a84a78b6b277411ea2f5
DIST sam2p-0.49.4_p20190718.tar.gz 1816309 BLAKE2B 3d97e00c2bd6b6c292c051d4eb6b73549d1c82a5bd7be3d6b718d8e9d2e96b47657c184af43fa57c0ca4b2b8c26904fb42508d17f7dda715def7d2082affa8b6 SHA512 1c6074fabca6146e51fe0d5a10c912ec679cf122e10aab7bead9e35e3d007e79773aedb1f627572b1b88cacefe0e7edf72efd71d32c47731723b910667220c51
-EBUILD sam2p-0.49.4_p20190718-r1.ebuild 1225 BLAKE2B 1ca1ce4ddafd127b63751bcfb4dc394872e39c8b5135837aae9314f0aff1eaffa61353aa2d79f9a1dfd646b2e051a1947dcf908841f5d17871b2b1772599e632 SHA512 2f92a260ab14351803837361dc559d8a0f4245e1ce3348af60119a1ad3c205e12835583f78e9f5a9e6acd05f7e6e808917035bb676769a7d5d6a6157346fc92e
+EBUILD sam2p-0.49.4_p20190718-r1.ebuild 1297 BLAKE2B d04ddf12f9a50d85d386aaace9acd17898b1245d12d983d6ad06c5ef2e22b0a948480a257d6744a43807d19c41b429128776ea4b8005ce0e894916e8356f837d SHA512 eb8f25109b9052ed954512cd59a9570951a1ba1c670e90e877fdcadbcc328b71b380c57cd74a0aafa696124e1bee718c5de88ffe6af1ac2cf5f55d311f547fb3
MISC metadata.xml 374 BLAKE2B d19b7ae3a43094549eb9f02ddbab8077ebdb9b18fd2a608e038de18e1ade6824857899b1f7a19bb835ea2bfa3ae4e2d10c1cd67b38fe0d6d5927150f5b8644dd SHA512 900c1194a51963456c5f22c9eecf95645eda39e189cf72c89b63767c73027ebc152b5e67007047ada223f5b67671490cf75f3caa2989ec645b48bf4c81fdfcba
diff --git a/media-gfx/sam2p/files/sam2p-0.49.4_p20190718-fix-configure-clang.patch b/media-gfx/sam2p/files/sam2p-0.49.4_p20190718-fix-configure-clang.patch
new file mode 100644
index 000000000000..0d8e769e903d
--- /dev/null
+++ b/media-gfx/sam2p/files/sam2p-0.49.4_p20190718-fix-configure-clang.patch
@@ -0,0 +1,15 @@
+https://bugs.gentoo.org/827925
+--- a/configure.in
++++ b/configure.in
+@@ -79,11 +79,11 @@ else
+ fi
+
+ dnl Checks for programs.
+ dnl AC_PROG_CC
+ AC_LANG_CPLUSPLUS
+-CXXFLAGS=" "
++CXXFLAGS="-fPIC"
+ dnl ^^^ set it to non-empty, so AC_PROG_CXX won't include `-g'
+ CCC="$CCC g++"
+ dnl ^^^ check g++ before c++ (see acspecific.m4, grep AC_PROG_CXX)
+ AC_PROG_CXX
diff --git a/media-gfx/sam2p/sam2p-0.49.4_p20190718-r1.ebuild b/media-gfx/sam2p/sam2p-0.49.4_p20190718-r1.ebuild
index 43f217aba10d..3adddb11fdbc 100644
--- a/media-gfx/sam2p/sam2p-0.49.4_p20190718-r1.ebuild
+++ b/media-gfx/sam2p/sam2p-0.49.4_p20190718-r1.ebuild
@@ -21,7 +21,10 @@ BDEPEND="dev-lang/perl"
S="${WORKDIR}/${PN}-${COMMIT}"
-PATCHES=( "${FILESDIR}"/${PN}-build-fixes.patch )
+PATCHES=(
+ "${FILESDIR}"/${PN}-build-fixes.patch
+ "${FILESDIR}"/${PN}-0.49.4_p20190718-fix-configure-clang.patch
+)
src_prepare() {
default
@@ -30,7 +33,7 @@ src_prepare() {
mv configure.{in,ac} || die
# missing include for memset
- sed -i '1s;^;#include <string.h>\n;' pts_defl.c
+ sed -i '1s;^;#include <string.h>\n;' pts_defl.c || die
# eautoreconf is still needed or you get bad warnings
eautoreconf