1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- Fix linking problem with the latest version of GTK2

- Bump PORTREVISION

Reported by:	Andrei V. Lavreniyuk <andy.lavr at reactor-xg.kiev.ua>
This commit is contained in:
Jose Alonso Cardenas Marquez 2009-01-20 21:07:06 +00:00
parent 7d09628a9b
commit ab578f8515
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=226556
2 changed files with 54 additions and 1 deletions

View File

@ -5,7 +5,7 @@
# $FreeBSD$
#
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= x11-toolkits lang
PKGNAMESUFFIX= -gtk2

View File

@ -0,0 +1,53 @@
--- packages/gtk2/src/gtk+/gtk/gtkfilesystem.inc 2009-01-20 15:43:50.000000000 -0500
+++ packages/gtk2/src/gtk+/gtk/gtkfilesystem.inc 2009-01-20 15:48:04.000000000 -0500
@@ -115,17 +115,14 @@
{$IFDEF read_interface_rest}
+{$ifdef HasGTK_FileSystem}
{ GError enumeration for GtkFileSystem }
function GTK_FILE_SYSTEM_ERROR : TGQuark;
-
-
function gtk_file_system_error_quark:TGQuark;cdecl;external gtklib name 'gtk_file_system_error_quark';
-
-
{ Boxed-type for gtk_file_folder_get_info() results }
function GTK_TYPE_FILE_INFO : GType;
@@ -244,11 +241,16 @@
{ GtkFileSystem modules support }
function _gtk_file_system_create(file_system_name:Pchar):PGtkFileSystem;cdecl;external gtklib name '_gtk_file_system_create';
+
+{$endif HasGTK_FileSystem}
+
{$endif} {read_interface_rest}
{$ifdef read_implementation}
+{$ifdef HasGTK_FileSystem}
+
function GTK_FILE_SYSTEM_ERROR : TGQuark;
begin
GTK_FILE_SYSTEM_ERROR:=gtk_file_system_error_quark;
@@ -301,12 +303,13 @@
end;
-
function GTK_FILE_FOLDER_GET_IFACE(inst : pointer) : PGtkFileSystemIface;
begin
GTK_FILE_FOLDER_GET_IFACE:=G_TYPE_INSTANCE_GET_INTERFACE(inst,GTK_TYPE_FILE_FOLDER);
end;
+{$endif HasGTK_FileSystem}
+
function gtk_file_path_new_dup(str : Pgchar) : PGtkFilePath;
begin
gtk_file_path_new_dup:=PGtkFilePath(g_strdup(str));