Update of /cvsroot/fink/experimental/dmacks/finkinfo/gnome
In directory vz-cvs-3.sog:/tmp/cvs-serv3385
Modified Files:
glib2-shlibs.info glib2-shlibs.patch
Log Message:
Upstream fix for a failing test
Index: glib2-shlibs.info
===================================================================
RCS file: /cvsroot/fink/experimental/dmacks/finkinfo/gnome/glib2-shlibs.info,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- glib2-shlibs.info 19 Nov 2012 05:31:00 -0000 1.12
+++ glib2-shlibs.info 21 Nov 2012 04:51:26 -0000 1.13
@@ -35,7 +35,7 @@
Source: mirror:gnome:sources/glib/2.34/glib-%v.tar.xz
Source-MD5: a8a6be30781952e5ab2651c79da69a90
PatchFile: %n.patch
-PatchFile-MD5: 030360b40fac5501001d0162bb683a83
+PatchFile-MD5: 5dc0968fee355978c3406d01dac9a1dc
PatchScript: <<
sed 's,@PREFIX@,%p,g' < %{PatchFile} | patch -p1
perl -pi -e 's,/usr/share/gtk-doc/html,%p/share/gtk-doc/html,g'
docs/reference/*/html/*.html
@@ -202,9 +202,7 @@
Using upstream patch: 42be40a1f88a55ff7d333e94ac2119d2b1867e9a
But it is still broken.
- Fix test env so apple's weird /usr/bin/libtool doesn't fool
- tests/run-assert-msg-test.sh. But gdb test still fails
- (run-assert-msg-test.sh) See:
+ Fix libtool/gdb usage in a test. See:
https://bugzilla.gnome.org/show_bug.cgi?id=684723
Fix compiling of reading of avail bytes on a socket, but still
Index: glib2-shlibs.patch
===================================================================
RCS file: /cvsroot/fink/experimental/dmacks/finkinfo/gnome/glib2-shlibs.patch,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- glib2-shlibs.patch 18 Nov 2012 18:18:51 -0000 1.9
+++ glib2-shlibs.patch 21 Nov 2012 04:51:26 -0000 1.10
@@ -381,16 +381,36 @@
+zh_CN.EUC GB2312
+zh_TW UTF-8
+zh_TW.Big5 BIG5
-diff -Nurd -x'*~' glib-2.34.2.orig/tests/Makefile.in
glib-2.34.2/tests/Makefile.in
---- glib-2.34.2.orig/tests/Makefile.in 2012-11-09 22:32:58.000000000 -0500
-+++ glib-2.34.2/tests/Makefile.in 2012-11-17 13:13:41.000000000 -0500
-@@ -702,7 +702,8 @@
- TESTS_ENVIRONMENT = srcdir=$(srcdir) \
- LIBCHARSET_ALIAS_DIR=$(top_builddir)/glib/libcharset \
- MALLOC_CHECK_=2 \
-- MALLOC_PERTURB_=$$(($${RANDOM:-256} % 256))
-+ MALLOC_PERTURB_=$$(($${RANDOM:-256} % 256)) \
-+ PATH=$(top_builddir):$${PATH}}
+diff -Nurd -x'*~' glib-2.34.2.orig/tests/run-assert-msg-test.sh
glib-2.34.2/tests/run-assert-msg-test.sh
+--- glib-2.34.2.orig/tests/run-assert-msg-test.sh 2012-03-11
20:42:43.000000000 -0400
++++ glib-2.34.2/tests/run-assert-msg-test.sh 2012-11-20 11:16:08.000000000
-0500
+@@ -19,6 +19,14 @@
+ error_out=/dev/stderr
+ fi
- progs_ldadd = $(EFENCE) $(libglib) $(EFENCE)
- thread_ldadd = $(libgthread) $(G_THREAD_LIBS) $(progs_ldadd)
++if [ -z "$LIBTOOL" ]; then
++ if [ -f ../libtool ]; then
++ LIBTOOL=../libtool
++ else
++ LIBTOOL=libtool
++ fi
++fi
++
+ echo_v "Running assert-msg-test"
+ OUT=$(./assert-msg-test 2>&1) && fail "assert-msg-test should abort"
+ echo "$OUT" | grep -q '^ERROR:.*assert-msg-test.c:.*:.*main.*: assertion
failed: (42 < 0)' || \
+@@ -29,13 +37,8 @@
+ exit 0
+ fi
+
+-msg_test="assert-msg-test"
+-if [ -e ".libs/lt-$msg_test" ]; then
+- msg_test="lt-$msg_test"
+-fi
+ echo_v "Running gdb on assert-msg-test"
+-OUT=$(libtool --mode=execute gdb --batch --ex run --ex "set print elements 0"
--ex "print (char*) __glib_assert_msg" .libs/$msg_test 2> $error_out) || \
+- fail "failed to run gdb"
++OUT=$((echo run; echo "set print elements 0"; echo "print (char*)
__glib_assert_msg") | $LIBTOOL --mode=execute gdb --batch -x /dev/stdin
assert-msg-test 2> $error_out) || fail "failed to run gdb"
+
+ echo_v "Checking if assert message is in __glib_assert_msg"
+ if ! echo "$OUT" | grep -q '^$1.*"ERROR:.*assert-msg-test.c:.*:.*main.*:
assertion failed: (42 < 0)"'; then
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs