FreeBSD Bugzilla – Attachment 53554 Details for
Bug 81007
net/rtg -- Makefile clean-up, removal of build warnings
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 2.33 KB, created by
Jeremy Chadwick
on 2005-05-14 10:30:02 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Jeremy Chadwick
Created:
2005-05-14 10:30:02 UTC
Size:
2.33 KB
patch
obsolete
>diff -ruN rtg.orig/Makefile rtg/Makefile >--- rtg.orig/Makefile Sun Feb 22 20:41:47 2004 >+++ rtg/Makefile Sat May 14 02:13:02 2005 >@@ -14,9 +14,8 @@ > MAINTAINER= so14k@so14k.com > COMMENT= A flexible, high-performance SNMP statistics monitoring system > >-BUILD_DEPENDS= \ >- ${LOCALBASE}/lib/mysql/libmysqlclient_r.a:${PORTSDIR}/databases/mysql41-client \ >- ${LOCALBASE}/sbin/snmpd:${PORTSDIR}/net-mgmt/net-snmp >+LIB_DEPENDS= mysqlclient:${PORTSDIR}/databases/mysql41-client \ >+ netsnmp.7:${PORTSDIR}/net-mgmt/net-snmp > > MAN1= rtgplot.1 rtgpoll.1 > >@@ -25,6 +24,6 @@ > CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/etc/rtg > > pre-configure: >- ${REINPLACE_CMD} -e "s,-pthread,${PTHREAD_LIBS},g" ${WRKSRC}/configure >+ @${REINPLACE_CMD} -e 's,-pthread,${PTHREAD_LIBS},g' ${WRKSRC}/configure > > .include <bsd.port.mk> >diff -ruN rtg.orig/files/patch-cgilib-cgi.c rtg/files/patch-cgilib-cgi.c >--- rtg.orig/files/patch-cgilib-cgi.c Wed Dec 31 16:00:00 1969 >+++ rtg/files/patch-cgilib-cgi.c Sat May 14 01:29:04 2005 >@@ -0,0 +1,15 @@ >+--- cgilib-0.4/cgi.c.orig Thu Sep 25 08:21:06 2003 >++++ cgilib-0.4/cgi.c Sat May 14 01:28:33 2005 >+@@ -33,9 +33,12 @@ >+ #ifdef HAVE_CTYPE_H >+ # include <ctype.h> >+ #endif >++/* Unnecessary on FreeBSD; malloc.h included in stdlib.h */ >++/* >+ #ifdef HAVE_MALLOC_H >+ # include <malloc.h> >+ #endif >++*/ >+ >+ #include <cgi.h> >+ >diff -ruN rtg.orig/files/patch-config-config.h.in rtg/files/patch-config-config.h.in >--- rtg.orig/files/patch-config-config.h.in Wed Dec 31 16:00:00 1969 >+++ rtg/files/patch-config-config.h.in Sat May 14 01:32:49 2005 >@@ -0,0 +1,27 @@ >+--- config/config.h.in.orig Thu Sep 25 08:21:14 2003 >++++ config/config.h.in Sat May 14 01:31:47 2005 >+@@ -91,19 +91,19 @@ >+ #undef PACKAGE >+ >+ /* Define to the address where bug reports for this package should be sent. */ >+-#undef PACKAGE_BUGREPORT >++#undef RTG_PACKAGE_BUGREPORT >+ >+ /* Define to the full name of this package. */ >+-#undef PACKAGE_NAME >++#undef RTG_PACKAGE_NAME >+ >+ /* Define to the full name and version of this package. */ >+-#undef PACKAGE_STRING >++#undef RTG_PACKAGE_STRING >+ >+ /* Define to the one symbol short name of this package. */ >+-#undef PACKAGE_TARNAME >++#undef RTG_PACKAGE_TARNAME >+ >+ /* Define to the version of this package. */ >+-#undef PACKAGE_VERSION >++#undef RTG_PACKAGE_VERSION >+ >+ /* Define as the return type of signal handlers (`int' or `void'). */ >+ #undef RETSIGTYPE
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 81007
: 53554