Index: head/lang/librep/Makefile =================================================================== --- head/lang/librep/Makefile (revision 81803) +++ head/lang/librep/Makefile (revision 81804) @@ -1,56 +1,52 @@ # New ports collection makefile for: librep # Date created: 13 September 1999 # Whom: Yukihiro Nakai # # $FreeBSD$ # 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 LIB_DEPENDS= gdbm.3:${PORTSDIR}/databases/gdbm \ intl.4:${PORTSDIR}/devel/gettext PLIST_SUB= GNUHOST=${ARCH}-pc-freebsd${OSREL:C/\..*//} VERSION=${PORTVERSION} USE_GMAKE= yes INSTALLS_SHLIB= yes GNU_CONFIGURE= yes CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \ LIBS="-L${LOCALBASE}/lib -lxpg4 -lintl ${PTHREAD_LIBS}" CONFIGURE_ARGS= --with-aclocaldir=${PREFIX}/share/aclocal CONFIGURE_TARGET= ${ARCH}-pc-freebsd${OSREL:C/\..*//} # Don't use USE_X_PREFIX - the port doesn't really require X11 to run. # The reason why it should be in X11BASE is that sawfish (primary user of # librep) installs shared object into one of the librep's directories, so # they have to live in the same BASE to make PLISTs working. # This looks like a little hack, because we have to tweak MTREE_FILE as well, # thus partially duplicating bsd.port.mk, but what other choices do we have??? PREFIX?= ${X11BASE} .include .if ${OSVERSION} > 500023 LIB_DEPENDS+= gmp.3:${PORTSDIR}/math/libgmp-freebsd .endif .if ${XFREE86_VERSION} == 3 MTREE_FILE= /etc/mtree/BSD.x11.dist .else MTREE_FILE= /etc/mtree/BSD.x11-4.dist .endif post-extract: @${RM} ${WRKSRC}/test .include Property changes on: head/lang/librep/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.43 \ No newline at end of property +1.44 \ No newline at end of property Index: head/lang/librep/distinfo =================================================================== --- head/lang/librep/distinfo (revision 81803) +++ head/lang/librep/distinfo (revision 81804) @@ -1 +1 @@ -MD5 (librep-0.16.1.tar.gz) = 1390f0e62a8ec832e6096813d4c7ac4a +MD5 (librep-0.16.2.tar.gz) = b0f219f9f3d51bc06ebb1bd1861b6e5c Property changes on: head/lang/librep/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.23 \ No newline at end of property +1.24 \ No newline at end of property Index: head/lang/librep/files/patch-src_numbers.c =================================================================== --- head/lang/librep/files/patch-src_numbers.c (nonexistent) +++ head/lang/librep/files/patch-src_numbers.c (revision 81804) @@ -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 Property changes on: head/lang/librep/files/patch-src_numbers.c ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property