Fixing the fix.
authorPatrick Kursawe <phosphan@gentoo.org>
Fri, 7 Jan 2005 09:40:26 +0000 (09:40 +0000)
committerPatrick Kursawe <phosphan@gentoo.org>
Fri, 7 Jan 2005 09:40:26 +0000 (09:40 +0000)
sci-mathematics/pari/ChangeLog
sci-mathematics/pari/Manifest
sci-mathematics/pari/files/digest-pari-2.1.5-r4 [moved from sci-mathematics/pari/files/digest-pari-2.1.5-r3 with 100% similarity]
sci-mathematics/pari/files/wrong_functype-r1.patch [new file with mode: 0644]
sci-mathematics/pari/files/wrong_functype.patch
sci-mathematics/pari/pari-2.1.5-r4.ebuild [moved from sci-mathematics/pari/pari-2.1.5-r3.ebuild with 97% similarity]
sci-mathematics/pari/pari-2.1.6.ebuild

index d2c2084704e4f20caaa777151b05dd042894a6c3..50bcc4c0dd5c4fe230c5027aeadce89f52a2a0db 100644 (file)
@@ -1,6 +1,14 @@
 # ChangeLog for sci-mathematics/pari
 # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/ChangeLog,v 1.4 2005/01/06 10:34:52 phosphan Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/ChangeLog,v 1.5 2005/01/07 09:40:26 phosphan Exp $
+
+*pari-2.1.5-r4 (07 Jan 2005)
+
+  07 Jan 2005; Patrick Kursawe <phosphan@gentoo.org>
+  +files/wrong_functype-r1.patch, files/wrong_functype.patch,
+  -pari-2.1.5-r3.ebuild, +pari-2.1.5-r4.ebuild, pari-2.1.6.ebuild:
+  Function call patch was missing one line of 2.1.5. Bumping revision,
+  modified patch, removed old version.
 
 *pari-2.1.6 (06 Jan 2005)
 
index b6b3fa323833b6c7eaaaa6c1c201c8ea3381abf4..9238dc90f77bca59973d2f33e2dcb81041eedbd0 100644 (file)
@@ -1,10 +1,11 @@
-MD5 abfc1a6d3677ef9634d91a3b29ec2cef pari-2.1.6.ebuild 1893
+MD5 4818ef4876441247184df2b11538de44 pari-2.1.5-r4.ebuild 1882
+MD5 73082ae75e95e6ef63e87b2bf267f255 pari-2.1.6.ebuild 1896
 MD5 d33b0309bbbaa8e508e35af360efb31b pari-2.1.5-r1.ebuild 953
-MD5 ad2659bd31e0af8cc4269765dc375964 pari-2.1.5-r3.ebuild 1882
-MD5 bbf0ffa213678b0d6db06e766ef3124d ChangeLog 3249
+MD5 bcb807d16b683aaa33ee7661306f6c50 ChangeLog 3572
 MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156
 MD5 c3f89da5ddbdb73646e3d64ee31ea887 files/docs.patch 915
 MD5 ee951aeeb2122fab2aaf9803097fad76 files/digest-pari-2.1.5-r1 63
-MD5 ee951aeeb2122fab2aaf9803097fad76 files/digest-pari-2.1.5-r3 63
-MD5 dccf7ef464f99fa750a5c7fc3ec67e8f files/wrong_functype.patch 1498
+MD5 ee951aeeb2122fab2aaf9803097fad76 files/digest-pari-2.1.5-r4 63
+MD5 cbd309a01e2fee1a5ba6cb3a93ba5708 files/wrong_functype.patch 1946
 MD5 2fd9906f2bf293fdad42d572846508de files/digest-pari-2.1.6 60
