FreeBSD Bugzilla – Attachment 20878 Details for
Bug 36760
Upgraded ports/misc/birthday from v1.4 to v1.5
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
birthday-1.5.sh
birthday-1.5.sh (text/plain), 5.33 KB, created by
Niek Bergboer
on 2002-04-04 19:30:02 UTC
(
hide
)
Description:
birthday-1.5.sh
Filename:
MIME Type:
Creator:
Niek Bergboer
Created:
2002-04-04 19:30:02 UTC
Size:
5.33 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># birthday ># birthday/files ># birthday/files/patch-getopt.h ># birthday/files/patch-Makefile ># birthday/pkg-plist ># birthday/Makefile ># birthday/distinfo ># birthday/pkg-descr ># birthday/pkg-comment ># >echo c - birthday >mkdir -p birthday > /dev/null 2>&1 >echo c - birthday/files >mkdir -p birthday/files > /dev/null 2>&1 >echo x - birthday/files/patch-getopt.h >sed 's/^X//' >birthday/files/patch-getopt.h << 'END-of-birthday/files/patch-getopt.h' >X--- getopt.h Thu Apr 4 19:15:06 2002 >X+++ getopt.h Thu Apr 4 19:15:32 2002 >X@@ -93,15 +93,22 @@ >X optional_argument >X }; >X >X+ >X+// Note: FreeBSD does follow the normal GNU definition for getopt, but >X+// the checks below would cause it to use a new --conflicting-- definition. >X+// Therefore, the checks have been commented out. >X+// >X+// Niek Bergboer, 04-Apr-2002 >X+ >X #if __STDC__ >X-#if defined(__GNU_LIBRARY__) >X+//#if defined(__GNU_LIBRARY__) >X /* Many other libraries have conflicting prototypes for getopt, with >X differences in the consts, in stdlib.h. To avoid compilation >X errors, only prototype getopt for the GNU C library. */ >X extern int getopt (int argc, char *const *argv, const char *shortopts); >X-#else /* not __GNU_LIBRARY__ */ >X-extern int getopt (); >X-#endif /* not __GNU_LIBRARY__ */ >X+//#else /* not __GNU_LIBRARY__ */ >X+//extern int getopt (); >X+//#endif /* not __GNU_LIBRARY__ */ >X extern int getopt_long (int argc, char *const *argv, const char *shortopts, >X const struct option *longopts, int *longind); >X extern int getopt_long_only (int argc, char *const *argv, >END-of-birthday/files/patch-getopt.h >echo x - birthday/files/patch-Makefile >sed 's/^X//' >birthday/files/patch-Makefile << 'END-of-birthday/files/patch-Makefile' >X--- Makefile Sat Jan 16 18:08:59 1999 >X+++ Makefile Thu Apr 4 19:21:49 2002 >X@@ -1,24 +1,39 @@ >X-# overall makefile for birthday, to get around the differing syntax of Borland and GNU makes. >X+###################################################################### >X+# birthday. Reminder of birthdays and other events in the near future. >X+# $Id: Makefile.in,v 1.3 2000/01/02 19:17:33 andy Exp $ >X >X-# version for GNU make >X-Makefile.gnu: makemake Makefile.in >X- ./makemake unix < Makefile.in > $@ >X- >X-# version for Borland make >X-Makefile.bor: makemake Makefile.in >X- makemake dos < Makefile.in > $@ >X- >X-# I think -o for BCC sets the /object/ file name, rather than the executable ... >X-makemake: makemake.c >X- $(CC) -o makemake makemake.c >X- >X-# targets to make directly, without having to make -f >X-birthday install clean: Makefile.gnu >X- make -f Makefile.gnu $@ >X- >X-birthday.exe bdwin.exe: Makefile.bor >X- make -f Makefile.bor $@ >X- >X-# for UNIX only >X-../birthday.tgz: * >X- tar --exclude=RCS/* --dereference -czf ../birthday.tgz * >X+all: birthday >X+ >X+# NB note the different syntax for if >X+ >X+# UNIX is replaced by name of OS by makemake >X+OS=UNIX >X+ >X+# can override this on the commandline if req'd >X+DEBUG= >X+OSCFLAGS=-Wall -Wstrict-prototypes >X+CFLAGS+=-O2 $(DEBUG) -D$(OS) $(OSCFLAGS) >X+# engine >X+ENGSRC=bdengine.c xmalloc.c >X+ >X+# OS-specific sources >X+OSSRC= >X+ >X+CMDSRC=birthday.c bdcal.c $(ENGSRC) $(OSSRC) >X+ >X+CMDOBJ=$(CMDSRC:.c=.o) >X+ >X+birthday: $(CMDOBJ) >X+ $(CC) $(LDFLAGS) $(CMDOBJ) -o $@ >X+ >X+# you can override this to use the new FHS locations. >X+SHARE= >X+#SHARE=/share >X+ >X+install: birthday birthday.man >X+ # Installation of dirs bin and man/man1 removed >X+ install -s birthday $(PREFIX)/bin/birthday >X+ install -m 0644 birthday.man $(PREFIX)/man/man1/birthday.1 >X+ >X+clean: >X+ rm -f birthday *.o >END-of-birthday/files/patch-Makefile >echo x - birthday/pkg-plist >sed 's/^X//' >birthday/pkg-plist << 'END-of-birthday/pkg-plist' >Xbin/birthday >END-of-birthday/pkg-plist >echo x - birthday/Makefile >sed 's/^X//' >birthday/Makefile << 'END-of-birthday/Makefile' >X# New ports collection makefile for: birthday >X# Date created: 21 May 2001 >X# Whom: Niek Bergboer <niek@bergboer.net> >X# >X# $FreeBSD: ports/misc/birthday/Makefile,v 1.1 2001/06/11 03:48:33 will Exp $ >X# >X >XPORTNAME= birthday >XPORTVERSION= 1.5 >XCATEGORIES= misc >XMASTER_SITES= http://users.zetnet.co.uk/mortia/source/ >X >XMAINTAINER= niek@bergboer.net >X >XMAN1= birthday.1 >XMANCOMPRESSED= no >X >Xpost-install: >X strip ${PREFIX}/bin/birthday >X >X.include <bsd.port.mk> >END-of-birthday/Makefile >echo x - birthday/distinfo >sed 's/^X//' >birthday/distinfo << 'END-of-birthday/distinfo' >XMD5 (birthday-1.5.tar.gz) = d2ceb7ca58d998645a4bdc04d986139c >END-of-birthday/distinfo >echo x - birthday/pkg-descr >sed 's/^X//' >birthday/pkg-descr << 'END-of-birthday/pkg-descr' >XBirthday displays a list of events which are coming up in the near future, >Xbased on a config file (~/.birthdays) in the user's home directory. >XUsed in a user's .profile or crontab it can save the day for many >Xa terminally disorganised soul... >X >XOriginally by Andy Mortimer <andy.mortimer@zetnet.co.uk> >XPorted by Niek Bergboer <niek@bergboer.net> >END-of-birthday/pkg-descr >echo x - birthday/pkg-comment >sed 's/^X//' >birthday/pkg-comment << 'END-of-birthday/pkg-comment' >XA program that outputs reminders for upcoming events (e.g. birthdays) >END-of-birthday/pkg-comment >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 36760
: 20878