385abae
Description: <short summary of the patch>
385abae
 TODO: Put a short summary on the line above and replace this paragraph
385abae
 with a longer explanation of this change. Complete the meta-information
385abae
 with other relevant fields (see below for details). To make it easier, the
385abae
 information below has been extracted from the changelog. Adjust it or drop
385abae
 it.
385abae
 .
385abae
 gcl (2.6.12-63) unstable; urgency=medium
385abae
 .
385abae
   * list_order.23
385abae
Author: Camm Maguire <camm@debian.org>
385abae
385abae
---
385abae
The information above should follow the Patch Tagging Guidelines, please
385abae
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
385abae
are templates for supplementary fields that you might want to add:
385abae
385abae
Origin: <vendor|upstream|other>, <url of original patch>
385abae
Bug: <url in upstream bugtracker>
385abae
Bug-Debian: https://bugs.debian.org/<bugnumber>
385abae
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
385abae
Forwarded: <no|not-needed|url proving that it has been forwarded>
385abae
Reviewed-By: <name and email of someone who approved the patch>
385abae
Last-Update: 2018-02-04
385abae
385abae
--- gcl-2.6.12.orig/h/gmp_wrappers.h
385abae
+++ gcl-2.6.12/h/gmp_wrappers.h
385abae
@@ -148,6 +148,8 @@ MEM_GMP_CALL(1,gmp_ulint,mpz_popcount,0,
385abae
 /*MEM_GMP_CALL(2,void *,mpz_realloc,mpz_t,mp_size_t)*/
385abae
 MEM_GMP_CALL(1,size_t,mpz_size,0,mpz_t)
385abae
 MEM_GMP_CALL(2,size_t,mpz_sizeinbase,0,mpz_t,int)
385abae
+MEM_GMP_CALL(1,void,gmp_randinit_default,0,__gmp_randstate_struct *)
385abae
+MEM_GMP_CALL(2,void,gmp_randseed_ui,0,__gmp_randstate_struct *,unsigned long int)
385abae
 
385abae
      /* FIXME: find a way to have this follow the convention in gmp.h*/
385abae
 
385abae
@@ -191,5 +193,7 @@ MEM_GMP_CALL(2,size_t,mpz_sizeinbase,0,m
385abae
 /*#define __gmpz_realloc m__gmpz_realloc*/
385abae
 #define __gmpz_size m__gmpz_size
385abae
 #define __gmpz_sizeinbase m__gmpz_sizeinbase
385abae
+#define __gmp_randinit_default m__gmp_randinit_default
385abae
+#define __gmp_randseed_ui m__gmp_randseed_ui
385abae
 
385abae
 #endif /*GMP_WRAPPERS_H*/