[arch-commits] Commit in pari-sage/trunk (PKGBUILD public_memory_functions.patch)
Antonio Rojas
arojas at archlinux.org
Fri Mar 25 20:01:22 UTC 2016
Date: Friday, March 25, 2016 @ 21:01:22
Author: arojas
Revision: 168381
Update to 2.8.2341
Modified:
pari-sage/trunk/PKGBUILD
Deleted:
pari-sage/trunk/public_memory_functions.patch
-------------------------------+
PKGBUILD | 15 +--------
public_memory_functions.patch | 61 ----------------------------------------
2 files changed, 3 insertions(+), 73 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-03-25 19:49:59 UTC (rev 168380)
+++ PKGBUILD 2016-03-25 20:01:22 UTC (rev 168381)
@@ -3,7 +3,7 @@
# Contributor: Gaetan Bisson <bisson at archlinux.org>
pkgname=pari-sage
-_pkgver=2.8-2044-g89b0f1e
+_pkgver=2.8-2341-g61b65cc
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc='Computer algebra system designed for fast computations in number theory. Development snapshot required by SageMath'
@@ -15,18 +15,9 @@
optdepends=('perl: gphelp, tex2mail')
conflicts=(pari)
provides=(pari)
-source=("http://mirrors.mit.edu/sage/spkg/upstream/pari/pari-$_pkgver.tar.gz"
- 'public_memory_functions.patch')
-md5sums=('ca27af679818f4cfef7e8eef9edc83cb'
- '9172b9faee975cd3fe0f97126ea61af8')
+source=("http://mirrors.mit.edu/sage/spkg/upstream/pari/pari-$_pkgver.tar.gz")
+md5sums=('03b83e4af898f456cae16c9ade1e1cb5')
-prepare() {
- cd pari-${_pkgver}
-
-# make some private functions public
- patch -p1 -i "$srcdir"/public_memory_functions.patch
-}
-
build() {
cd pari-${_pkgver}
./Configure --prefix=/usr --with-readline --mt=pthread --with-gmp
Deleted: public_memory_functions.patch
===================================================================
--- public_memory_functions.patch 2016-03-25 19:49:59 UTC (rev 168380)
+++ public_memory_functions.patch 2016-03-25 20:01:22 UTC (rev 168381)
@@ -1,61 +0,0 @@
-diff --git a/src/headers/paridecl.h b/src/headers/paridecl.h
-index 7067183..4ede6ed 100644
---- a/src/headers/paridecl.h
-+++ b/src/headers/paridecl.h
-@@ -2819,6 +2819,9 @@ GEN pari_thread_start(struct pari_thread *t);
- void pari_thread_valloc(struct pari_thread *t, size_t s, size_t v, GEN arg);
- GEN pari_version(void);
- void pari_warn(int numerr, ...);
-+void * pari_mainstack_malloc(size_t size);
-+void pari_mainstack_mfree(void *s, size_t size);
-+void pari_mainstack_free(struct pari_mainstack *st);
- void paristack_alloc(size_t rsize, size_t vsize);
- void paristack_newrsize(ulong newsize);
- void paristack_resize(ulong newsize);
-diff --git a/src/language/init.c b/src/language/init.c
-index 7b5922d..2a578d7 100644
---- a/src/language/init.c
-+++ b/src/language/init.c
-@@ -612,7 +612,7 @@ pari_add_oldmodule(entree *ep)
- #ifndef MAP_NORESERVE
- #define MAP_NORESERVE 0
- #endif
--static void *
-+void *
- pari_mainstack_malloc(size_t size)
- {
- void *b = mmap(NULL, size, PROT_READ|PROT_WRITE,
-@@ -620,7 +620,7 @@ pari_mainstack_malloc(size_t size)
- return (b == MAP_FAILED) ? NULL: b;
- }
-
--static void
-+void
- pari_mainstack_mfree(void *s, size_t size)
- {
- munmap(s, size);
-@@ -634,13 +634,13 @@ pari_mainstack_mreset(void *s, size_t size)
-
- #else
- #define PARI_STACK_ALIGN (0x40UL)
--static void *
-+void *
- pari_mainstack_malloc(size_t s)
- {
- return malloc(s); /* NOT pari_malloc, e_MEM would be deadly */
- }
-
--static void
-+void
- pari_mainstack_mfree(void *s, size_t size) { (void) size; free(s); }
-
- static void
-@@ -681,7 +681,7 @@ pari_mainstack_alloc(struct pari_mainstack *st, size_t rsize, size_t vsize)
- st->memused = 0;
- }
-
--static void
-+void
- pari_mainstack_free(struct pari_mainstack *st)
- {
- pari_mainstack_mfree((void*)st->vbot, st->vsize ? st->vsize : fix_size(st->rsize));
More information about the arch-commits
mailing list