You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

119 lines
3.6 KiB

Index: bootstrap.conf
--- bootstrap.conf.orig 2015-09-04 16:52:20.000000000 +0200
+++ bootstrap.conf 2018-12-31 10:52:40.358850000 +0100
@@ -28,7 +28,6 @@
# Build prerequisites
buildreq='
- git 1.5.5 http://git-scm.com
perl 5.5 http://perl.com
tar - http://www.gnu.org/s/tar
'
Index: fontforge/cvexport.c
--- fontforge/cvexport.c.orig 2018-12-29 22:57:54.000000000 +0100
+++ fontforge/cvexport.c 2018-12-31 10:52:40.359086000 +0100
@@ -232,7 +232,7 @@
fprintf( pdf, " /CreationDate (D:%04d%02d%02d%02d%02d%02d",
1900+tm->tm_year, tm->tm_mon+1, tm->tm_mday,
tm->tm_hour, tm->tm_min, tm->tm_sec );
-#ifdef _NO_TZSET
+#if 1
fprintf( pdf, "Z)\n" );
#else
tzset();
Index: fontforge/parsettf.c
--- fontforge/parsettf.c.orig 2018-11-13 23:49:40.000000000 +0100
+++ fontforge/parsettf.c 2018-12-31 10:52:40.359769000 +0100
@@ -57,6 +57,8 @@
#include "ttf.h"
#include "scripting.h"
+#define getsid fontforge_getsid
+
char *SaveTablesPref;
int ask_user_for_cmap = false;
Index: fontforge/print.c
--- fontforge/print.c.orig 2018-01-02 10:22:09.000000000 +0100
+++ fontforge/print.c 2018-12-31 10:52:40.360201000 +0100
@@ -1164,7 +1164,7 @@
}
fprintf( pi->out, " /CreationDate (D:%04d%02d%02d%02d%02d%02d",
tm->tm_year+1900, tm->tm_mon+1, tm->tm_mday, tm->tm_hour, tm->tm_min, tm->tm_sec );
-#ifdef _NO_TZSET
+#if 1
fprintf( pi->out, "Z)\n" );
#else
if ( timezone==0 || getenv("SOURCE_DATE_EPOCH") )
Index: fontforge/splinechar.c
--- fontforge/splinechar.c.orig 2018-03-28 09:06:15.000000000 +0200
+++ fontforge/splinechar.c 2018-12-31 10:52:40.360524000 +0100
@@ -264,6 +264,7 @@
if ( sp->next==NULL )
break;
sp = sp->next->to;
+ if (rsp->next != NULL)
rsp = rsp->next->to;
}
}
Index: fontforge/splinesaveafm.c
--- fontforge/splinesaveafm.c.orig 2018-01-02 10:22:09.000000000 +0100
+++ fontforge/splinesaveafm.c 2018-12-31 10:52:40.360910000 +0100
@@ -487,6 +487,7 @@
(*gvbase)->part_cnt = cnt;
(*gvbase)->parts = calloc(cnt,sizeof(struct gv_part));
for ( j=0; j<cnt; ++j ) {
+ if ( bats[j]!=NULL ) {
DBounds b;
bigreal len;
SplineCharFindBounds(bats[j],&b);
@@ -500,6 +501,7 @@
(*gvbase)->parts[j].endConnectorLength = len/4;
(*gvbase)->parts[j].fullAdvance = len;
}
+ }
}
#define BigEndianWord(pt) ((((uint8 *) pt)[0]<<24) | (((uint8 *) pt)[1]<<16) | (((uint8 *) pt)[2]<<8) | (((uint8 *) pt)[3]))
Index: fontforge/ufo.c
--- fontforge/ufo.c.orig 2018-12-29 22:57:54.000000000 +0100
+++ fontforge/ufo.c 2018-12-31 10:55:52.321075000 +0100
@@ -620,6 +620,7 @@
// dict is the Python dictionary from which to extract data.
// target is the xml node to which to add the contents of that dict.
// exclusions is a NULL-terminated array of strings naming keys to exclude.
+#ifndef _NO_PYTHON
PyObject *items, *key, *value;
int i, len;
char *str;
@@ -646,6 +647,7 @@
// "<...>...</...>"
Py_DECREF(item); item = NULL;
}
+#endif
return target;
}
Index: gutils/gnetwork.c
--- gutils/gnetwork.c.orig 2014-12-14 10:17:29.000000000 +0100
+++ gutils/gnetwork.c 2018-12-31 10:52:40.361229000 +0100
@@ -35,6 +35,7 @@
#include <sys/types.h>
#include <sys/stat.h>
+#include <sys/socket.h>
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
Index: inc/gfile.h
--- inc/gfile.h.orig 2015-07-18 10:31:35.000000000 +0200
+++ inc/gfile.h 2018-12-31 10:52:40.361364000 +0100
@@ -30,6 +30,8 @@
/* For mode_t */
#include <sys/types.h>
+#include <fcntl.h>
+
/* home directories for fontforge */
enum { Cache, Config, Data };