Index: head/devel/sourcenav/Makefile =================================================================== --- head/devel/sourcenav/Makefile (revision 477553) +++ head/devel/sourcenav/Makefile (revision 477554) @@ -1,39 +1,39 @@ # Created by: Donald Burr # $FreeBSD$ PORTNAME= sourcenav PORTVERSION= 4.5 -PORTREVISION= 8 +PORTREVISION= 9 PORTEPOCH= 1 CATEGORIES= devel MASTER_SITES= SF/${PORTNAME}/NG${PORTVERSION} DISTNAME= sourcenavigator-NG${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Source code analysis tool LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_aarch64= fails to build: undefined reference to fpsetround USES= shebangfix tar:bzip2 SHEBANG_FILES= ${WRKSRC}/snavigator/demo/c++/contrib/perl/sample_client -USE_GCC= yes USE_XORG= x11 HAS_CONFIGURE= yes CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS+=--prefix=${PREFIX}/sourcenav post-patch: ${REINPLACE_CMD} -e 's|@XINCLUDES@|-I${LOCALBASE}/include|; \ s|@XLIBSW@|-L${LOCALBASE}/lib -lX11|' ${WRKSRC}/tk/unix/Makefile.in post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/sourcenav/bin/wish8.3 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/sourcenav/bin/tclsh8.3 - ${LN} -s ${PREFIX}/sourcenav/bin/snavigator ${STAGEDIR}${PREFIX}/bin/snavigator + ${RLN} ${STAGEDIR}${PREFIX}/sourcenav/bin/snavigator \ + ${STAGEDIR}${PREFIX}/bin/snavigator .include Index: head/devel/sourcenav/files/patch-db4_dbinc_atomic.h =================================================================== --- head/devel/sourcenav/files/patch-db4_dbinc_atomic.h (nonexistent) +++ head/devel/sourcenav/files/patch-db4_dbinc_atomic.h (revision 477554) @@ -0,0 +1,20 @@ +--- db4/dbinc/atomic.h.orig 2010-10-28 20:58:58 UTC ++++ db4/dbinc/atomic.h +@@ -144,7 +144,7 @@ typedef LONG volatile *interlocked_val; + #define atomic_inc(env, p) __atomic_inc(p) + #define atomic_dec(env, p) __atomic_dec(p) + #define atomic_compare_exchange(env, p, o, n) \ +- __atomic_compare_exchange((p), (o), (n)) ++ __atomic_compare_exchange_db((p), (o), (n)) + static inline int __atomic_inc(db_atomic_t *p) + { + int temp; +@@ -176,7 +176,7 @@ static inline int __atomic_dec(db_atomic_t *p) + * http://gcc.gnu.org/onlinedocs/gcc-4.1.0/gcc/Atomic-Builtins.html + * which configure could be changed to use. + */ +-static inline int __atomic_compare_exchange( ++static inline int __atomic_compare_exchange_db( + db_atomic_t *p, atomic_value_t oldval, atomic_value_t newval) + { + atomic_value_t was; Property changes on: head/devel/sourcenav/files/patch-db4_dbinc_atomic.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/devel/sourcenav/files/patch-db4_dbinc_mutex__int.h =================================================================== --- head/devel/sourcenav/files/patch-db4_dbinc_mutex__int.h (nonexistent) +++ head/devel/sourcenav/files/patch-db4_dbinc_mutex__int.h (revision 477554) @@ -0,0 +1,11 @@ +--- db4/dbinc/mutex_int.h.orig 2010-10-28 20:58:58 UTC ++++ db4/dbinc/mutex_int.h +@@ -596,7 +596,7 @@ MUTEX_SET(int *tsl) { + : "=&r" (__r), "+r" (tsl) + : + : "cr0", "memory"); +- return (int)tsl; ++ return (tsl != 0); + } + + static inline int Property changes on: head/devel/sourcenav/files/patch-db4_dbinc_mutex__int.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/devel/sourcenav/files/patch-snavigator_parsers_php_phpbrowser.c =================================================================== --- head/devel/sourcenav/files/patch-snavigator_parsers_php_phpbrowser.c (nonexistent) +++ head/devel/sourcenav/files/patch-snavigator_parsers_php_phpbrowser.c (revision 477554) @@ -0,0 +1,11 @@ +--- snavigator/parsers/php/phpbrowser.c.orig 2010-02-02 12:29:53 UTC ++++ snavigator/parsers/php/phpbrowser.c +@@ -5878,7 +5878,7 @@ YY_RULE_SETUP + free_head_token(); /* const keyword */ + + if ( !current_class ) +- return; ++ return 0; + + result = sn_insert_symbol(SN_ENUM_CONST_DEF, + current_class, Property changes on: head/devel/sourcenav/files/patch-snavigator_parsers_php_phpbrowser.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/devel/sourcenav/pkg-descr =================================================================== --- head/devel/sourcenav/pkg-descr (revision 477553) +++ head/devel/sourcenav/pkg-descr (revision 477554) @@ -1,13 +1,13 @@ Source Navigator NG is a source code analysis tool. With it, you can edit your source code, display relationships between classes and functions and members, and display call trees. You can navigate your source code and easily get to declarations or implementations of functions, variables and macros (commonly called "symbols") which helps you discovering and mapping unknown source code for enhancement or maintenance tasks. It is based upon the old source navigator and strives to improve usability and performance. -WWW: http://sourcenav.berlios.de/ +WWW: http://sourcenav.sourceforge.net/