diff options
author | martin <martin> | 2005-05-18 10:56:09 +0000 |
---|---|---|
committer | martin <martin> | 2005-05-18 10:56:09 +0000 |
commit | a10a4aae8a911562e23dad3f55b2e5d47224ce0d (patch) | |
tree | f942e74932c62d58593d466955f65f3d5f7965fc /devel | |
parent | 357e5e355c7928ce8f61fcb8253428baf7c8f8ef (diff) | |
download | pkgsrc-a10a4aae8a911562e23dad3f55b2e5d47224ce0d.tar.gz |
Fix atomic pointer compare and swap return value on sparc64,
fixes PR pkg/28962.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/glib2/distinfo | 3 | ||||
-rw-r--r-- | devel/glib2/patches/patch-ai | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/devel/glib2/distinfo b/devel/glib2/distinfo index f99fe7ceddf..eeaa63f8bdc 100644 --- a/devel/glib2/distinfo +++ b/devel/glib2/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.47 2005/04/15 12:54:38 wiz Exp $ +$NetBSD: distinfo,v 1.48 2005/05/18 10:56:09 martin Exp $ SHA1 (glib-2.6.4.tar.bz2) = f027c00c6c06c5fd13d15ffc754a429a9c6eb171 RMD160 (glib-2.6.4.tar.bz2) = 06fb922317df9024747774db22d4ef164b368c1a @@ -11,3 +11,4 @@ SHA1 (patch-ae) = 09f16e8e14bdea3ee0e478d335f65cb66939e5f5 SHA1 (patch-af) = ee7a8ed0585cdfaf23db01d4d57d98db555c6849 SHA1 (patch-ag) = 3917075e80139e0bd937ee9c2b42745fa6e69747 SHA1 (patch-ah) = e30ef18e474699d2b2cf3e7d1c9f36062fad1c73 +SHA1 (patch-ai) = 960ff87b0ef869df0194839a752941d0bbb1ee9e diff --git a/devel/glib2/patches/patch-ai b/devel/glib2/patches/patch-ai new file mode 100644 index 00000000000..7a12b8e2519 --- /dev/null +++ b/devel/glib2/patches/patch-ai @@ -0,0 +1,13 @@ +$NetBSD: patch-ai,v 1.1 2005/05/18 10:56:09 martin Exp $ + +--- glib/gatomic.c.orig 2005-03-14 06:02:41.000000000 +0100 ++++ glib/gatomic.c 2005-05-18 12:19:34.000000000 +0200 +@@ -121,7 +121,7 @@ + : "=r" (result), "=m" (*a) + : "r" (oldval), "m" (*a), "r" (a), + "0" (newval)); +- return result != 0; ++ return result == oldval; + } + # else /* What's that */ + # error "Your system has an unsupported pointer size" |