pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/glib2/patches



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Tue Jun 25 15:11:36 UTC 2019

Modified Files:
        pkgsrc/devel/glib2/patches: patch-glib_gtypes.h

Log Message:
#include <sys/types.h> for glib/gtypes.h to find ssize_t on OS X.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/glib2/patches/patch-glib_gtypes.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/glib2/patches/patch-glib_gtypes.h
diff -u pkgsrc/devel/glib2/patches/patch-glib_gtypes.h:1.1 pkgsrc/devel/glib2/patches/patch-glib_gtypes.h:1.2
--- pkgsrc/devel/glib2/patches/patch-glib_gtypes.h:1.1  Tue Jun 25 10:57:28 2019
+++ pkgsrc/devel/glib2/patches/patch-glib_gtypes.h      Tue Jun 25 15:11:36 2019
@@ -1,11 +1,19 @@
-$NetBSD: patch-glib_gtypes.h,v 1.1 2019/06/25 10:57:28 prlw1 Exp $
+$NetBSD: patch-glib_gtypes.h,v 1.2 2019/06/25 15:11:36 schmonz Exp $
 
 We insist on C99, so size_t exists => use it.
 PR pkg/54298
 
 --- glib/gtypes.h.orig 2019-06-10 17:47:20.000000000 +0000
 +++ glib/gtypes.h
-@@ -57,6 +57,9 @@ typedef unsigned int    guint;
+@@ -32,6 +32,7 @@
+ #include <glibconfig.h>
+ #include <glib/gmacros.h>
+ #include <glib/gversionmacros.h>
++#include <sys/types.h>
+ #include <time.h>
+ 
+ G_BEGIN_DECLS
+@@ -57,6 +58,9 @@ typedef unsigned int    guint;
  typedef float   gfloat;
  typedef double  gdouble;
  



Home | Main Index | Thread Index | Old Index