summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg>2014-08-19 13:45:48 +0000
committerjoerg <joerg>2014-08-19 13:45:48 +0000
commitcb3b52fc00d42c786bb6881314121bbff5083f90 (patch)
treeb54ea3ffada9b21ec9e68a4421caf4a102a8ac2c
parentbf8e49f4056d060d7cde8ce0494a113f34a2cbe7 (diff)
downloadpkgsrc-cb3b52fc00d42c786bb6881314121bbff5083f90.tar.gz
Don't test char16/char32 support as it isn't used.
-rw-r--r--x11/c++-gtk-utils/distinfo4
-rw-r--r--x11/c++-gtk-utils/patches/patch-tests_test__fdstream.cpp36
-rw-r--r--x11/c++-gtk-utils/patches/patch-tests_test__gstream.cpp36
3 files changed, 75 insertions, 1 deletions
diff --git a/x11/c++-gtk-utils/distinfo b/x11/c++-gtk-utils/distinfo
index eab4a6dac8f..cefe81c6671 100644
--- a/x11/c++-gtk-utils/distinfo
+++ b/x11/c++-gtk-utils/distinfo
@@ -1,6 +1,8 @@
-$NetBSD: distinfo,v 1.2 2014/07/19 06:49:27 ryoon Exp $
+$NetBSD: distinfo,v 1.3 2014/08/19 13:45:48 joerg Exp $
SHA1 (c++-gtk-utils-2.2.8.tar.gz) = be937d47b8d565fb55cc14c096b1e36f1d52c6f7
RMD160 (c++-gtk-utils-2.2.8.tar.gz) = b9a149f68364bbd922ac354e1b3905115bbb2804
Size (c++-gtk-utils-2.2.8.tar.gz) = 2604121 bytes
SHA1 (patch-c++-gtk-utils_Makefile.in) = 48dcf35c63a7397ad83329ab4c841482d38a99b8
+SHA1 (patch-tests_test__fdstream.cpp) = 2735a0ab4646e14719ec9fb2c96c8bd1f31b7f7d
+SHA1 (patch-tests_test__gstream.cpp) = 0977bdfdb96b9b6ba42eefa67e17933fcd662f3b
diff --git a/x11/c++-gtk-utils/patches/patch-tests_test__fdstream.cpp b/x11/c++-gtk-utils/patches/patch-tests_test__fdstream.cpp
new file mode 100644
index 00000000000..3905bd7c5be
--- /dev/null
+++ b/x11/c++-gtk-utils/patches/patch-tests_test__fdstream.cpp
@@ -0,0 +1,36 @@
+$NetBSD: patch-tests_test__fdstream.cpp,v 1.1 2014/08/19 13:45:48 joerg Exp $
+
+Don't test char16 / char32 support as it isn't used by the package.
+
+--- tests/test_fdstream.cpp.orig 2014-08-18 21:02:31.000000000 +0000
++++ tests/test_fdstream.cpp
+@@ -171,7 +171,7 @@ static void test_fdstream_wide_copy() {
+ }
+
+ static void test_fdstream_u16_copy() {
+-
++#if 0
+ unlink(U16_COPY_FILENAME "1");
+ unlink(U16_COPY_FILENAME "2");
+
+@@ -224,10 +224,11 @@ static void test_fdstream_u16_copy() {
+
+ unlink(U16_COPY_FILENAME "1");
+ unlink(U16_COPY_FILENAME "2");
++#endif
+ }
+
+ static void test_fdstream_u32_copy() {
+-
++#if 0
+ unlink(U32_COPY_FILENAME "1");
+ unlink(U32_COPY_FILENAME "2");
+
+@@ -280,6 +281,7 @@ static void test_fdstream_u32_copy() {
+
+ unlink(U32_COPY_FILENAME "1");
+ unlink(U32_COPY_FILENAME "2");
++#endif
+ }
+
+ static void test_fdstream_random() {
diff --git a/x11/c++-gtk-utils/patches/patch-tests_test__gstream.cpp b/x11/c++-gtk-utils/patches/patch-tests_test__gstream.cpp
new file mode 100644
index 00000000000..83eef9589bd
--- /dev/null
+++ b/x11/c++-gtk-utils/patches/patch-tests_test__gstream.cpp
@@ -0,0 +1,36 @@
+$NetBSD: patch-tests_test__gstream.cpp,v 1.1 2014/08/19 13:45:48 joerg Exp $
+
+Don't test char16 / char32 support as it isn't used by the package.
+
+--- tests/test_gstream.cpp.orig 2014-08-18 21:08:50.000000000 +0000
++++ tests/test_gstream.cpp
+@@ -195,7 +195,7 @@ static void test_gstream_wide_copy() {
+ }
+
+ static void test_gstream_u16_copy() {
+-
++#if 0
+ unlink(U16_COPY_FILENAME "1");
+ unlink(U16_COPY_FILENAME "2");
+
+@@ -260,10 +260,11 @@ static void test_gstream_u16_copy() {
+
+ unlink(U16_COPY_FILENAME "1");
+ unlink(U16_COPY_FILENAME "2");
++#endif
+ }
+
+ static void test_gstream_u32_copy() {
+-
++#if 0
+ unlink(U32_COPY_FILENAME "1");
+ unlink(U32_COPY_FILENAME "2");
+
+@@ -328,6 +329,7 @@ static void test_gstream_u32_copy() {
+
+ unlink(U32_COPY_FILENAME "1");
+ unlink(U32_COPY_FILENAME "2");
++#endif
+ }
+
+ static void test_gstream_convert() {