Mail Archives: cygwin/2010/09/29/12:08:16
--=-6ke1Jiuy9dKn8F9l1mqj
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
On Fri, 2010-07-30 at 17:24 -0500, Yaakov (Cygwin/X) wrote:
> On Tue, 2010-07-27 at 01:51 -0400, Rasputin Paskudniak wrote:
> > Yaakov,
> > I have tried compiling 4.14. Here is the last few lines of the make
> > output, with line numbers to compensate for line-breaks:
> >
> > 179 /bin/sh ../libtool --tag=CC --mode=compile gcc
> > -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/share/locale\"
> > -DSYSCONFFILE=\"/usr/local/etc/a2ps.cfg\" -I. -I. -I.. -I.. -I../intl
> > -I. -g -O2 -c -o path-concat.lo path-concat.c
> > 180 gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/share/locale\"
> > -DSYSCONFFILE=\"/usr/local/etc/a2ps.cfg\" -I. -I. -I.. -I.. -I../intl
> > -I. -g -O2 -c path-concat.c -o path-concat.o
> > 181 In file included from path-concat.c:30:
> > 182 /usr/include/string.h:58: error: parse error before "void"
>
> I got the same error, but haven't had a chance to figure it out. If the
> a2ps maintainer doesn't appear soon then I'll try to take another look
> at it.
Sorry for the delay, I haven't looked at this in a while. The
attached .cygport contains the workaround (namely the HAVE_MEMPCPY
define).
HTH,
Yaakov
--=-6ke1Jiuy9dKn8F9l1mqj
Content-Disposition: attachment; filename="4.14-font-paths.patch"
Content-Type: text/x-patch; name="4.14-font-paths.patch"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
--- origsrc/a2ps-4.14/configure.in 2007-05-01 23:35:49.000000000 -0500
+++ src/a2ps-4.14/configure.in 2010-09-29 05:27:02.670787200 -0500
@@ -208,6 +208,7 @@ AC_MSG_CHECKING(for PostScript fonts pat
# Find out if ghostscript is installed
ac_psfont_path=
for ac_dir in /usr/local/ghostscript/fonts \
+ /usr/share/ghostscript/fonts \
/usr/local/share/ghostscript/fonts;
do
if test "cd $ac_dir 2>/dev/null && echo *.afm"; then
--- origsrc/a2ps-4.14/ogonkify/configure.in 2007-12-28 20:05:05.000000000 -0600
+++ src/a2ps-4.14/ogonkify/configure.in 2010-09-29 05:26:32.049084300 -0500
@@ -22,6 +22,7 @@ AC_DEFUN([ad_IBMFONTS],
[AC_PATH_X
AC_MSG_CHECKING(for IBM font files)
for i in $x_libraries/X11/fonts/Type1 \
+ /usr/share/fonts/Type1 \
/usr/local/share/TeX/gs/fonts
do
if test -r "$i"; then
--=-6ke1Jiuy9dKn8F9l1mqj
Content-Disposition: attachment; filename="a2ps-4.14-1.cygport"
Content-Type: text/plain; name="a2ps-4.14-1.cygport"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
DESCRIPTION="Anything to PostScript converter"
HOMEPAGE="http://www.gnu.org/software/a2ps/"
SRC_URI="mirror://gnu/a2ps/${P}.tar.gz"
PATCH_URI="4.14-font-paths.patch"
DIFF_EXCLUDES="doc"
CPPFLAGS+=" -DHAVE_MEMPCPY"
NO_AUTOPOINT=1
--=-6ke1Jiuy9dKn8F9l1mqj
Content-Type: text/plain; charset=us-ascii
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
--=-6ke1Jiuy9dKn8F9l1mqj--
- Raw text -