freebsd-ports/deskutils/xcalendar/files/patch-ab
Jun Kuriyama 98116ff0ca Add xcalendar 4.0,
a calendar with a notebook for X11
(internationarized version).

PR:		ports/25739
Submitted by:	MITA Yoshio <mita@iis.u-tokyo.ac.jp>
2001-03-16 02:37:16 +00:00

21 lines
734 B
Plaintext

--- dayeditor.c.orig Sun Oct 1 13:54:55 1995
+++ dayeditor.c Mon Mar 12 20:55:07 2001
@@ -236,7 +236,7 @@
{
char *getenv();
DIR *dirp;
-#if defined (SYSV) || defined(__osf__) || defined(SVR4)
+#if defined (SYSV) || defined(__osf__) || defined(SVR4) || defined(HAVE_DIRENT_H)
struct dirent *dp;
#else
struct direct *dp;
@@ -1068,7 +1068,7 @@
XawTextSetSource(editor->holiday,
#ifdef XI18N
(XtIsSubclass(old, multiSrcObjectClass) ?
- XtCreateWidget("holSource", asciiSrcObjectClass,
+ XtCreateWidget("holSource", multiSrcObjectClass,
editor->holiday, args, n) :
XtCreateWidget("holSource", asciiSrcObjectClass,
editor->holiday, args, n) ),