Date: Fri, 26 May 2006 00:50:27 GMT From: Shaun Amott <shaun@inerd.com> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/97935: [MAINTAINER UPDATE] www/quickie: 1.0 -> 1.1 Message-ID: <200605260050.k4Q0oRdQ097171@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/97935; it has been noted by GNATS. From: Shaun Amott <shaun@inerd.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: Re: ports/97935: [MAINTAINER UPDATE] www/quickie: 1.0 -> 1.1 Date: Fri, 26 May 2006 01:36:00 +0100 I've updated the patch to utilise USE_GETOPT_LONG: -----quickie-1.1-v2.diff begins here----- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/www/quickie/Makefile,v retrieving revision 1.1 diff -u -r1.1 Makefile --- Makefile 17 May 2006 13:48:19 -0000 1.1 +++ Makefile 26 May 2006 00:32:08 -0000 @@ -6,7 +6,7 @@ # PORTNAME= quickie -PORTVERSION= 1.0 +PORTVERSION= 1.1 CATEGORIES= www MASTER_SITES= http://${PORTNAME}.sourceforge.net/ \ http://mirror.inerd.com/FreeBSD/distfiles/${PORTNAME}/ @@ -20,6 +20,8 @@ --sysconfdir=${PREFIX}/etc \ --localstatedir=${DATADIR} +USE_GETOPT_LONG= yes + MAN1= quickie-config.1 quickie_prime.1 quickie.1 quickie_svt.1 \ quickie_license.1 quickie_post_install.1 @@ -38,13 +40,8 @@ .include <bsd.port.pre.mk> -.if (${OSVERSION} < 500041) -BROKEN= does not compile on 4.x; needs a newer libc -.endif - post-patch: @${CP} ${FILESDIR}/freebsd.h ${WRKSRC}/lib - @${REINPLACE_CMD} -e 's#var/[^ ]*\.man##g' ${WRKSRC}/Makefile.in pre-install: @${MKDIR} ${DATADIR}/admin Index: distinfo =================================================================== RCS file: /home/ncvs/ports/www/quickie/distinfo,v retrieving revision 1.1 diff -u -r1.1 distinfo --- distinfo 17 May 2006 13:48:19 -0000 1.1 +++ distinfo 26 May 2006 00:32:08 -0000 @@ -1,6 +1,4 @@ -MD5 (quickie-1.0.tar.gz) = 5dca1346dfbe034d8e43061763b9fb92 -SHA256 (quickie-1.0.tar.gz) = cdf17e935852f3e9d5b6928bea71e7acaf40f5b6df8779595927b13cea1eb93f -SIZE (quickie-1.0.tar.gz) = 274016 -MD5 (quickie-1.0.pdf) = f9c2db25e11e0baf250d39bec0273e29 -SHA256 (quickie-1.0.pdf) = 2963b7cb55095f2970bcd9a1193bea31916f0ee219f64a9fb40fefb77a7873e4 -SIZE (quickie-1.0.pdf) = 110380 +MD5 (quickie-1.1.tar.gz) = 05d1c560d571c32fbb6b37ac9607b2c8 +SIZE (quickie-1.1.tar.gz) = 278045 +MD5 (quickie-1.1.pdf) = c09ecedf4e04905ca44297983df99297 +SIZE (quickie-1.1.pdf) = 76778 Index: files/patch-lib_arglex.cc =================================================================== RCS file: files/patch-lib_arglex.cc diff -N files/patch-lib_arglex.cc --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-lib_arglex.cc 26 May 2006 00:32:08 -0000 @@ -0,0 +1,14 @@ +--- lib/arglex.cc.orig Sat May 20 23:56:52 2006 ++++ lib/arglex.cc Thu May 25 12:36:38 2006 +@@ -21,6 +21,11 @@ + + #include <cctype> + ++#ifdef __FreeBSD__ ++#include <unistd.h> ++#include <stdio.h> ++#endif ++ + #include <arglex.h> + #include <progname.h> + #include <quit.h> Index: files/patch-lib_quit.cc =================================================================== RCS file: files/patch-lib_quit.cc diff -N files/patch-lib_quit.cc --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-lib_quit.cc 26 May 2006 00:32:08 -0000 @@ -0,0 +1,14 @@ +--- lib/quit.cc.orig Sat May 20 23:56:52 2006 ++++ lib/quit.cc Thu May 25 12:40:10 2006 +@@ -21,6 +21,11 @@ + + #pragma implementation "quit" + ++#ifdef __FreeBSD__ ++#include <sys/types.h> ++#include <sys/stat.h> ++#endif ++ + #include <cerrno> + #include <cstdarg> + #include <cstdio> Index: files/patch-quickie-config_main.cc =================================================================== RCS file: files/patch-quickie-config_main.cc diff -N files/patch-quickie-config_main.cc --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-quickie-config_main.cc 26 May 2006 00:32:08 -0000 @@ -0,0 +1,17 @@ +--- quickie-config/main.cc.orig Sat May 20 23:56:52 2006 ++++ quickie-config/main.cc Thu May 25 12:57:25 2006 +@@ -24,7 +24,13 @@ + #include <cstdio> + #include <cstdlib> + #include <unistd.h> +-#include <getopt.h> ++ ++#ifdef __FreeBSD__ ++//# include <osreldate.h> ++//# if __FreeBSD_version < 500041 ++# include <getopt.h> ++//# endif ++#endif + + #include <configuration.h> + #include <progname.h> -----quickie-1.1-v2.diff ends here----- -- Shaun Amott [ PGP: 0x6B387A9A ] Scientia Est Potentia.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605260050.k4Q0oRdQ097171>