[barcode] Solaris9, build fails -> patch offered.
Hugh Sasse Staff Elec Eng
hgs@dmu.ac.uk
Mon Apr 5 15:15:23 CEST 2004
On Sun, 4 Apr 2004, Alessandro Rubini wrote:
>
> > code128.c:219: warning: subscript has type `char'
> > code128.c:219: warning: subscript has type `char'
> > code128.c: In function `Barcode_128_encode':
> > code128.c:467: warning: subscript has type `char'
>
> Ok, I converted all text strings to "unsigned char". Thanks.
>
> > awk -f doc/manpager doc/doc.barcode
> > awk: syntax error near line 23
>
> Actually, I had two students studying compatibility issues
> across the various awk flavours, but I didn't manage to integrate
> their results into a portable doc/manpager.
>
> I applied your patch, which looks a good step forward to me (independently of
> making the tool portable).
I noticed I forgot to patch doc/Makefile. How's this?
--- ./doc/Makefile.in 2001-10-17 14:26:37.000000000 +0100
+++ ./doc/Makefile.in.new 2004-04-05 14:04:45.483659000 +0100
@@ -22,6 +22,7 @@
# is not (yet?) used
+AWK = @AWK@
MAKEINFO = @MAKEINFO@
# According to whether this makeinfo can output html, autoconf define these
REMOVEHTMLTAGS = @REMOVEHTMLTAGS@
@@ -125,7 +126,7 @@
# manpages are created by the toplevel Makefile
$(TARGET)doc.txt: $(TARGET).info
- awk -f ./mktxt $(TARGET).info > $@
+ $(AWK) -f ./mktxt $(TARGET).info > $@
or to prevent blanks being munged:
begin-base64 644 patch-20040405.gz
H4sICMZZcUAAA3BhdGNoLTIwMDQwNDA1AIVQXU+DMBR9hl9xE/ewpSsrDJiS
qPCAH5m4ZBJ9RrgMMmgXKM79e9slc1Ef7G3a5t5zbs89lFKwZoXIZ0m2xbJu
0Kq54TBmU5tRewG2Gzh+MF9Y7LSAMJsxkxDyl2lx3Gu2S/X2NJu5getZ7uXc
967O7DAE6jhTH4g6FxCGJlwYdQ9cSBgfUN5OYOixMEEFid6WcA2huhQsiZbx
4/PdSmdOb82GKM9FV9R8A1LAvkJZYQeyUk1bJbDmpYA84yAGuRskVLJtppAN
UuSCl1CoCTgqOPZowjpOVq/xQ5o8pdH9i/7pZyY86rcdT0kntuN/T2C0Gd9l
G+wh6xDyDjOJBbwfdGMla9fgBzZwMkxPNxqn0fo+TifKSUt+yuCcsbRmkxrZ
fgu0VGa3WwX4VYcbGIUmMUZjZc/kPxwc4wtY9+VM9QEAAA==
====
Hugh
More information about the barcode
mailing list