ports/128087: [PATCH] graphics/gd: add support russian font

Alexander Kriventsov akriventsov at masterhost.ru
Tue Oct 14 08:20:01 UTC 2008


>Number:         128087
>Category:       ports
>Synopsis:       [PATCH] graphics/gd: add support russian font
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 14 08:20:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Kriventsov
>Release:        7.0-20080601-RELENG_7_0
>Organization:
.masterhost
>Environment:
FreeBSD masterhost.ru 7.0-20080601-RELENG_7_0 FreeBSD 7.0-20080601-RELENG_7_0 #0: Sun Jun  1 22:41:16 UTC 2008     root at aleph.mgmt.vega.ru:/usr/obj/usr/src/sys/GENERICDEBUG  amd64

>Description:
graphics/gd: add support russian font
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -r -u -B -N gd.orig/Makefile gd/Makefile
--- gd.orig/Makefile	2008-07-25 12:23:56.000000000 +0000
+++ gd/Makefile	2008-10-14 08:12:08.224985638 +0000
@@ -7,11 +7,13 @@
 
 PORTNAME=	gd
 PORTVERSION=	2.0.35
-PORTREVISION?=	0
+PORTREVISION?=	1
 PORTEPOCH=	1
 CATEGORIES+=	graphics
 MASTER_SITES=	http://www.libgd.org/releases/
 MASTER_SITE_SUBDIR=	graphics/gd
+PATCH_SITES=	http://patches.masterhost.ru/%SUBDIR%/
+PATCH_SITE_SUBDIR=	ports/gd/patches
 PKGNAMESUFFIX?=	${NOX11_SUFFIX}${PKGNAMESUFFIX2}
 
 MAINTAINER?=	dinoex at FreeBSD.org
@@ -35,7 +37,8 @@
 OPTIONS=	X11 "X11 support" off \
 		XPM "XPM color bitmap loading support (requires X11)" off \
 		FONTCONFIG "fontconfig library support (requires X11)" off \
-		ICONV "iconv support" off
+		ICONV "iconv support" off \
+		RFON "Russian font support" off
 
 .include <bsd.port.pre.mk>
 
@@ -59,6 +62,10 @@
 
 .endif
 
+.if defined(WITH_RFON)
+PATCHFILES+=	${PORTNAME}-patch-gdfontg.c
+.endif
+
 .if defined(WITH_ICONV)
 USE_ICONV=	yes
 CPPFLAGS+=	-DHAVE_ICONV -DHAVE_ICONV_H -DHAVE_ICONV_T_DEF
diff -r -u -B -N gd.orig/distinfo gd/distinfo
--- gd.orig/distinfo	2007-06-26 18:51:00.000000000 +0000
+++ gd/distinfo	2008-10-14 08:09:33.572359676 +0000
@@ -1,3 +1,6 @@
 MD5 (gd-2.0.35.tar.bz2) = 6c6c3dbb7bf079e0bb5fbbfd3bb8a71c
 SHA256 (gd-2.0.35.tar.bz2) = bf222490749d2a9a9ac3593b01eb55aed98461ff81202414707f61b42aa300f9
 SIZE (gd-2.0.35.tar.bz2) = 1212730
+MD5 (gd-patch-gdfontg.c) = 09bd1213e7c3c847d45e4a55413105b4
+SHA256 (gd-patch-gdfontg.c) = f6f3afb22de24f0c9caa75cfa35fef3f7b2db0fac2e5c1d7b72fd0d05f5e7547
+SIZE (gd-patch-gdfontg.c) = 705007


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list