pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/45905: lang/php53 doesn't compile on -current



On Feb 2, 12:40pm, wiz%NetBSD.org@localhost (Thomas Klausner) wrote:
-- Subject: Re: pkg/45905: lang/php53 doesn't compile on -current

| The following reply was made to PR pkg/45905; it has been noted by GNATS.
| 
| From: Thomas Klausner <wiz%NetBSD.org@localhost>
| To: dogan%tesmer.org.tr@localhost
| Cc: 
| Subject: Re: pkg/45905: lang/php53 doesn't compile on -current
| Date: Thu, 2 Feb 2012 13:36:24 +0100
| 
|  On Wed, Feb 01, 2012 at 06:45:00AM +0000, dogan%tesmer.org.tr@localhost 
wrote:
|  > >Number:         45905
|  > >Category:       pkg
|  > >Synopsis:       lang/php53 doesn't compile on -current
|  ...
|  > This patch fixed my problem.
|  > 
|  > --- main/streams/cast.c.orig    2012-02-01 08:18:32.000000000 +0200
|  > +++ main/streams/cast.c 2012-02-01 08:19:20.000000000 +0200
|  > @@ -34,7 +34,7 @@
|  >  typedef struct {
|  >         int (*reader)(void *, char *, int);
|  >         int (*writer)(void *, const char *, int);
|  > -       fpos_t (*seeker)(void *, fpos_t, int);
|  > +       off_t (*seeker)(void *, off_t, int);
|  >         int (*closer)(void *);
|  >  } COOKIE_IO_FUNCTIONS_T;
|  >  
|  
|  Thanks.
|  We can't commit this as-is, because it will break systems where the 
interface still uses fpos_t.
|   Thomas

It should work, at least on NetBSD, because fpos_t used to be == off_t.

christos


Home | Main Index | Thread Index | Old Index