summaryrefslogtreecommitdiff
path: root/gnustep-base/mknfonts/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /gnustep-base/mknfonts/files
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'gnustep-base/mknfonts/files')
-rw-r--r--gnustep-base/mknfonts/files/mknfonts-0.5-pkgconfig.patch14
-rw-r--r--gnustep-base/mknfonts/files/mknfonts-rename.patch15
2 files changed, 29 insertions, 0 deletions
diff --git a/gnustep-base/mknfonts/files/mknfonts-0.5-pkgconfig.patch b/gnustep-base/mknfonts/files/mknfonts-0.5-pkgconfig.patch
new file mode 100644
index 000000000000..e73bac5c1ddf
--- /dev/null
+++ b/gnustep-base/mknfonts/files/mknfonts-0.5-pkgconfig.patch
@@ -0,0 +1,14 @@
+diff -Naur mknfonts-0.5.orig/GNUmakefile mknfonts-0.5/GNUmakefile
+--- mknfonts-0.5.orig/GNUmakefile 2002-09-28 12:27:26.000000000 +0200
++++ mknfonts-0.5/GNUmakefile 2018-06-29 11:27:01.871588321 +0200
+@@ -9,8 +9,8 @@
+
+ ADDITIONAL_OBJCFLAGS += -Wall -O2
+
+-ADDITIONAL_INCLUDE_DIRS += `freetype-config --cflags`
+-ADDITIONAL_LDFLAGS += `freetype-config --libs`
++ADDITIONAL_INCLUDE_DIRS += `pkg-config --cflags freetype2`
++ADDITIONAL_LDFLAGS += `pkg-config --libs freetype2`
+
+ mknfonts_OBJC_FILES = mknfonts.m
+
diff --git a/gnustep-base/mknfonts/files/mknfonts-rename.patch b/gnustep-base/mknfonts/files/mknfonts-rename.patch
new file mode 100644
index 000000000000..e62618b7844c
--- /dev/null
+++ b/gnustep-base/mknfonts/files/mknfonts-rename.patch
@@ -0,0 +1,15 @@
+--- mknfonts-0.5/mknfonts.m.orig 2007-05-03 11:46:27.000000000 +0200
++++ mknfonts-0.5/mknfonts.m 2007-05-03 11:47:34.000000000 +0200
+@@ -310,12 +310,6 @@
+ {
+ fi=[faceinfos objectAtIndex: i];
+ [faces addObject: [fi faceInfoDictionary]];
+- for (j=0;j<[fi->files count];j++)
+- {
+- [fm movePath: [fi->files objectAtIndex: j]
+- toPath: [path stringByAppendingPathComponent: [[fi->files objectAtIndex: j] lastPathComponent]]
+- handler: nil];
+- }
+ }
+
+ [family_info