1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/math/oleo/files/patch-al
Kevin Lo 2d68be2592 Update to version 1.99.14
PR: 23226
Submitted by: Ports Fury
2000-12-02 16:27:23 +00:00

29 lines
826 B
Plaintext

--- 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
}