Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/libs
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv2994

Modified Files:
        db48.info db51.info 
Added Files:
        db48.patch db51.patch 
Log Message:
Fix building with Xcode 4.6.

--- NEW FILE: db48.patch ---
--- db-5.1.29/dbinc/atomic.h.orig       2013-01-29 11:05:16.000000000 -0500
+++ db-5.1.29/dbinc/atomic.h    2013-01-29 11:05:32.000000000 -0500
@@ -144,7 +144,7 @@
 #define        atomic_inc(env, p)      __atomic_inc(p)
 #define        atomic_dec(env, p)      __atomic_dec(p)
 #define        atomic_compare_exchange(env, p, o, n)   \
-       __atomic_compare_exchange((p), (o), (n))
+       __atomic_compare_exchange_db((p), (o), (n))
 static inline int __atomic_inc(db_atomic_t *p)
 {
        int     temp;
@@ -176,7 +176,7 @@
  * http://gcc.gnu.org/onlinedocs/gcc-4.1.0/gcc/Atomic-Builtins.html
  * which configure could be changed to use.
  */
-static inline int __atomic_compare_exchange(
+static inline int __atomic_compare_exchange_db(
        db_atomic_t *p, atomic_value_t oldval, atomic_value_t newval)
 {
        atomic_value_t was;

Index: db51.info
===================================================================
RCS file: /cvsroot/fink/dists/10.7/stable/main/finkinfo/libs/db51.info,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- db51.info   17 Jan 2012 17:19:39 -0000      1.4
+++ db51.info   29 Jan 2013 23:14:14 -0000      1.5
@@ -161,6 +161,8 @@
 Homepage: http://www.oracle.com/database/berkeley-db/index.html
 Maintainer: Daniel Johnson <dan...@daniel-johnson.org>
 Source-MD5: bc462528d733ff305929ed2fe77f1bd7 
+PatchFile: %n.patch
+PatchFile-MD5: 1ed24665950881ecab778163aa986fa1
 
 InfoTest: TestScript: cd test/micro; sh test_micro || exit 2
 <<

Index: db48.info
===================================================================
RCS file: /cvsroot/fink/dists/10.7/stable/main/finkinfo/libs/db48.info,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- db48.info   17 Jan 2012 17:19:39 -0000      1.2
+++ db48.info   29 Jan 2013 23:14:13 -0000      1.3
@@ -150,6 +150,8 @@
 Homepage: http://www.oracle.com/database/berkeley-db/index.html
 Maintainer: Daniel Johnson <dan...@daniel-johnson.org>
 Source-MD5: a14a5486d6b4891d2434039a0ed4c5b7 
+PatchFile: %n.patch
+PatchFile-MD5: 32f1c8701fba36cc27e0d4f7c5e1481c
 
 InfoTest: TestScript: cd test_micro; sh test_micro || exit 2
 <<

--- NEW FILE: db51.patch ---
--- db-5.1.29/src/dbinc/atomic.h.orig   2013-01-29 11:05:16.000000000 -0500
+++ db-5.1.29/src/dbinc/atomic.h        2013-01-29 11:05:32.000000000 -0500
@@ -144,7 +144,7 @@
 #define        atomic_inc(env, p)      __atomic_inc(p)
 #define        atomic_dec(env, p)      __atomic_dec(p)
 #define        atomic_compare_exchange(env, p, o, n)   \
-       __atomic_compare_exchange((p), (o), (n))
+       __atomic_compare_exchange_db((p), (o), (n))
 static inline int __atomic_inc(db_atomic_t *p)
 {
        int     temp;
@@ -176,7 +176,7 @@
  * http://gcc.gnu.org/onlinedocs/gcc-4.1.0/gcc/Atomic-Builtins.html
  * which configure could be changed to use.
  */
-static inline int __atomic_compare_exchange(
+static inline int __atomic_compare_exchange_db(
        db_atomic_t *p, atomic_value_t oldval, atomic_value_t newval)
 {
        atomic_value_t was;


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to