Re: libX changed its libnameA.h to libnameB.h
- Reply: Nuno Teixeira : "Re: libX changed its libnameA.h to libnameB.h"
- In reply to: Nuno Teixeira : "libX changed its libnameA.h to libnameB.h"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 17 Feb 2024 08:11:07 UTC
> On Feb 17, 2024, at 9:08 AM, Nuno Teixeira <eduardo@freebsd.org> wrote: > > Hello all, > > I'm facing a build error causes from graphics/libnsgif that changed > from 0.2.1 to 1.0.0: > -include/libnsgif.h > +include/nsgif.h > > Now graphics/imv complains: > > ./src/backend_libnsgif.c:9:10: fatal error: 'libnsgif.h' file not found > 9 | #include <libnsgif.h> > | ^~~~~~~~~~~~ > 1 error generated. > > While I'm looking from upstream recomendation on fix, how do I quick fix it? > Is it possible to rename libnsgif.h -> nsgif.h in source code? > > Also googling about this issue didn't get results since most img pkgs > do not have this lib default on. > > Thanks, > > -- > Nuno Teixeira > FreeBSD Committer (ports) > Depends. If the function names and arguments are also same you can just rename in the source code.