Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 192805 Details for
Bug 271621
dev-tex/dvi2tty fails to build with glibc-2.10
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for dvi2tty to build with glibc-2.10
dvi2tty-glibc20.patch (text/plain), 2.46 KB, created by
hirakendu
on 2009-05-29 07:47:47 UTC
(
hide
)
Description:
patch for dvi2tty to build with glibc-2.10
Filename:
MIME Type:
Creator:
hirakendu
Created:
2009-05-29 07:47:47 UTC
Size:
2.46 KB
patch
obsolete
>--- dvi2tty/dvistuff.c 2009-05-25 20:51:14.000000000 -0700 >+++ dvi2tty/dvistuff.c 2009-05-25 20:52:07.000000000 -0700 >@@ -179,7 +179,7 @@ > void ruleaux (long, long, char); > long horizontalmove (long); > int skipnops (void); >-linetype * getline (void); >+linetype * get_line (void); > linetype * findline (void); > unsigned long num (int); > long snum (int); >@@ -208,7 +208,7 @@ > void ruleaux (long rulewt, long ruleht, char ch); > long horizontalmove (long amount); > int skipnops (void); >-linetype * getline (void); >+linetype * get_line (void); > linetype * findline (void); > unsigned long num (int size); > long snum (int size); >@@ -376,7 +376,7 @@ > h = 0L; v = 0L; /* initialize coordinates */ > x = 0L; w = 0L; y = 0L; z = 0L; /* initialize amounts */ > sptr = 0; /* initialize stack */ >- currentline = getline(); /* initialize list of lines */ >+ currentline = get_line(); /* initialize list of lines */ > currentline->vv = 0L; > firstline = currentline; > lastline = currentline; >@@ -777,7 +777,7 @@ > * GETLINE -- Returns an initialized line-object > */ > >-linetype *getline(void) >+linetype *get_line(void) > { > register int i; > register linetype *temp; >@@ -793,7 +793,7 @@ > > return temp; > >-} /* getline */ >+} /* get_line */ > > > >@@ -809,7 +809,7 @@ > > if (v <= firstline->vv) { /* above first line */ > if (firstline->vv - v > lineheight) { >- temp = getline(); >+ temp = get_line(); > temp->next = firstline; > firstline->prev = temp; > temp->vv = v; >@@ -820,7 +820,7 @@ > > if (v >= lastline->vv) { /* below last line */ > if (v - lastline->vv > lineheight) { >- temp = getline(); >+ temp = get_line(); > temp->prev = lastline; > lastline->next = temp; > temp->vv = v; >@@ -843,7 +843,7 @@ > return temp->next; > > /* no line fits suitable, generate a new one */ >- currentline = getline(); >+ currentline = get_line(); > currentline->next = temp->next; > currentline->prev = temp; > temp->next->prev = currentline;
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 271621
: 192805