aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-06-01 08:51:02 +0800
committermarcus <marcus@FreeBSD.org>2003-06-01 08:51:02 +0800
commitfe25b061ce5fe3f03c5be8519f962c2f9b0d73b3 (patch)
treeae8708ff995098b1cc7eb7c36e94ed071d370e5c /lang
parentbdc23fb13d74a02a4d62ffcc5b05dcc36033d598 (diff)
downloadfreebsd-ports-gnome-fe25b061ce5fe3f03c5be8519f962c2f9b0d73b3.tar.gz
freebsd-ports-gnome-fe25b061ce5fe3f03c5be8519f962c2f9b0d73b3.tar.zst
freebsd-ports-gnome-fe25b061ce5fe3f03c5be8519f962c2f9b0d73b3.zip
Update to 0.16.2.
Diffstat (limited to 'lang')
-rw-r--r--lang/librep/Makefile6
-rw-r--r--lang/librep/distinfo2
-rw-r--r--lang/librep/files/patch-src_numbers.c22
3 files changed, 24 insertions, 6 deletions
diff --git a/lang/librep/Makefile b/lang/librep/Makefile
index 6b4692399f5a..773fbc8c3dea 100644
--- a/lang/librep/Makefile
+++ b/lang/librep/Makefile
@@ -6,14 +6,10 @@
#
PORTNAME= librep
-PORTVERSION= 0.16.1
-PORTREVISION= 1
+PORTVERSION= 0.16.2
CATEGORIES= lang gnome
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= librep
-#MASTER_SITES= ${MASTER_SITE_GNOME}
-#MASTER_SITE_SUBDIR= stable/sources/librep
-#DIST_SUBDIR= gnome
MAINTAINER= gnome@FreeBSD.org
COMMENT= An Emacs Lisp like runtime library
diff --git a/lang/librep/distinfo b/lang/librep/distinfo
index 975f9fc7a345..9fd6a3d84135 100644
--- a/lang/librep/distinfo
+++ b/lang/librep/distinfo
@@ -1 +1 @@
-MD5 (librep-0.16.1.tar.gz) = 1390f0e62a8ec832e6096813d4c7ac4a
+MD5 (librep-0.16.2.tar.gz) = b0f219f9f3d51bc06ebb1bd1861b6e5c
diff --git a/lang/librep/files/patch-src_numbers.c b/lang/librep/files/patch-src_numbers.c
new file mode 100644
index 000000000000..189ad75de6ae
--- /dev/null
+++ b/lang/librep/files/patch-src_numbers.c
@@ -0,0 +1,22 @@
+--- src/numbers.c.orig Sat May 31 17:50:08 2003
++++ src/numbers.c Sat May 31 18:15:24 2003
+@@ -2696,13 +2696,14 @@
+ #ifdef HAVE_GMP
+ else
+ {
+- rep_number_q *q;
++ double x, y;
++ rep_number_z *z;
+
+- q = make_number (rep_NUMBER_RATIONAL);
+- mpq_init (q->q);
+- mpq_set_d (q->q, rep_get_float (arg));
++ rationalize (arg, &x, &y);
++ z = make_number (rep_NUMBER_BIGNUM);
++ mpz_init_set_d (z->z, (x / y));
+
+- return maybe_demote (rep_VAL (q));
++ return maybe_demote (rep_VAL (z));
+ }
+ #else
+ else