[93246] trunk/dports/devel/glib2/files/patch-configure.diff

and.damore at macports.org and.damore at macports.org
Fri May 18 02:02:27 PDT 2012


Revision: 93246
          https://trac.macports.org/changeset/93246
Author:   and.damore at macports.org
Date:     2012-05-18 02:02:27 -0700 (Fri, 18 May 2012)
Log Message:
-----------
port glib2: BSD readlink doesn't accept -f flag, openmaintainer

Modified Paths:
--------------
    trunk/dports/devel/glib2/files/patch-configure.diff

Modified: trunk/dports/devel/glib2/files/patch-configure.diff
===================================================================
--- trunk/dports/devel/glib2/files/patch-configure.diff	2012-05-18 08:59:32 UTC (rev 93245)
+++ trunk/dports/devel/glib2/files/patch-configure.diff	2012-05-18 09:02:27 UTC (rev 93246)
@@ -1,5 +1,14 @@
---- configure.orig	2012-05-14 17:09:26.000000000 -0500
-+++ configure	2012-05-17 22:38:40.000000000 -0500
+--- configure.orig	2012-05-18 10:06:09.000000000 +0200
++++ configure	2012-05-18 10:07:24.000000000 +0200
+@@ -5526,7 +5526,7 @@
+ fi
+ 
+ GLIB_RUNTIME_LIBDIR="$with_runtime_libdir"
+-ABS_GLIB_RUNTIME_LIBDIR="`readlink -f $libdir/$with_runtime_libdir`"
++ABS_GLIB_RUNTIME_LIBDIR="`readlink $libdir/$with_runtime_libdir`"
+ 
+ 
+  if test "x$with_runtime_libdir" != "x"; then
 @@ -30325,10 +30325,10 @@
  *)			glib_vacopy=''
  esac
@@ -23,15 +32,15 @@
 +#ifdef __LP64__
 +${glib_extension}typedef signed long gint64;
 +${glib_extension}typedef unsigned long guint64;
-+
+ 
+-#define G_GINT64_CONSTANT(val)	$gint64_constant
+-#define G_GUINT64_CONSTANT(val)	$guint64_constant
 +#define G_GINT64_CONSTANT(val)	(val##L)
 +#define G_GUINT64_CONSTANT(val)	(val##UL)
 +#else
 +${glib_extension}typedef signed long long gint64;
 +${glib_extension}typedef unsigned long long guint64;
- 
--#define G_GINT64_CONSTANT(val)	$gint64_constant
--#define G_GUINT64_CONSTANT(val)	$guint64_constant
++
 +#define G_GINT64_CONSTANT(val)	(G_GNUC_EXTENSION (val##LL))
 +#define G_GUINT64_CONSTANT(val)	(G_GNUC_EXTENSION (val##ULL))
 +#endif
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120518/000fea8d/attachment-0001.html>


More information about the macports-changes mailing list