Hello community,

here is the log from the commit of package pcmanx-gtk2 for openSUSE:Factory 
checked in at 2012-05-25 16:17:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pcmanx-gtk2 (Old)
 and      /work/SRC/openSUSE:Factory/.pcmanx-gtk2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pcmanx-gtk2", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/pcmanx-gtk2/pcmanx-gtk2.changes  2012-04-02 
10:30:20.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.pcmanx-gtk2.new/pcmanx-gtk2.changes     
2012-05-25 16:17:27.000000000 +0200
@@ -1,0 +2,5 @@
+Thu May 24 00:41:21 UTC 2012 - swy...@gmail.com
+
+- Fix issue about FcFontSort() should no longer use `NULL' as the value of 
`result' 
+
+-------------------------------------------------------------------

New:
----
  pcmanx-gtk2-fcfontsort.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ pcmanx-gtk2.spec ++++++
--- /var/tmp/diff_new_pack.h7zIlJ/_old  2012-05-25 16:17:29.000000000 +0200
+++ /var/tmp/diff_new_pack.h7zIlJ/_new  2012-05-25 16:17:29.000000000 +0200
@@ -18,12 +18,13 @@
 
 Name:           pcmanx-gtk2
 Version:        1.1
-Release:        1
+Release:        0
 Summary:        User-friendly telnet client designed for BBS browsing
 License:        GPL-2.0+
 Group:          Productivity/Networking/Other
 Url:            http://code.google.com/p/pcmanx-gtk2/
 Source:         %{name}-%{version}.tar.xz
+Patch0:         pcmanx-gtk2-fcfontsort.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  gcc-c++
 BuildRequires:  gtk2-devel
@@ -43,6 +44,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure --enable-iplookup --enable-proxy --enable-libnotify \


++++++ pcmanx-gtk2-fcfontsort.patch ++++++
diff --git a/src/core/cfontconfig.cpp b/src/core/cfontconfig.cpp
index 3048666..eb9ab7b 100644
--- a/src/core/cfontconfig.cpp
+++ b/src/core/cfontconfig.cpp
@@ -43,7 +43,8 @@ CFontConfig::CFontConfig(void)
     FcDefaultSubstitute(pattern);
 
     FcFontSet* font_set = FcFontSetCreate();
-    FcFontSet* patterns = FcFontSort(0, pattern, FcTrue, 0, NULL);
+    FcResult result;
+    FcFontSet* patterns = FcFontSort(0, pattern, FcTrue, 0, &result);
 
     for (int i = 0; i < patterns->nfont; i++) {
 
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to