pkgsrc/graphics/gd/patches/patch-aa
adam 677a0b604f Changes 2.1.0:
* gdColorMapLookup() answers the RGB values according to given color map
* Added support of variable resolution
* new filter gdImagePixelate()
* merged improvements that PHP GD team had made to GD Graphics Library
* bugfixes
2013-09-02 21:17:42 +00:00

25 lines
537 B
Text

$NetBSD: patch-aa,v 1.19 2013/09/02 21:17:42 adam Exp $
--- src/entities.h.orig 2013-06-25 09:58:23.000000000 +0000
+++ src/entities.h
@@ -14,7 +14,11 @@ extern "C" {
static struct entities_s {
char *name;
int value;
- } entities[] = {
+ };
+ extern struct entities_s entities[];
+
+#if 0
+struct entities_s entities[] = {
{"AElig", 198},
{"Aacute", 193},
{"Acirc", 194},
@@ -268,6 +272,7 @@ extern "C" {
{"zwj", 8205},
{"zwnj", 8204},
};
+#endif
#define ENTITY_NAME_LENGTH_MAX 8
#define NR_OF_ENTITIES 252