I applied lynx2.9.0dev.[1-4].patch with no complaint.

        Applying lynx2.9.0dev.5.patch I get:


patching file src/chrtrans/next_uni.tbl
This file doesn't appear to be the 1.9 version -- patch anyway? [n] y
patching file src/parsdate.c
Hunk #1 FAILED at 5.
Hunk #2 FAILED at 22.
Hunk #3 succeeded at 81 (offset 51 lines).
Hunk #4 succeeded at 137 (offset 51 lines).
Hunk #5 succeeded at 2060 (offset 1440 lines).
Hunk #6 FAILED at 1048.
Hunk #7 FAILED at 1533.
4 out of 7 hunks FAILED -- saving rejects to file src/parsdate.c.rej

        So I download the tarballs and every build 5-12 returns, when making:

In file included from LYMain.c:17:
LYMain.c: In function 'main':
LYMain.c:1454:24: error: implicit declaration of function 'cuserid' 
[-Wimplicit-function-declaration]
 1454 |         STREQ((char *) cuserid((char *) NULL), ANONYMOUS_USER)
      |                        ^~~~~~~
./LYUtils.h:554:31: note: in definition of macro 'STREQ'
  554 | #define STREQ(a,b)    (strcmp(a,b) == 0)
      |                               ^
LYMain.c:1454:15: warning: cast to pointer from integer of different size 
[-Wint-to-pointer-cast]
 1454 |         STREQ((char *) cuserid((char *) NULL), ANONYMOUS_USER)
      |               ^
./LYUtils.h:554:31: note: in definition of macro 'STREQ'
  554 | #define STREQ(a,b)    (strcmp(a,b) == 0)
      |                               ^
make[1]: *** [makefile:102: LYMain.o] Error 1
make[1]: Leaving directory '/usr/src/lynx2.9.0dev.12/src'
make: *** [makefile:207: all] Error 2

        This is BEFORE I have applied any of my patches.  I build
2.9.0 and 2.9.3 with no problem.  Neither LYMain.c nor LYUtils.h have
changed from working builds, nor next_uni.tbl

        If I remove  that bit of code in LYMain.c I can build.


russell bell

Reply via email to