diff options
author | Kevin Lo <kevlo@FreeBSD.org> | 2000-12-02 16:27:23 +0000 |
---|---|---|
committer | Kevin Lo <kevlo@FreeBSD.org> | 2000-12-02 16:27:23 +0000 |
commit | 2d68be2592ca4e0a0e7547bfa2090886fa46614f (patch) | |
tree | 2f926933ad165af63ff7c9a664384a36989c3730 /math/oleo/files | |
parent | ae3988ecaa8d9833ababfdc1d048ee2c0f267f7a (diff) |
Notes
Diffstat (limited to 'math/oleo/files')
-rw-r--r-- | math/oleo/files/patch-ag | 64 | ||||
-rw-r--r-- | math/oleo/files/patch-ah | 34 | ||||
-rw-r--r-- | math/oleo/files/patch-aj | 11 | ||||
-rw-r--r-- | math/oleo/files/patch-ak | 22 | ||||
-rw-r--r-- | math/oleo/files/patch-al | 28 |
5 files changed, 80 insertions, 79 deletions
diff --git a/math/oleo/files/patch-ag b/math/oleo/files/patch-ag index 2d4bce85ce2d..28bb3c65a63a 100644 --- a/math/oleo/files/patch-ag +++ b/math/oleo/files/patch-ag @@ -1,60 +1,16 @@ ---- aclocal.m4.orig Thu Feb 10 05:22:27 2000 -+++ aclocal.m4 Fri Jul 28 19:30:42 2000 -@@ -1733,7 +1733,7 @@ - # but which still want to provide support for the GNU gettext functionality. - # Please note that the actual code is *not* freely available. - --# serial 3 -+# serial 5 - - AC_DEFUN(AM_WITH_NLS, - [AC_MSG_CHECKING([whether NLS is requested]) -@@ -1775,9 +1775,10 @@ - AC_CHECK_LIB(intl, bindtextdomain, - [AC_CACHE_CHECK([for gettext in libintl], - gt_cv_func_gettext_libintl, -- [AC_TRY_LINK([], [return (int) gettext ("")], -- gt_cv_func_gettext_libintl=yes, -- gt_cv_func_gettext_libintl=no)])]) -+ [AC_CHECK_LIB(intl, gettext, -+ gt_cv_func_gettext_libintl=yes, -+ gt_cv_func_gettext_libintl=no)], -+ gt_cv_func_gettext_libintl=no)]) - fi - - if test "$gt_cv_func_gettext_libc" = "yes" \ -@@ -1799,6 +1800,9 @@ +--- aclocal.m4.orig Thu Nov 23 05:32:03 2000 ++++ aclocal.m4 Sat Dec 2 12:21:18 2000 +@@ -1996,9 +1996,12 @@ + [CATOBJEXT=.gmo + DATADIRNAME=share], + [CATOBJEXT=.mo +- DATADIRNAME=lib]) ++ DATADIRNAME=share]) INSTOBJEXT=.mo fi - fi ++ fi + if test "$gt_cv_func_gettext_libintl" = "yes"; then + INTLLIBS='-lintl' -+ fi + fi ]) - if test "$CATOBJEXT" = "NONE"; then -@@ -1883,6 +1887,12 @@ - nls_cv_header_intl=intl/libintl.h - nls_cv_header_libgt=intl/libgettext.h - fi -+ AC_LINK_FILES($nls_cv_header_libgt, $nls_cv_header_intl) -+ AC_OUTPUT_COMMANDS( -+ [case "$CONFIG_FILES" in *po/Makefile.in*) -+ sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile -+ esac]) -+ - - # If this is used in GNU gettext we have to set USE_NLS to `yes' - # because some of the sources are only built for this goal. -@@ -1927,9 +1937,9 @@ - AC_REQUIRE([AC_FUNC_MMAP])dnl - - AC_CHECK_HEADERS([argz.h limits.h locale.h nl_types.h malloc.h string.h \ --unistd.h values.h sys/param.h]) -+unistd.h sys/param.h]) - AC_CHECK_FUNCS([getcwd munmap putenv setenv setlocale strchr strcasecmp \ --__argz_count __argz_stringify __argz_next]) -+strdup __argz_count __argz_stringify __argz_next]) - - if test "${ac_cv_func_stpcpy+set}" != "set"; then - AC_CHECK_FUNCS(stpcpy) diff --git a/math/oleo/files/patch-ah b/math/oleo/files/patch-ah index b0d2a4e1cd80..dda291c3f25b 100644 --- a/math/oleo/files/patch-ah +++ b/math/oleo/files/patch-ah @@ -1,15 +1,21 @@ ---- configure.in.orig Tue Jul 25 21:56:32 2000 -+++ configure.in Fri Jul 28 02:51:24 2000 -@@ -324,12 +324,6 @@ - AM_GNU_GETTEXT - +--- configure.in.orig Thu Nov 23 05:31:55 2000 ++++ configure.in Sat Dec 2 10:41:01 2000 +@@ -208,13 +208,15 @@ + dnl the libplot from GNU plotutils sometimes requires linking the + dnl X and Motif libraries dnl --dnl This used to cause all kinds of problems in an earlier revision --dnl of oleo. (Mostly because of using earlier auto* tools.) --dnl --AC_LINK_FILES($nls_cv_header_libgt, $nls_cv_header_intl) -- --dnl - dnl Pass information about where we install to the source, to be - dnl able to read AFM files. Note this doesn't work if you - dnl install via "make install DESTDIR=/xxx" +-AC_CHECK_LIB(plot, pl_openpl_r, ++if test "$with_motif" = "yes"; then ++ AC_CHECK_LIB(plot, pl_openpl_r, + AC_DEFINE(HAVE_LIBPLOT) + LIBS="$LIBS -lplot") + +-AC_CHECK_LIB(sciplot, sp_begin_plot) +-if test x$ac_cv_lib_sciplot_sp_begin_plot = xyes; then ++ AC_CHECK_LIB(sciplot, sp_begin_plot) ++ if test x$ac_cv_lib_sciplot_sp_begin_plot = xyes; then + AC_DEFINE(HAVE_LIBSCIPLOT) ++ fi + fi + + dnl Checks for Guile diff --git a/math/oleo/files/patch-aj b/math/oleo/files/patch-aj deleted file mode 100644 index 7706eb4c4d20..000000000000 --- a/math/oleo/files/patch-aj +++ /dev/null @@ -1,11 +0,0 @@ ---- po/Makefile.in.in.orig Fri Aug 28 06:15:29 1998 -+++ po/Makefile.in.in Fri Jul 28 04:30:24 2000 -@@ -119,7 +119,7 @@ - for cat in $$catalogs; do \ - cat=`basename $$cat`; \ - case "$$cat" in \ -- *.gmo) destdir=$(gnulocaledir);; \ -+ *.mo) destdir=$(gnulocaledir);; \ - *) destdir=$(localedir);; \ - esac; \ - lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \ diff --git a/math/oleo/files/patch-ak b/math/oleo/files/patch-ak new file mode 100644 index 000000000000..279325421bce --- /dev/null +++ b/math/oleo/files/patch-ak @@ -0,0 +1,22 @@ +--- src/Makefile.in.orig Thu Nov 23 05:39:58 2000 ++++ src/Makefile.in Sat Dec 2 10:44:42 2000 +@@ -158,7 +158,7 @@ + @UseMotif_TRUE@MYCFL = ${X_CFLAGS} + @UseMotif_FALSE@MYCFL = ${X_CFLAGS} + +-oleo_LDADD = ${X_PRE_LIBS} ${MYLD} @INTLLIBS@ ../lib/liboleo.a ../intl/libintl.a ${X_LIBS} ++oleo_LDADD = ${X_PRE_LIBS} ${MYLD} @INTLLIBS@ ../lib/liboleo.a ${X_LIBS} + INCLUDES = -I.. -I$(srcdir) -I$(top_srcdir)/lib -I../intl ${MYINC} + CFLAGS = @CFLAGS@ -DLOCALEDIR=\"$(localedir)\" ${MYCFL} -DBUILD_PREFIX='"'${BUILD_PREFIX}'"' + +@@ -251,8 +251,8 @@ + @UseMotif_FALSE@@HaveXbase_FALSE@postscript$U.o pcl$U.o epson$U.o \ + @UseMotif_FALSE@@HaveXbase_FALSE@prtext$U.o afm$U.o mdi$U.o gsl$U.o \ + @UseMotif_FALSE@@HaveXbase_FALSE@plotter$U.o legend$U.o +-@UseMotif_TRUE@oleo_DEPENDENCIES = ../lib/liboleo.a ../intl/libintl.a +-@UseMotif_FALSE@oleo_DEPENDENCIES = ../lib/liboleo.a ../intl/libintl.a ++@UseMotif_TRUE@oleo_DEPENDENCIES = ../lib/liboleo.a @INTLDEPS@ ++@UseMotif_FALSE@oleo_DEPENDENCIES = ../lib/liboleo.a @INTLDEPS@ + oleo_LDFLAGS = + CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) + CXXLD = $(CXX) diff --git a/math/oleo/files/patch-al b/math/oleo/files/patch-al new file mode 100644 index 000000000000..940a4d3c3903 --- /dev/null +++ b/math/oleo/files/patch-al @@ -0,0 +1,28 @@ +--- src/io-motif.c.orig Thu Nov 23 05:38:22 2000 ++++ src/io-motif.c Sat Dec 2 09:47:19 2000 +@@ -5995,7 +5995,11 @@ + #endif + + #ifdef HAVE_LIBPLOT ++#if defined(PL_LIBPLOT_VER_STRING) + sprintf(xbae, "\n GNU PlotUtils (libplot version %s)", PL_LIBPLOT_VER_STRING); ++#else ++ sprintf(xbae, "\n GNU PlotUtils (libplot version %s)", LIBPLOT_VERSION); ++#endif + xms1 = xms; + xms2 = XmStringCreateLtoR(xbae, XmFONTLIST_DEFAULT_TAG); + xms = XmStringConcat(xms1, xms2); +@@ -6079,6 +6083,7 @@ + return; + } + ++#if XbaeVersion > 4007 + if (XbaeMatrixGetCellWidget(mat, r-1, c-1) == NULL) { + button = XtVaCreateManagedWidget(lbl, xmPushButtonWidgetClass, mat, NULL); + XbaeMatrixSetCellWidget(mat, r-1, c-1, button); +@@ -6088,4 +6093,5 @@ + + fprintf(stderr, "MotifButton(%d,%d,%s,%s)\n", r-1, c-1, lbl, command); + } ++#endif + } |