diff options
| author | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-28 23:33:47 +0000 |
|---|---|---|
| committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-28 23:33:47 +0000 |
| commit | a14c0668720dcafde3f60b7659a01d99ec693a41 (patch) | |
| tree | 9c1a149bc961f7cd84b7aa93a2d61fec3d0f9685 /math/oleo/files/patch-src_io-motif.c | |
| parent | 8e7fd48a294d7d6e54c6d07989807cff33ab19bd (diff) | |
Rename math/ patch-xy patches to reflect the files they modify.
Diffstat (limited to 'math/oleo/files/patch-src_io-motif.c')
| -rw-r--r-- | math/oleo/files/patch-src_io-motif.c | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/math/oleo/files/patch-src_io-motif.c b/math/oleo/files/patch-src_io-motif.c new file mode 100644 index 000000000000..383b6930ba57 --- /dev/null +++ b/math/oleo/files/patch-src_io-motif.c @@ -0,0 +1,37 @@ +--- src/io-motif.c.orig Wed Jan 19 18:23:57 2005 ++++ src/io-motif.c Wed Jan 19 18:26:41 2005 +@@ -1495,7 +1495,7 @@ + #endif + XmTextFieldSetEditable(tw, True); + break; +- default: ++ default: {} + #if 0 + fprintf(stderr, "Huh ? TickTypeCB(axis %d type %d) -> sensitive \n", axis, val); + #endif +@@ -6058,7 +6058,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); +@@ -6142,6 +6146,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); +@@ -6151,4 +6156,5 @@ + + fprintf(stderr, "MotifButton(%d,%d,%s,%s)\n", r-1, c-1, lbl, command); + } ++#endif + } |
