FreeBSD Port: xmbibtex-1.5

Rob spamrefuse at yahoo.com
Wed Dec 22 01:17:10 PST 2004


Kris Kennaway wrote:
> On Wed, Dec 22, 2004 at 04:19:26PM +0900, Rob wrote:
>> 
>> Newer version 1.7 exists.
>> 
>> The newer version also solves this problem
>> in the Makefile:
>> 
>> .if ${OSVERSION} >= 500113
>> BROKEN=         "Does not compile (bad C++ code)"
>> .endif
> 
> This port is unmaintained.  Can you please submit an update?

OK, here is the patch file.
The patch-files files/patch-ab and files/patch-ac can be deleted
altogether, since that is dealt with in the new version of xmbibtex.

Please apply.

Thanks,
Rob.


-------------- next part --------------
diff -u -N -P -r xmbibtex.old/Makefile xmbibtex/Makefile
--- xmbibtex.old/Makefile	Wed Dec 22 16:13:54 2004
+++ xmbibtex/Makefile	Wed Dec 22 17:59:30 2004
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	xmbibtex
-PORTVERSION=	1.5
+PORTVERSION=	1.7
 CATEGORIES=	print databases
 MASTER_SITES=	${MASTER_SITE_SUNSITE}
 MASTER_SITE_SUBDIR=	apps/tex
@@ -21,9 +21,5 @@
 NO_INSTALL_MANPAGES=	yes
 
 .include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 500113
-BROKEN=		"Does not compile (bad C++ code)"
-.endif
 
 .include <bsd.port.post.mk>
diff -u -N -P -r xmbibtex.old/distinfo xmbibtex/distinfo
--- xmbibtex.old/distinfo	Fri Jan 30 01:11:21 2004
+++ xmbibtex/distinfo	Wed Dec 22 18:00:47 2004
@@ -1,2 +1,2 @@
-MD5 (xmbibtex-1.5.tar.gz) = 67646e6037cf245ecc6019f44c5571fa
-SIZE (xmbibtex-1.5.tar.gz) = 132393
+MD5 (xmbibtex-1.7.tar.gz) = d6bc001c38a931d988afb3cecca9cdcb
+SIZE (xmbibtex-1.7.tar.gz) = 133503
diff -u -N -P -r xmbibtex.old/files/patch-ab xmbibtex/files/patch-ab
--- xmbibtex.old/files/patch-ab	Sun Feb 27 23:50:49 2000
+++ xmbibtex/files/patch-ab	Thu Jan  1 09:00:00 1970
@@ -1,11 +0,0 @@
---- biblio.h.orig	Sat Feb 26 17:20:53 2000
-+++ biblio.h	Sat Feb 26 17:22:19 2000
-@@ -18,7 +18,7 @@
- 
- class BIBLIO {
-   /* ...   private part   ... */
--  const int MAX_FIELD_LENGTH=3000;   /* max fieldlength for BibTeX fields */
-+  #define MAX_FIELD_LENGTH 3000   /* max fieldlength for BibTeX fields */
-   struct CITATION {
-     unsigned long id;/* made  unsigned long to simplify ref ID generation */
-     char *doctype;   /* added to standard BibTeX fields */
diff -u -N -P -r xmbibtex.old/files/patch-ac xmbibtex/files/patch-ac
--- xmbibtex.old/files/patch-ac	Mon Nov 13 23:15:46 2000
+++ xmbibtex/files/patch-ac	Thu Jan  1 09:00:00 1970
@@ -1,18 +0,0 @@
---- refman.cc.orig	Mon Jun 15 15:01:37 1998
-+++ refman.cc	Sun Nov 12 20:10:06 2000
-@@ -3,7 +3,6 @@
- /* Main Module            */
- /* Last change 15.06.1998 */
- 
--#include <X11/Xmu/Editres.h>
- #include <Xm/MainW.h>
- #include <Xm/RowColumn.h>
- #include <Xm/CascadeB.h>
-@@ -15,6 +14,7 @@
- #include <Xm/Label.h>
- #include <Xm/MessageB.h>
- #include <Xm/Text.h>
-+#include <X11/Xmu/Editres.h>
- #include <stdio.h>
- 
- #include "nrutil.c"


More information about the freebsd-ports mailing list