the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: open-cobol
Version: 0.32
Revision: 1002
BuildDependsOnly: True
Maintainer: Matthias Neeracher
Depends: libgnugetopt-shlibs, %n-shlibs (>= %v-%r), db44-aes-shlibs | db44-shlibs, libiconv, libgettext3-shlibs, gmp-shlibs
BuildDepends: gmp (>= 4.1.4-1), libmpfr1, db44-aes | db44, libtool14, libgnugetopt, libncurses5 (>= 5.4-20041023-1006), readline5, libiconv-dev, libgettext3-dev
Source: mirror:sourceforge:%n/%n-%v.tar.gz
Source-MD5: 9ffc3b75eca988e40206b3e310bba635
Patch: %n.patch
ConfigureParams: --infodir=%i/share/info
SetCPPFLAGS: -I%p/include/gnugetopt -Wno-pointer-sign
SetLDFLAGS: -lgnugetopt
SplitOff: <<
Package: open-cobol-shlibs
Depends: gmp-shlibs (>= 4.1.4-1), libtool14-shlibs, libgnugetopt-shlibs, libncurses5-shlibs (>= 5.4-20041023-1006), libiconv, libgettext3-shlibs
Files: <<
lib/libcob.*.dylib
<<
Shlibs: <<
%p/lib/libcob.1.dylib 2.0.0 %n (>= 0.32-1)
<<
DocFiles: COPYING.LIB
Description: Open Cobol Shared Library
<<
InfoDocs: open-cobol.info
DocFiles: README COPYING COPYING.LIB NEWS THANKS AUTHORS
Description: COBOL compiler
DescDetail: <<
This is a COBOL compiler. While it is still under development, it apparently
already implements a substantial part of COBOL 85.
<<
License: GPL
Homepage: http://www.open-cobol.org
diff -ruN open-cobol-0.32-orig/configure open-cobol-0.32/configure
--- open-cobol-0.32-orig/configure 2007-03-30 21:28:22.000000000 -0700
+++ open-cobol-0.32/configure 2007-03-30 22:14:53.000000000 -0700
@@ -4642,8 +4642,8 @@
done
-echo "$as_me:$LINENO: checking for __gmp_rand in -lgmp" >&5
-echo $ECHO_N "checking for __gmp_rand in -lgmp... $ECHO_C" >&6
+echo "$as_me:$LINENO: checking for __gmp_rands in -lgmp" >&5
+echo $ECHO_N "checking for __gmp_rands in -lgmp... $ECHO_C" >&6
if test "${ac_cv_lib_gmp___gmp_rand+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
@@ -4662,11 +4662,11 @@
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
-char __gmp_rand ();
+char __gmp_rands ();
int
main ()
{
-__gmp_rand ();
+__gmp_rands ();
;
return 0;
}
@@ -6504,7 +6504,7 @@
fi
if test "X$ltrpathdirs" != "X"; then
for found_dir in $ltrpathdirs; do
- LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
+ echo Skipping LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
done
fi
@@ -25086,7 +25086,7 @@
-a "x$includedir" = "x\${prefix}/include"; then
COB_CFLAGS=""
else
- COB_CFLAGS="-I$includedir"
+ COB_CFLAGS="-Wno-pointer-sign -I$includedir"
fi
COB_LIBS="-L$libdir -lcob ${LIBCOB_LIBS}"
diff -ruN open-cobol-0.32-orig/lib/Makefile.in open-cobol-0.32/lib/Makefile.in
--- open-cobol-0.32-orig/lib/Makefile.in 2007-03-30 21:28:22.000000000 -0700
+++ open-cobol-0.32/lib/Makefile.in 2007-03-30 21:42:55.000000000 -0700
@@ -57,7 +57,7 @@
libsupport_a_AR = $(AR) $(ARFLAGS)
libsupport_a_DEPENDENCIES = @LIBOBJS@
am_libsupport_a_OBJECTS =
-libsupport_a_OBJECTS = $(am_libsupport_a_OBJECTS)
+libsupport_a_OBJECTS = $(am_libsupport_a_OBJECTS) dummy.o
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
depcomp = $(SHELL) $(top_srcdir)/depcomp
am__depfiles_maybe = depfiles
diff -ruN open-cobol-0.32-orig/lib/dummy.c open-cobol-0.32/lib/dummy.c
--- open-cobol-0.32-orig/lib/dummy.c 1969-12-31 16:00:00.000000000 -0800
+++ open-cobol-0.32/lib/dummy.c 2007-03-30 21:28:48.000000000 -0700
@@ -0,0 +1 @@
+/* So libsupport isn't totally empty */
Package: open-cobol
Version: 0.32
Revision: 1002
BuildDependsOnly: True
Maintainer: Matthias Neeracher
Depends: libgnugetopt-shlibs, %n-shlibs (>= %v-%r), db44-aes-shlibs | db44-shlibs, libiconv, libgettext3-shlibs, gmp-shlibs
BuildDepends: gmp (>= 4.1.4-1), libmpfr1, db44-aes | db44, libtool14, libgnugetopt, libncurses5 (>= 5.4-20041023-1006), readline5, libiconv-dev, libgettext3-dev
Source: mirror:sourceforge:%n/%n-%v.tar.gz
Source-MD5: 9ffc3b75eca988e40206b3e310bba635
Patch: %n.patch
ConfigureParams: --infodir=%i/share/info
SetCPPFLAGS: -I%p/include/gnugetopt -Wno-pointer-sign
SetLDFLAGS: -lgnugetopt
SplitOff: <<
Package: open-cobol-shlibs
Depends: gmp-shlibs (>= 4.1.4-1), libtool14-shlibs, libgnugetopt-shlibs, libncurses5-shlibs (>= 5.4-20041023-1006), libiconv, libgettext3-shlibs
Files: <<
lib/libcob.*.dylib
<<
Shlibs: <<
%p/lib/libcob.1.dylib 2.0.0 %n (>= 0.32-1)
<<
DocFiles: COPYING.LIB
Description: Open Cobol Shared Library
<<
InfoDocs: open-cobol.info
DocFiles: README COPYING COPYING.LIB NEWS THANKS AUTHORS
Description: COBOL compiler
DescDetail: <<
This is a COBOL compiler. While it is still under development, it apparently
already implements a substantial part of COBOL 85.
<<
License: GPL
Homepage: http://www.open-cobol.org
diff -ruN open-cobol-0.32-orig/configure open-cobol-0.32/configure
--- open-cobol-0.32-orig/configure 2007-03-30 21:28:22.000000000 -0700
+++ open-cobol-0.32/configure 2007-03-30 22:14:53.000000000 -0700
@@ -4642,8 +4642,8 @@
done
-echo "$as_me:$LINENO: checking for __gmp_rand in -lgmp" >&5
-echo $ECHO_N "checking for __gmp_rand in -lgmp... $ECHO_C" >&6
+echo "$as_me:$LINENO: checking for __gmp_rands in -lgmp" >&5
+echo $ECHO_N "checking for __gmp_rands in -lgmp... $ECHO_C" >&6
if test "${ac_cv_lib_gmp___gmp_rand+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
@@ -4662,11 +4662,11 @@
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
-char __gmp_rand ();
+char __gmp_rands ();
int
main ()
{
-__gmp_rand ();
+__gmp_rands ();
;
return 0;
}
@@ -6504,7 +6504,7 @@
fi
if test "X$ltrpathdirs" != "X"; then
for found_dir in $ltrpathdirs; do
- LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
+ echo Skipping LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
done
fi
@@ -25086,7 +25086,7 @@
-a "x$includedir" = "x\${prefix}/include"; then
COB_CFLAGS=""
else
- COB_CFLAGS="-I$includedir"
+ COB_CFLAGS="-Wno-pointer-sign -I$includedir"
fi
COB_LIBS="-L$libdir -lcob ${LIBCOB_LIBS}"
diff -ruN open-cobol-0.32-orig/lib/Makefile.in open-cobol-0.32/lib/Makefile.in
--- open-cobol-0.32-orig/lib/Makefile.in 2007-03-30 21:28:22.000000000 -0700
+++ open-cobol-0.32/lib/Makefile.in 2007-03-30 21:42:55.000000000 -0700
@@ -57,7 +57,7 @@
libsupport_a_AR = $(AR) $(ARFLAGS)
libsupport_a_DEPENDENCIES = @LIBOBJS@
am_libsupport_a_OBJECTS =
-libsupport_a_OBJECTS = $(am_libsupport_a_OBJECTS)
+libsupport_a_OBJECTS = $(am_libsupport_a_OBJECTS) dummy.o
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
depcomp = $(SHELL) $(top_srcdir)/depcomp
am__depfiles_maybe = depfiles
diff -ruN open-cobol-0.32-orig/lib/dummy.c open-cobol-0.32/lib/dummy.c
--- open-cobol-0.32-orig/lib/dummy.c 1969-12-31 16:00:00.000000000 -0800
+++ open-cobol-0.32/lib/dummy.c 2007-03-30 21:28:48.000000000 -0700
@@ -0,0 +1 @@
+/* So libsupport isn't totally empty */