[arch-commits] Commit in symmetrica/trunk (3 files)
Antonio Rojas
arojas at archlinux.org
Mon Jul 10 21:24:07 UTC 2017
Date: Monday, July 10, 2017 @ 21:24:06
Author: arojas
Revision: 243803
PIE rebuild
Added:
symmetrica/trunk/symmetrica-int32.patch
(from rev 243802, symmetrica/trunk/int32.patch)
Modified:
symmetrica/trunk/PKGBUILD
Deleted:
symmetrica/trunk/int32.patch
------------------------+
PKGBUILD | 18 ++++++++----------
int32.patch | 37 -------------------------------------
symmetrica-int32.patch | 37 +++++++++++++++++++++++++++++++++++++
3 files changed, 45 insertions(+), 47 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-07-10 21:21:29 UTC (rev 243802)
+++ PKGBUILD 2017-07-10 21:24:06 UTC (rev 243803)
@@ -4,22 +4,20 @@
pkgname=symmetrica
pkgver=2.0
-pkgrel=4
+pkgrel=5
pkgdesc="Algorithms for symmetric groups and classical groups"
-arch=('i686' 'x86_64')
+arch=(i686 x86_64)
url="http://www.algorithm.uni-bayreuth.de/en/research/SYMMETRICA/"
-license=('custom')
-depends=()
-options=('staticlibs')
-source=('http://www.algorithm.uni-bayreuth.de/en/research/SYMMETRICA/SYM2_0_tar.gz' 'int32.patch' 'LICENSE')
-md5sums=('c901a30ffb44715adc85ec43a9838069'
- 'cc057ecdfc5f0d629d13f6b2999ba23c'
- 'c385bb47c0759cb6464e55702875b7a0')
+license=(custom)
+source=('http://www.algorithm.uni-bayreuth.de/en/research/SYMMETRICA/SYM2_0_tar.gz' 'symmetrica-int32.patch' 'LICENSE')
+sha256sums=('bf52788dedc14c482e89f5e7efe8c60864a633314ddd446dd4602d5fdaca0ee2'
+ 'b68792fe9e0adf08addc71437b61c4f002edb20e06d795df63a38ca2dd40d1df'
+ '0bf9103563587f077f2155d1e7f514f8389a3f9749ee3e690ce2d449a4bc699e')
prepare() {
sed -i -e 's/-O2/$(CFLAGS)/' makefile
# fix integer overflow on 64 bits
- patch -p1 -i int32.patch
+ patch -p1 -i symmetrica-int32.patch
# disable banner
sed -i 's|no_banner = FALSE|no_banner = TRUE|' de.c
Deleted: int32.patch
===================================================================
--- int32.patch 2017-07-10 21:21:29 UTC (rev 243802)
+++ int32.patch 2017-07-10 21:24:06 UTC (rev 243803)
@@ -1,37 +0,0 @@
-diff -ru src/def.h c/def.h
---- src/def.h 2007-12-06 17:30:56.000000000 +0100
-+++ c/def.h 2013-10-19 18:42:55.118745730 +0200
-@@ -2,14 +2,9 @@
- /* INT should always be 4 byte */
- #ifndef DEF_H
-
--
--#ifdef __alpha
--typedef int INT;
--typedef unsigned int UINT;
--#else /* __alpha */
--typedef long INT;
--typedef unsigned long UINT;
--#endif /* __alpha */
-+#include <stdint.h>
-+typedef int32_t INT;
-+typedef uint32_t UINT;
-
- #include <stdio.h>
- #include <memory.h>
-@@ -65,10 +60,13 @@
-
-
- /* definitionen fuer object.c */
--typedef INT OBJECTKIND; /* 4 byte */
-+/* NOTE: partition code assumes that there is no unused space in the
-+ * object struct when an INT is stored. This requires both OBJECTKIND
-+ * and OBJECTSELF to have a size equal to a machine word. */
-+typedef intptr_t OBJECTKIND;
-
- typedef union {
-- INT ob_INT;
-+ intptr_t ob_INT;
- INT * ob_INTpointer;
- char *ob_charpointer;
- struct bruch *ob_bruch;
Copied: symmetrica/trunk/symmetrica-int32.patch (from rev 243802, symmetrica/trunk/int32.patch)
===================================================================
--- symmetrica-int32.patch (rev 0)
+++ symmetrica-int32.patch 2017-07-10 21:24:06 UTC (rev 243803)
@@ -0,0 +1,37 @@
+diff -ru src/def.h c/def.h
+--- src/def.h 2007-12-06 17:30:56.000000000 +0100
++++ c/def.h 2013-10-19 18:42:55.118745730 +0200
+@@ -2,14 +2,9 @@
+ /* INT should always be 4 byte */
+ #ifndef DEF_H
+
+-
+-#ifdef __alpha
+-typedef int INT;
+-typedef unsigned int UINT;
+-#else /* __alpha */
+-typedef long INT;
+-typedef unsigned long UINT;
+-#endif /* __alpha */
++#include <stdint.h>
++typedef int32_t INT;
++typedef uint32_t UINT;
+
+ #include <stdio.h>
+ #include <memory.h>
+@@ -65,10 +60,13 @@
+
+
+ /* definitionen fuer object.c */
+-typedef INT OBJECTKIND; /* 4 byte */
++/* NOTE: partition code assumes that there is no unused space in the
++ * object struct when an INT is stored. This requires both OBJECTKIND
++ * and OBJECTSELF to have a size equal to a machine word. */
++typedef intptr_t OBJECTKIND;
+
+ typedef union {
+- INT ob_INT;
++ intptr_t ob_INT;
+ INT * ob_INTpointer;
+ char *ob_charpointer;
+ struct bruch *ob_bruch;
More information about the arch-commits
mailing list