Build fix for new glib2.

This commit is contained in:
dholland 2012-05-07 18:14:15 +00:00
parent 8fd11d8539
commit 2af23393e3
2 changed files with 19 additions and 1 deletions

View file

@ -1,6 +1,7 @@
$NetBSD: distinfo,v 1.17 2012/02/16 11:29:59 hans Exp $
$NetBSD: distinfo,v 1.18 2012/05/07 18:14:15 dholland Exp $
SHA1 (geda-gaf-1.6.2.tar.gz) = 87c21b3b77eebc8eec1c16672d4b1ab418ccb80d
RMD160 (geda-gaf-1.6.2.tar.gz) = 4e32ba11188b9a2849036299b972c35481cb975e
Size (geda-gaf-1.6.2.tar.gz) = 7099981 bytes
SHA1 (patch-build-tools_icon-theme-installer) = 368e18f2ef5a1530bcbaa33afd66c2306e409cbc
SHA1 (patch-libgeda_src_s__path_c) = 85f6a4bec642d07f399ac2c6473a43558946a1e1

View file

@ -0,0 +1,17 @@
$NetBSD: patch-libgeda_src_s__path_c,v 1.1 2012/05/07 18:14:15 dholland Exp $
Fix build with latest glib2.
--- libgeda/src/s_path.c~ 2011-01-14 05:02:35.000000000 +0000
+++ libgeda/src/s_path.c
@@ -37,9 +37,7 @@
#include <stdlib.h>
#include <string.h>
-#include <glib/gmem.h>
-#include <glib/gmessages.h>
-#include <glib/gtypes.h>
+#include <glib.h>
#include "libgeda_priv.h"