Sha256: 5698c837ca62daeed230b4be6cd66e6970e2de4dea46275eea4a677d6dbbcf82

Contents?: true

Size: 1.47 KB

Versions: 6

Compression:

Stored size: 1.47 KB

Contents

diff -uarNp /tmp/figlet-2.2.5/Makefile Makefile
--- /tmp/figlet-2.2.5/Makefile  2012-06-01 07:20:17.000000000 -0500
+++ Makefile    2015-05-28 14:23:16.000000000 -0500
@@ -18,18 +18,12 @@
 # for changing this is if sh is not in the same place.
 SHELL = /bin/sh

-# The C compiler and linker to use
-CC     = gcc
-CFLAGS = -g -O2 -Wall
-LD     = gcc
-LDFLAGS =
-
 # Feature flags:
 #   define TLF_FONTS to use TOIlet TLF fonts
 XCFLAGS        = -DTLF_FONTS

 # Where to install files
-prefix = /usr/local
+prefix ?= /usr/local

 # Where the executables should be put
 BINDIR = $(prefix)/bin
diff -uarNp /tmp/figlet-2.2.5/figlet.c figlet.c
--- /tmp/figlet-2.2.5/figlet.c  2012-06-01 07:20:17.000000000 -0500
+++ figlet.c    2015-05-28 13:47:04.000000000 -0500
@@ -703,7 +703,7 @@ char *suffix;
   int namelen;

   namelen = MYSTRLEN(fontdirname);
-  fontpath = (char*)alloca(sizeof(char)*
+  fontpath = (char*)malloc(sizeof(char)*
     (namelen+MYSTRLEN(name)+MYSTRLEN(suffix)+2));
   fontfile = NULL;
   if (!hasdirsep(name)) {  /* not a full path name */
diff -uarNp /tmp/figlet-2.2.5/utf8.h utf8.h
--- /tmp/figlet-2.2.5/utf8.h    2012-06-01 07:20:17.000000000 -0500
+++ utf8.h      2015-05-28 13:47:04.000000000 -0500
@@ -13,7 +13,8 @@
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
-
+   # define __BEGIN_DECLS
+   # define __END_DECLS
 /*
  * utf8: implementation of UTF-8 charset encoding (RFC3629).
  */

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
omnibus-software-23.7.295 config/patches/figlet/aix-figlet-cdefs.patch
omnibus-software-23.6.292 config/patches/figlet/aix-figlet-cdefs.patch
omnibus-software-23.6.291 config/patches/figlet/aix-figlet-cdefs.patch
omnibus-software-23.2.283 config/patches/figlet/aix-figlet-cdefs.patch
omnibus-software-23.2.281 config/patches/figlet/aix-figlet-cdefs.patch
omnibus-software-22.11.239 config/patches/figlet/aix-figlet-cdefs.patch