Skip to content

Instantly share code, notes, and snippets.

@JDat
JDat / fix-null.diff
Created December 31, 2018 12:53 — forked from spotlightishere/fix-null.diff
pilot-link patch
diff -Naur pilot-link.orig/src/pilot-read-notepad.c pilot-link-0.12.5/src/pilot-read-notepad.c
--- pilot-link.orig/src/pilot-read-notepad.c 2009-06-04 08:26:19.000000000 -0500
+++ pilot-link-0.12.5/src/pilot-read-notepad.c 2017-05-07 15:12:02.000000000 -0500
@@ -166,8 +166,8 @@
width = n->body.width + 8;
png_ptr = png_create_write_struct
- ( PNG_LIBPNG_VER_STRING, png_voidp_NULL,
- png_error_ptr_NULL, png_error_ptr_NULL);
+ ( PNG_LIBPNG_VER_STRING, NULL,
@JDat
JDat / macos-patch.diff
Created December 31, 2018 12:52 — forked from spotlightishere/macos-patch.diff
Romeo patches
--- romeo-orig/types.h 2001-03-16 19:28:08.000000000 -0600
+++ romeo-0.5.0/types.h 2017-05-07 14:33:18.000000000 -0500
@@ -4,7 +4,7 @@
/********************************************************************
* Elementary data types
********************************************************************/
-#include <endian.h>
+#include <machine/endian.h>
#define CPU_ENDIAN_LITTLE __LITTLE_ENDIAN