diff options
Diffstat (limited to 'data/libgmp10')
-rw-r--r-- | data/libgmp10/_metadata/description | 1 | ||||
-rw-r--r-- | data/libgmp10/_metadata/homepage | 1 | ||||
l--------- | data/libgmp10/_metadata/license | 1 | ||||
-rw-r--r-- | data/libgmp10/_metadata/name | 1 | ||||
-rw-r--r-- | data/libgmp10/_metadata/priority | 1 | ||||
-rw-r--r-- | data/libgmp10/_metadata/role | 1 | ||||
-rw-r--r-- | data/libgmp10/_metadata/section | 1 | ||||
-rw-r--r-- | data/libgmp10/_metadata/tags | 1 | ||||
-rw-r--r-- | data/libgmp10/_metadata/version | 1 | ||||
-rw-r--r-- | data/libgmp10/gmp-6.1.2.tar.xz | bin | 0 -> 1946336 bytes | |||
-rw-r--r-- | data/libgmp10/llvmasm.diff | 15 | ||||
-rw-r--r-- | data/libgmp10/make.sh | 4 |
12 files changed, 28 insertions, 0 deletions
diff --git a/data/libgmp10/_metadata/description b/data/libgmp10/_metadata/description new file mode 100644 index 000000000..cdb1991c1 --- /dev/null +++ b/data/libgmp10/_metadata/description @@ -0,0 +1 @@ +GMP is a free library for arbitrary precision arithmetic, operating on signed integers, rational numbers, and floating-point numbers. There is no practical limit to the precision except the ones implied by the available memory in the machine GMP runs on. GMP has a rich set of functions, and the functions have a regular interface. diff --git a/data/libgmp10/_metadata/homepage b/data/libgmp10/_metadata/homepage new file mode 100644 index 000000000..c162f8d85 --- /dev/null +++ b/data/libgmp10/_metadata/homepage @@ -0,0 +1 @@ +https://gmplib.org/ diff --git a/data/libgmp10/_metadata/license b/data/libgmp10/_metadata/license new file mode 120000 index 000000000..9c13a9a0f --- /dev/null +++ b/data/libgmp10/_metadata/license @@ -0,0 +1 @@ +../../../licenses/gpl-2
\ No newline at end of file diff --git a/data/libgmp10/_metadata/name b/data/libgmp10/_metadata/name new file mode 100644 index 000000000..520d345a1 --- /dev/null +++ b/data/libgmp10/_metadata/name @@ -0,0 +1 @@ +GNU Multiple Precision Arithmetic Library diff --git a/data/libgmp10/_metadata/priority b/data/libgmp10/_metadata/priority new file mode 100644 index 000000000..134d9bc32 --- /dev/null +++ b/data/libgmp10/_metadata/priority @@ -0,0 +1 @@ +optional diff --git a/data/libgmp10/_metadata/role b/data/libgmp10/_metadata/role new file mode 100644 index 000000000..8d0320866 --- /dev/null +++ b/data/libgmp10/_metadata/role @@ -0,0 +1 @@ +developer diff --git a/data/libgmp10/_metadata/section b/data/libgmp10/_metadata/section new file mode 100644 index 000000000..4b487b7d5 --- /dev/null +++ b/data/libgmp10/_metadata/section @@ -0,0 +1 @@ +Security diff --git a/data/libgmp10/_metadata/tags b/data/libgmp10/_metadata/tags new file mode 100644 index 000000000..a8928cec8 --- /dev/null +++ b/data/libgmp10/_metadata/tags @@ -0,0 +1 @@ +purpose::library diff --git a/data/libgmp10/_metadata/version b/data/libgmp10/_metadata/version new file mode 100644 index 000000000..5e3254243 --- /dev/null +++ b/data/libgmp10/_metadata/version @@ -0,0 +1 @@ +6.1.2 diff --git a/data/libgmp10/gmp-6.1.2.tar.xz b/data/libgmp10/gmp-6.1.2.tar.xz Binary files differnew file mode 100644 index 000000000..41988ae93 --- /dev/null +++ b/data/libgmp10/gmp-6.1.2.tar.xz diff --git a/data/libgmp10/llvmasm.diff b/data/libgmp10/llvmasm.diff new file mode 100644 index 000000000..3ad8e5ce9 --- /dev/null +++ b/data/libgmp10/llvmasm.diff @@ -0,0 +1,15 @@ +diff -ur gmp-6.1.2/mpn/arm64/invert_limb.asm gmp-6.1.2+iPhone/mpn/arm64/invert_limb.asm +--- gmp-6.1.2/mpn/arm64/invert_limb.asm 2016-12-16 05:45:27.000000000 -1000 ++++ gmp-6.1.2+iPhone/mpn/arm64/invert_limb.asm 2018-08-04 23:39:34.000000000 -1000 +@@ -41,9 +41,9 @@ + ASM_START() + PROLOGUE(mpn_invert_limb) + lsr x2, x0, #54 +- adrp x1, approx_tab ++ adrp x1, approx_tab@PAGE + and x2, x2, #0x1fe +- add x1, x1, :lo12:approx_tab ++ add x1, x1, approx_tab@PAGEOFF + ldrh w3, [x1,x2] + lsr x4, x0, #24 + add x4, x4, #1 diff --git a/data/libgmp10/make.sh b/data/libgmp10/make.sh new file mode 100644 index 000000000..42c34de6b --- /dev/null +++ b/data/libgmp10/make.sh @@ -0,0 +1,4 @@ +pkg:setup +pkg:configure --with-libgcrypt-prefix="$(PKG_DEST_ gcrypt)/usr" +pkg:make -j8 +pkg:install |