Skip to content

Commit d859414

Browse files
author
Matthias Goerges
committed
LIBGD: Add missing macros from libgd/libgd/f4bc1f5
1 parent c48c278 commit d859414

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

libraries/libgd/flip_macro.patch

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
--- src/gd.h
2+
+++ src/gd.h
3+
@@ -1604,6 +1604,11 @@ BGD_DECLARE(void) gdImageFlipHorizontal(gdImagePtr im);
4+
BGD_DECLARE(void) gdImageFlipVertical(gdImagePtr im);
5+
BGD_DECLARE(void) gdImageFlipBoth(gdImagePtr im);
6+
7+
+#define GD_FLIP_HORINZONTAL 1 /* typo, kept for BC */
8+
+#define GD_FLIP_HORIZONTAL 1
9+
+#define GD_FLIP_VERTICAL 2
10+
+#define GD_FLIP_BOTH 3
11+
+
12+
/**
13+
* Group: Crop
14+
*
15+

0 commit comments

Comments
 (0)