diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-misc/xcalendar/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-misc/xcalendar/files')
-rw-r--r-- | x11-misc/xcalendar/files/xcalendar-4.0-implicits.patch | 22 | ||||
-rw-r--r-- | x11-misc/xcalendar/files/xcalendar-4.0-motif-gentoo.diff | 26 |
2 files changed, 48 insertions, 0 deletions
diff --git a/x11-misc/xcalendar/files/xcalendar-4.0-implicits.patch b/x11-misc/xcalendar/files/xcalendar-4.0-implicits.patch new file mode 100644 index 000000000000..977ca96e572f --- /dev/null +++ b/x11-misc/xcalendar/files/xcalendar-4.0-implicits.patch @@ -0,0 +1,22 @@ +Fix implicit functions declarations + +--- xcalendar/xcalendar.h ++++ xcalendar/xcalendar.h +@@ -37,6 +37,7 @@ + + + #include <stdio.h> ++#include <stdlib.h> + #include <X11/Xos.h> + #include <X11/Xlib.h> + #include <X11/Intrinsic.h> +--- xcalendar/lists.c ++++ xcalendar/lists.c +@@ -25,6 +25,7 @@ + + #include "xcalendar.h" + ++is_last(LList *list); + + List + CreateList(length, elementSize) diff --git a/x11-misc/xcalendar/files/xcalendar-4.0-motif-gentoo.diff b/x11-misc/xcalendar/files/xcalendar-4.0-motif-gentoo.diff new file mode 100644 index 000000000000..a35d98bcb814 --- /dev/null +++ b/x11-misc/xcalendar/files/xcalendar-4.0-motif-gentoo.diff @@ -0,0 +1,26 @@ +--- xcalendar.orig/Imakefile Sat Sep 30 20:19:17 1995 ++++ xcalendar/Imakefile Tue Aug 20 08:37:48 2002 +@@ -1,18 +1,18 @@ + XCALENDAR_LIBDIR = $(LIBDIR)/xcalendar + LIBFILES = larrow.xbm qmark.xbm quit.xbm rarrow.xbm xcalendar.hlp + # Comment out the following two lines for the Motif version +-LOCAL_LIBRARIES = $(XAWLIB) $(XMULIB) $(XTOOLLIB) $(XLIB) +- EXTRA_DEFINES = -DATHENA ++#LOCAL_LIBRARIES = $(XAWLIB) $(XMULIB) $(XTOOLLIB) $(XLIB) ++# EXTRA_DEFINES = -DATHENA + # Uncomment the following two lines for the Motif version +-# LOCAL_LIBRARIES = -L/usr/local/Motif/lib -lXm $(XMULIB) $(XTOOLLIB) $(XLIB) +-# EXTRA_DEFINES = -I/usr/local/Motif/include ++ LOCAL_LIBRARIES = -lXm $(XMULIB) $(XTOOLLIB) $(XLIB) ++ EXTRA_DEFINES = + SRCS = xcalendar.c dayeditor.c lists.c + OBJS = xcalendar.o dayeditor.o lists.o + + # + # for Internationalization + # +-EXTRA_DEFINES = -DXI18N -DATHENA ++#EXTRA_DEFINES = -DXI18N -DATHENA + ##if !SharedLibXwchar + # _UseCat($(USRLIBDIR),$(CONTRIBSRC)/lib/Xwchar,/libXwchar.a) + # XWCHARLIB = LoaderLibPrefix _Use(-lXwchar,$(DEPXWCHARLIB)) |