From 13648e0ad496a53b015277d0494cd470f60dd579 Mon Sep 17 00:00:00 2001 From: marcus Date: Wed, 19 Mar 2008 04:44:58 +0000 Subject: Add a patch forgotten in the last commit to properly support sysctlbyname. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@10779 df743ca5-7f9a-e211-a948-0013205c9059 --- devel/glib20/Makefile | 4 ++-- devel/glib20/files/patch-config.h.in | 12 ++++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 devel/glib20/files/patch-config.h.in diff --git a/devel/glib20/Makefile b/devel/glib20/Makefile index 70cc6d56d..cbf7952b6 100644 --- a/devel/glib20/Makefile +++ b/devel/glib20/Makefile @@ -3,12 +3,12 @@ # Whom: Vanilla I. Shu # # $FreeBSD$ -# $MCom: ports/devel/glib20/Makefile,v 1.115 2008/03/11 03:10:53 marcus Exp $ +# $MCom: ports/devel/glib20/Makefile,v 1.116 2008/03/18 22:38:13 marcus Exp $ # PORTNAME= glib PORTVERSION= 2.16.1 -PORTREVISION?= 1 +PORTREVISION?= 2 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GNOME:S,%SUBDIR%,sources/glib/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/},} \ ftp://ftp.gtk.org/pub/glib/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}/ \ diff --git a/devel/glib20/files/patch-config.h.in b/devel/glib20/files/patch-config.h.in new file mode 100644 index 000000000..3c2bc5d26 --- /dev/null +++ b/devel/glib20/files/patch-config.h.in @@ -0,0 +1,12 @@ +--- config.h.in.orig 2008-03-18 18:24:24.000000000 -0400 ++++ config.h.in 2008-03-18 18:24:59.000000000 -0400 +@@ -197,6 +197,9 @@ + /* Define to 1 if you have the `getpwuid' function. */ + #undef HAVE_GETPWUID + ++/* Define to 1 if you have the `sysctlbyname' function. */ ++#undef HAVE_SYSCTLBYNAME ++ + /* Define if the GNU gettext() function is already present or preinstalled. */ + #undef HAVE_GETTEXT + -- cgit v1.2.3