Index: head/devel/phptags/files/patch-phptags.c =================================================================== --- head/devel/phptags/files/patch-phptags.c (revision 112365) +++ head/devel/phptags/files/patch-phptags.c (nonexistent) @@ -1,64 +0,0 @@ ---- src/phptags.c.orig Wed May 26 08:21:25 2004 -+++ src/phptags.c Mon May 31 23:56:48 2004 -@@ -48,6 +48,9 @@ - int i, - ch; - -+ FILE *tmp_file; -+// char *line = malloc(255); -+ - (void)read_config(); - - while ((ch = getopt(argc, argv, "cdf:hvV")) != -1) { -@@ -84,9 +87,6 @@ - if (verbose && (current_conf != "none")) - printf("Using config file: %s\n", current_conf); - -- FILE *tmp_file; --// char *line = malloc(255); -- - tmp_file = fopen(tagsfile, "w+"); - - if ((int)tmp_file == NULL) { -@@ -101,8 +101,8 @@ - for (i = 0; i < argc; i++) { - char *m = malloc(256); - char *line; -- line = m; - FILE *fd; -+ line = m; - - fd = fopen(argv[i], "r"); - if ((int)fd == NULL) { -@@ -132,11 +132,13 @@ - if (!commented) { - if (!strncmp("function ", line, 9)) { - /* foo bar.c /^function foo($bar)$/; */ -+ int func_name_len; -+ char *func_name; - line+=9; - line[strlen(line) - 1] = '\0'; - -- int func_name_len = strlen(line) - strlen(strstr(line, "(")); -- char *func_name = malloc(func_name_len); -+ func_name_len = strlen(line) - strlen(strstr(line, "(")); -+ func_name = malloc(func_name_len); - - (void)memmove(func_name, line, func_name_len); - -@@ -148,11 +150,13 @@ - - free(func_name); - } else if (!strncmp("class ", line, 6) && tag_classes == 1) { -+ int class_name_len; -+ char *class_name; - line+=6; - line[strlen(line) - 1] = '\0'; - -- int class_name_len = strlen(line) - strlen(strstr(line, " ")); -- char *class_name = malloc(class_name_len); -+ class_name_len = strlen(line) - strlen(strstr(line, " ")); -+ class_name = malloc(class_name_len); - - (void)strncpy(class_name, line, class_name_len); - Property changes on: head/devel/phptags/files/patch-phptags.c ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/devel/phptags/Makefile =================================================================== --- head/devel/phptags/Makefile (revision 112365) +++ head/devel/phptags/Makefile (revision 112366) @@ -1,34 +1,34 @@ # New ports collection makefile for: phptags # Date created: 06 May 2004 # Whom: Roman Bogorodskiy # # $FreeBSD$ # PORTNAME= phptags -PORTVERSION= 0.2.1 +PORTVERSION= 0.2.2 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= bogorodskiy@inbox.ru COMMENT= Create a tags file from PHP sources GNU_CONFIGURE= yes CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} MAN1= phptags.1 PLIST_FILES= bin/phptags \ etc/phptags.conf.sample PORTDOCS= AUTHORS TODO README ChangeLog INSTALL post-install: @${INSTALL_DATA} ${WRKSRC}/phptags.conf.sample ${PREFIX}/etc .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} .for i in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} .endfor .endif .include Property changes on: head/devel/phptags/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.3 \ No newline at end of property +1.4 \ No newline at end of property Index: head/devel/phptags/distinfo =================================================================== --- head/devel/phptags/distinfo (revision 112365) +++ head/devel/phptags/distinfo (revision 112366) @@ -1,2 +1,2 @@ -MD5 (phptags-0.2.1.tar.gz) = 0e3557dae913e3e81fca7532e1684db9 -SIZE (phptags-0.2.1.tar.gz) = 149646 +MD5 (phptags-0.2.2.tar.gz) = d1f4f694195b2aeadef285f034fa46b7 +SIZE (phptags-0.2.2.tar.gz) = 149772 Property changes on: head/devel/phptags/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.2 \ No newline at end of property +1.3 \ No newline at end of property