+MD5 dccf7ef464f99fa750a5c7fc3ec67e8f files/wrong_functype-r1.patch 1498
diff --git a/sci-mathematics/pari/files/wrong_functype-r1.patch b/sci-mathematics/pari/files/wrong_functype-r1.patch
new file mode 100644 (file)
index 0000000..5eb95e6
--- /dev/null
@@ -0,0 +1,35 @@
+diff -ru src/gp/gp_rl.c src.new/gp/gp_rl.c
+--- src/gp/gp_rl.c     2001-04-27 15:55:38.000000000 +0200
++++ src.new/gp/gp_rl.c 2005-01-06 11:04:45.198086689 +0100
+@@ -79,11 +79,13 @@
+ #endif
+ 
+ #ifdef HAS_RL_COMPLETION_MATCHES
+-#  define COMPLETION_MATCHES ((CF)rl_completion_matches)
++#  define COMPLETION_MATCHES(a,b) \
++ (completion_matches((char *)(a),(b)))
+ #  define FILE_COMPLETION ((GF)rl_filename_completion_function)
+ #  define USER_COMPLETION ((GF)rl_username_completion_function)
+ #else
+-#  define COMPLETION_MATCHES ((CF)completion_matches)
++#  define COMPLETION_MATCHES(a,b) \
++  (completion_matches((char *)(a),(b)))
+ #  define FILE_COMPLETION ((GF)filename_completion_function)
+ #  define USER_COMPLETION ((GF)username_completion_function)
+ #endif
+diff -ru src.old/gp/gp_rl.c src/gp/gp_rl.c
+--- src.old/gp/gp_rl.c 2005-01-06 11:07:18.000000000 +0100
++++ src/gp/gp_rl.c     2005-01-06 11:15:10.509112328 +0100
+@@ -625,10 +625,8 @@
+   /* we always want the whole list of completions under emacs */
+   if (under_emacs) rl_completion_query_items = 0x8fff;
+ 
+-#define Bind(a,b,c) (((void(*)(int,Function*,Keymap)) rl_bind_key_in_map)\
+-  ((a), (Function*)(b), (c)))
+-#define Defun(a,b,c) (((void(*)(const char*,Function*,int)) rl_add_defun)\
+-  ((a), (Function*)(b), (c)))
++#define Bind(a,b,c) (rl_bind_key_in_map((a), (Function*)(b), (c)))
++#define Defun(a,b,c) (rl_add_defun((char*)(a), (Function*)(b), (c)))
+ 
+   Defun("short-help", rl_short_help, -1);
+   Defun("long-help", rl_long_help, -1);
index 5eb95e622c7ab3a6d0bdb98ba2d5db1c2b66d996..a1dd4c98fe0ab56e01cfa4b8aab5f15ff07da172 100644 (file)
@@ -33,3 +33,16 @@ diff -ru src.old/gp/gp_rl.c src/gp/gp_rl.c
  
    Defun("short-help", rl_short_help, -1);
    Defun("long-help", rl_long_help, -1);
+diff -ru src-old/basemath/buch2.c src/basemath/buch2.c
+--- src-old/basemath/buch2.c   2001-11-04 15:09:54.000000000 +0100
++++ src/basemath/buch2.c       2005-01-07 10:08:25.442785391 +0100
+@@ -2922,7 +2922,8 @@
+ 
+   /* random relations */
+   if (cglob == KCCO) /* enough relations, initialize nevertheless */
+-    ((void(*)(long))random_relation)(-1);
++     random_relation(-1,0,0,0,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
++
+   else
+   {
+     GEN maarch;
similarity index 97%
rename from sci-mathematics/pari/pari-2.1.5-r3.ebuild
rename to sci-mathematics/pari/pari-2.1.5-r4.ebuild
index 33585facc2082a78219fbd57baa77b358971a7ee..4127e28ad08c428648cea264d9a8cb17238bbe5a 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/pari-2.1.5-r3.ebuild,v 1.2 2005/01/06 10:34:52 phosphan Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/pari-2.1.5-r4.ebuild,v 1.1 2005/01/07 09:40:26 phosphan Exp $
 
 inherit eutils
 
index 851cb4c49f22bd204099d9d85080acd1b92a9198..b156f842b4fc7dd457099f8a468125e34a3c6b0a 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/pari-2.1.6.ebuild,v 1.1 2005/01/06 10:34:52 phosphan Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/pari-2.1.6.ebuild,v 1.2 2005/01/07 09:40:26 phosphan Exp $
 
 inherit eutils
 
@@ -20,7 +20,7 @@ src_unpack() {
        unpack ${A}
        cd ${S}
        epatch ${FILESDIR}/docs.patch
-       epatch ${FILESDIR}/wrong_functype.patch
+       epatch ${FILESDIR}/wrong_functype-r1.patch
 }
 
 src_compile() {