diff options
Diffstat (limited to 'dev-lang/qu-prolog')
-rw-r--r-- | dev-lang/qu-prolog/Manifest | 3 | ||||
-rw-r--r-- | dev-lang/qu-prolog/files/qu-prolog-10.x-compiler-flags.patch | 18 | ||||
-rw-r--r-- | dev-lang/qu-prolog/qu-prolog-10.6.ebuild | 2 |
3 files changed, 22 insertions, 1 deletions
diff --git a/dev-lang/qu-prolog/Manifest b/dev-lang/qu-prolog/Manifest index ed81a88d9d2a..203ff48e8dd8 100644 --- a/dev-lang/qu-prolog/Manifest +++ b/dev-lang/qu-prolog/Manifest @@ -1,4 +1,5 @@ +AUX qu-prolog-10.x-compiler-flags.patch 762 BLAKE2B 1b96597015aeae67aa92caf5913e81f2bf11e86c73ce6acaaeee1f2663871471fd595eaccfb00cdd10cedf9677c03095bc37ddc2a8d4a370d38439896f16e72b SHA512 c09286d76692a125d98b6bf3684df0d6dd57cd5ef70387fdbd5184493d978c8d5b9c1ce63c4305986df28382e0201abb53af3a6451f802d677dbc22b1741237e AUX qu-prolog-10.x-qt5.patch 1037 BLAKE2B 91287f26c97c0c2f1c9cd3bae3a007cf27e4b8121aca4a42cabbbb37c224b7399ed06468b7a725977f27bad2fcda8d2165bfeb569f36491d227dd472036de5ed SHA512 9dd1c8245f725d552bf23ad9ef1bb858a06c69b66778fa851013775081751a77923e2145f6575966e8394666b8dc2e04724d102be28b32efaa44b7e474b3dd7f DIST qp10.6.tar.gz 1671349 BLAKE2B 189ddd733a0bbf939387de60ec76e8e41a430af5f4684a9a3b8cc3effa4e402cfd4471c955f4d626d2de8cf14eb93c2977540ad209d06ce9b562325a4b984fea SHA512 425b35c758ba86cc14a1faf5c19f2c091142be6c42261323dc6f551efd6c80f7223584cd2be239748539eaf25308f777d95fd5bfdc65b33ca3245377e1766299 -EBUILD qu-prolog-10.6.ebuild 1987 BLAKE2B 3fbfb15e9e8b1ac7c2593cee7e0931f6b1a414495a38d71177fa933a6d517c6611ad12e37a15ea359365838d8dbe457efc0c55832db1b0329fde9e9eaed8be3c SHA512 4279baad07b02ac982a7ad4446d2ed4c5445a1054d51240d8fb39d5f7c359c09db2774cbee8eeb990ef8895e612ab5a21ece8843ef3cc5bb0575e0856aea3ccc +EBUILD qu-prolog-10.6.ebuild 2057 BLAKE2B 98f02cf71778297e0740bb4391daee090aa0210aa21880b86cc01c19483d380a24ce3b20ff7b02abfadec920cd61254d1b8e958e156b46a192bd846ea82116d3 SHA512 5a44eda52749d9ae7fbbf51f0770c9f913a60fbcd15f3ea92715c6b3c6b0e66d63c8cb54b14aa107dda6a6fdca80533560ad996efe13e390b93f1880caf9b191 MISC metadata.xml 347 BLAKE2B d0d2ead501a46ff84953eceee649d58e406ebf5a83e7b7862b9501b2e665ad71b5c9c31f4790161074debb7b86ce7e53ff8d0904c39c37ddcac6250668685aca SHA512 7a7bb3ccaa42fa120c3702d963719d5fdfcf0a413685cad98bd34a515a4cc83a213a71e7f3b6b0ce67947fa347229caecf699879192f0d930c9c6577e0ce59cc diff --git a/dev-lang/qu-prolog/files/qu-prolog-10.x-compiler-flags.patch b/dev-lang/qu-prolog/files/qu-prolog-10.x-compiler-flags.patch new file mode 100644 index 000000000000..3d07947a4977 --- /dev/null +++ b/dev-lang/qu-prolog/files/qu-prolog-10.x-compiler-flags.patch @@ -0,0 +1,18 @@ +--- qp10.6.orig/configure.in 2020-06-24 23:37:02.000000000 -0000 ++++ qp10.6/configure.in 2021-05-15 16:36:32.504585122 -0000 +@@ -228,9 +228,12 @@ + #----------------------------------------------------------------------------- + dnl Check for -fno-strict-aliasing + AC_MSG_CHECKING([for -fno-strict-aliasing]) +-echo "int i;" > aliasing_test.cc +-qp_alias=[`gcc -fno-strict-aliasing -c aliasing_test.cc`] +-rm aliasing_test.* ++ac_saved_cflags=$[]_AC_LANG_PREFIX[]FLAGS ++_AC_LANG_PREFIX[]FLAGS="-Werror -fno-strict-aliasing" ++AC_COMPILE_IFELSE([AC_LANG_SOURCE([[int main(void) { return 0; }]])], ++ [qp_alias=""], ++ [qp_alias="not-found"]) ++_AC_LANG_PREFIX[]FLAGS="$ac_saved_cflags" + if test -n "$qp_alias"; then + AC_MSG_RESULT(not found) + GCC_ALIAS_FLAG= diff --git a/dev-lang/qu-prolog/qu-prolog-10.6.ebuild b/dev-lang/qu-prolog/qu-prolog-10.6.ebuild index 85d6eac48632..2cbbe5135522 100644 --- a/dev-lang/qu-prolog/qu-prolog-10.6.ebuild +++ b/dev-lang/qu-prolog/qu-prolog-10.6.ebuild @@ -28,12 +28,14 @@ RDEPEND=" pedro? ( net-misc/pedro ) readline? ( app-misc/rlwrap )" DEPEND="${RDEPEND} + ${PYTHON_DEPS} dev-lang/perl" S="${WORKDIR}"/${MY_P} src_prepare() { eapply "${FILESDIR}"/${PN}-10.x-qt5.patch + eapply "${FILESDIR}"/${PN}-10.x-compiler-flags.patch eapply_user eautoconf |