mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
* Fix build with latest GTK+-2 [1]
* Convert to new GNOME infrastructure PR: 53262 [1] Submitted by: Pav Lucistnik <pav@oook.cz> [1]
This commit is contained in:
parent
c0bb56d803
commit
3209c61b48
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=82899
@ -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
|
||||
|
23
ftp/downloader/files/patch-main_face_prefs.cc
Normal file
23
ftp/downloader/files/patch-main_face_prefs.cc
Normal file
@ -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 <count; i++){
|
||||
menu_item = gtk_radio_menu_item_new_with_label (group, labels[i]);
|
||||
- group = gtk_radio_menu_item_group (GTK_RADIO_MENU_ITEM (menu_item));
|
||||
+ group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_item));
|
||||
gtk_menu_shell_append (GTK_MENU_SHELL (menu), menu_item);
|
||||
if (i==TMPCFG.SEARCH_HOST)
|
||||
gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM (menu_item), TRUE);
|
||||
@@ -1465,9 +1465,10 @@
|
||||
return;
|
||||
};
|
||||
if (equal(label,_("FTP search"))){
|
||||
+ GSList *group;
|
||||
sscanf(gtk_entry_get_text(GTK_ENTRY(D4XPWS.search_ping_times)),"%u",&TMPCFG.SEARCH_PING_TIMES);
|
||||
sscanf(gtk_entry_get_text(GTK_ENTRY(D4XPWS.search_entries)),"%u",&TMPCFG.SEARCH_ENTRIES);
|
||||
- GSList *group=gtk_radio_menu_item_group((GtkRadioMenuItem *)((GtkOptionMenu *)D4XPWS.search_host)->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){
|
Loading…
Reference in New Issue
Block a user