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.
 
 
 
 
 
 

25 lines
636 B

Index: Makefile
--- Makefile.orig 2009-04-30 11:18:46.000000000 +0200
+++ Makefile 2012-01-02 23:11:00.000000000 +0100
@@ -1,5 +1,9 @@
+
+.c.o:
+ $(CXX) $(CXXFLAGS) -c -o $@ $<
+
ttf2eot: OpenTypeUtilities.o ttf2eot.o
- g++ -o $@ $^
+ $(CXX) $(LDFLAGS) -o $@ $^
clean:
rm -f *.o *.core *.obj *.exe core ttf2eot
Index: OpenTypeUtilities.cpp
--- OpenTypeUtilities.cpp.orig 2009-04-30 11:18:46.000000000 +0200
+++ OpenTypeUtilities.cpp 2012-01-02 23:10:01.000000000 +0100
@@ -25,6 +25,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include <cstddef>
#include <string.h>
#include <vector>