From 217862ff04c59e37b2a7bbafa04b4b15dbde5254 Mon Sep 17 00:00:00 2001 From: marcus Date: Thu, 12 Jun 2003 23:16:54 +0000 Subject: * Fix build with latest GTK+-2 [1] * Convert to new GNOME infrastructure PR: 53262 [1] Submitted by: Pav Lucistnik [1] --- ftp/downloader/Makefile | 5 +---- ftp/downloader/files/patch-main_face_prefs.cc | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+), 4 deletions(-) create mode 100644 ftp/downloader/files/patch-main_face_prefs.cc diff --git a/ftp/downloader/Makefile b/ftp/downloader/Makefile index be5b9064dbe6..f8abd4cf10b1 100644 --- a/ftp/downloader/Makefile +++ b/ftp/downloader/Makefile @@ -19,13 +19,10 @@ DISTNAME= d4x-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Program for downloading via ftp or http with GUI -LIB_DEPENDS= gtk-x11-2.0.200:${PORTSDIR}/x11-toolkits/gtk20 - -USE_GNOME= esound +USE_GNOME= esound gtk20 USE_REINPLACE= yes USE_GMAKE= yes GNU_CONFIGURE= yes -CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" CONFIGURE_ARGS= --enable-release diff --git a/ftp/downloader/files/patch-main_face_prefs.cc b/ftp/downloader/files/patch-main_face_prefs.cc new file mode 100644 index 000000000000..289f7f97efa6 --- /dev/null +++ b/ftp/downloader/files/patch-main_face_prefs.cc @@ -0,0 +1,23 @@ +--- main/face/prefs.cc.orig Wed Nov 6 07:53:28 2002 ++++ main/face/prefs.cc Fri Jun 13 00:50:49 2003 +@@ -810,7 +810,7 @@ + gint i; + for (i = 0; (unsigned int)i menu_item); ++ group = gtk_radio_menu_item_get_group((GtkRadioMenuItem *)((GtkOptionMenu *)D4XPWS.search_host)->menu_item); + int i=D4X_SEARCH_ENGINES.count()-1; + if (i<0) i=0; + while(group && !((GtkCheckMenuItem *)(group->data))->active){ -- cgit