summaryrefslogtreecommitdiff
path: root/deskutils/xcalendar/files/patch-dayeditor.c
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-28 16:03:51 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-28 16:03:51 +0000
commit1f171620e6731e94868b333e8cd090d56e2c0451 (patch)
tree972b8a1ac1035946aaf1f87fd1422c80bb83a47f /deskutils/xcalendar/files/patch-dayeditor.c
parentRather than checking whether pre-existing conf files exist in (diff)
Rename deskutils/ patch-xy patches to reflect the files they modify.
Diffstat (limited to 'deskutils/xcalendar/files/patch-dayeditor.c')
-rw-r--r--deskutils/xcalendar/files/patch-dayeditor.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/deskutils/xcalendar/files/patch-dayeditor.c b/deskutils/xcalendar/files/patch-dayeditor.c
new file mode 100644
index 000000000000..47586370d88c
--- /dev/null
+++ b/deskutils/xcalendar/files/patch-dayeditor.c
@@ -0,0 +1,20 @@
+--- 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) ),