Skip to content

Commit

Permalink
libgnome: Fix build failure with latest version of glib2
Browse files Browse the repository at this point in the history
  • Loading branch information
ryandesign committed Oct 4, 2017
1 parent 8497d11 commit 1f3efc8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gnome/libgnome/Portfile
Expand Up @@ -36,7 +36,8 @@ depends_lib \
port:libiconv \
port:gettext

patchfiles patch-libgnome-Makefile.am.diff
patchfiles patch-libgnome-Makefile.am.diff \
patch-libgnome-gnome-config.h.diff

# reconfigure using upstream autogen.sh for intltool 0.51 compatibility

Expand Down
12 changes: 12 additions & 0 deletions gnome/libgnome/files/patch-libgnome-gnome-config.h.diff
@@ -0,0 +1,12 @@
Remove non-UTF-8 chars to fix build failure with latest glib-mkenums
--- libgnome/gnome-config.h.orig 2009-04-23 04:29:13.000000000 -0500
+++ libgnome/gnome-config.h 2017-10-04 02:17:22.000000000 -0500
@@ -270,7 +270,7 @@
#define gnome_config_private_clean_key(path) \
(gnome_config_clean_key_((path),TRUE))

-/* returns the true filename of the config file */
+/* returns the true filename of the config file */
#define gnome_config_get_real_path(path) \
(g_build_filename (gnome_user_dir_get(),(path),NULL))
#define gnome_config_private_get_real_path(path) \

0 comments on commit 1f3efc8

Please sign in to comment.