FreeBSD Bugzilla – Attachment 63323 Details for
Bug 94492
Update port: devel/dparser to 1.14
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 2.65 KB, created by
tkato432
on 2006-03-15 18:10:20 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
tkato432
Created:
2006-03-15 18:10:20 UTC
Size:
2.65 KB
patch
obsolete
>diff -urN /usr/ports/devel/dparser/Makefile devel/dparser/Makefile >--- /usr/ports/devel/dparser/Makefile Mon Nov 21 13:24:37 2005 >+++ devel/dparser/Makefile Fri Feb 24 13:22:41 2006 >@@ -7,7 +7,7 @@ > # > > PORTNAME= dparser >-PORTVERSION= 1.13 >+PORTVERSION= 1.14 > CATEGORIES= devel > MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} > MASTER_SITE_SUBDIR= ${PORTNAME} >diff -urN /usr/ports/devel/dparser/distinfo devel/dparser/distinfo >--- /usr/ports/devel/dparser/distinfo Fri Nov 25 13:31:53 2005 >+++ devel/dparser/distinfo Fri Feb 24 13:36:34 2006 >@@ -1,3 +1,2 @@ >-MD5 (d-1.13-src.tar.gz) = fe049ca0805c98e41673d481b55c2274 >-SHA256 (d-1.13-src.tar.gz) = bbd6e8014be2e5ab64f883ce76d06541b87143b3ea9c4426c14807daf747d953 >-SIZE (d-1.13-src.tar.gz) = 200239 >+MD5 (d-1.14-src.tar.gz) = 05069515deb5f9f470455845963c5c08 >+SIZE (d-1.14-src.tar.gz) = 199284 >diff -urN /usr/ports/devel/dparser/files/patch-parse.c devel/dparser/files/patch-parse.c >--- /usr/ports/devel/dparser/files/patch-parse.c Thu Jan 1 09:00:00 1970 >+++ devel/dparser/files/patch-parse.c Fri Mar 3 02:04:56 2006 >@@ -0,0 +1,53 @@ >+--- parse.c.orig Fri Feb 24 05:25:00 2006 >++++ parse.c Fri Mar 3 02:04:47 2006 >+@@ -834,6 +834,7 @@ >+ cmp_priorities(PNode *x, PNode *y) { >+ StackPNode psx, psy; >+ StackInt isx, isy; >++ int r; >+ >+ stack_clear(&psx); stack_clear(&psy); stack_clear(&isx); stack_clear(&isy); >+ get_exp_one(x, &psx, &isx); >+@@ -841,7 +842,7 @@ >+ get_unshared_priorities(&psx, &psy, &isx, &isy); >+ intsort(isx.start, stack_depth(&isx)); >+ intsort(isy.start, stack_depth(&isy)); >+- int r = compare_priorities(isx.start, stack_depth(&isx), >++ r = compare_priorities(isx.start, stack_depth(&isx), >+ isy.start, stack_depth(&isy)); >+ stack_free(&psx); stack_free(&psy); stack_free(&isx); stack_free(&isy); >+ return r; >+@@ -949,12 +950,12 @@ >+ static int >+ cmp_greedyness(PNode *x, PNode *y) { >+ VecPNode pvx, pvy; >++ int ix = 0, iy = 0; >+ vec_clear(&pvx); vec_clear(&pvy); >+ get_unshared_pnodes(x, y, &pvx, &pvy); >+ set_to_vec(&pvx); set_to_vec(&pvy); >+ qsort(pvx.v, pvx.n, sizeof(PNode *), greedycmp); >+ qsort(pvy.v, pvy.n, sizeof(PNode *), greedycmp); >+- int ix = 0, iy = 0; >+ while (1) { >+ if (pvx.n <= ix || pvy.n <= iy) >+ return 0; >+@@ -1202,8 +1203,8 @@ >+ static void >+ set_add_znode_hash(VecZNode *v, ZNode *z) { >+ VecZNode vv; >+- vec_clear(&vv); >+ int i, j, n = v->n; >++ vec_clear(&vv); >+ if (n) { >+ uint h = ((uintptr_t)z->pn) % n; >+ for (i = h, j = 0; >+@@ -1237,8 +1238,8 @@ >+ static void >+ set_add_znode(VecZNode *v, ZNode *z) { >+ VecZNode vv; >+- vec_clear(&vv); >+ int i, n = v->n; >++ vec_clear(&vv); >+ if (n < INTEGRAL_VEC_SIZE) { >+ vec_add(v, z); >+ return;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 94492
: 63323