- fc-query: remove redundant debug output
+ fontconfig-remove-debug-output.patch OBS-URL: https://build.opensuse.org/package/show/M17N/fontconfig?expand=0&rev=150
This commit is contained in:
parent
2348df2a66
commit
cf71134cd9
23
fontconfig-remove-debug-output.patch
Normal file
23
fontconfig-remove-debug-output.patch
Normal file
@ -0,0 +1,23 @@
|
||||
From b56207a069be2574df455ede0a6ab61f44d5ca2b Mon Sep 17 00:00:00 2001
|
||||
From: Behdad Esfahbod <behdad@behdad.org>
|
||||
Date: Tue, 12 Sep 2017 13:25:46 -0400
|
||||
Subject: [PATCH] Remove stray printf()
|
||||
|
||||
Ouch.
|
||||
---
|
||||
fc-query/fc-query.c | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/fc-query/fc-query.c b/fc-query/fc-query.c
|
||||
index 842a8b6..6cd5abd 100644
|
||||
--- a/fc-query/fc-query.c
|
||||
+++ b/fc-query/fc-query.c
|
||||
@@ -170,7 +170,6 @@ main (int argc, char **argv)
|
||||
FcPattern *pat;
|
||||
|
||||
id = ((instance_num << 16) + face_num);
|
||||
- printf("id %d\n", id);
|
||||
if (FT_New_Face (ftLibrary, argv[i], id, &face))
|
||||
break;
|
||||
num_faces = face->num_faces;
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 15 12:47:39 UTC 2018 - pgajdos@suse.com
|
||||
|
||||
- fc-query: remove redundant debug output
|
||||
+ fontconfig-remove-debug-output.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 8 21:43:21 UTC 2017 - aavindraa@gmail.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package fontconfig
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -26,6 +26,7 @@ Url: http://fontconfig.org/
|
||||
Source0: http://fontconfig.org/release/%{name}-%{version}.tar.bz2
|
||||
Source4: baselibs.conf
|
||||
Source5: local.conf
|
||||
Patch0: fontconfig-remove-debug-output.patch
|
||||
BuildRequires: automake >= 1.11
|
||||
BuildRequires: gperf
|
||||
BuildRequires: libtool
|
||||
@ -65,6 +66,7 @@ accepts font patterns and returns the nearest matching font.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
# use suse-specific doc path:
|
||||
find -name \*.1 -o -name \*.sgml | xargs sed -i -e 's/usr\/share\/doc\/fontconfig/usr\/share\/doc\/packages\/fontconfig/g'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user