- fix patches

This commit is contained in:
jasper 2010-01-11 15:49:25 +00:00
parent e210b8f07a
commit 01f2b094a8
4 changed files with 14 additions and 37 deletions

View File

@ -1,14 +1,14 @@
$OpenBSD: patch-src_lib_eet_lib_c,v 1.1.1.1 2007/11/30 16:04:39 dlg Exp $
--- src/lib/eet_lib.c.orig Mon Nov 12 11:14:04 2007
+++ src/lib/eet_lib.c Mon Nov 12 11:15:11 2007
@@ -497,6 +497,10 @@ eet_open(const char *file, Eet_File_Mode mode)
else
return NULL;
$OpenBSD: patch-src_lib_eet_lib_c,v 1.2 2010/01/11 15:49:25 jasper Exp $
--- src/lib/eet_lib.c.orig Sun Apr 19 16:12:47 2009
+++ src/lib/eet_lib.c Mon Jan 11 16:23:44 2010
@@ -1349,6 +1349,10 @@ eet_open(const char *file, Eet_File_Mode mode)
on_error:
if (fp == NULL && mode == EET_FILE_MODE_READ) return NULL;
}
+ else if (file_stat.st_size == 0)
+ {
+ return NULL;
+ }
/* We found one */
if (ef && (file_stat.st_mtime != ef->mtime))
else
{
int fd;

View File

@ -1,14 +1,14 @@
$OpenBSD: patch-configure,v 1.1 2010/01/11 15:04:49 jasper Exp $
--- configure.orig Mon Jun 15 06:39:54 2009
+++ configure Fri Jul 24 18:14:21 2009
$OpenBSD: patch-configure,v 1.2 2010/01/11 15:49:25 jasper Exp $
--- configure.orig Mon Jan 11 16:27:05 2010
+++ configure Mon Jan 11 16:27:31 2010
@@ -1962,8 +1962,8 @@ cat <<_ASUNAME
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
+##uname -r = `(uname -r) 2>/dev/null || echo unknown`
+##uname -s = `(uname -s) 2>/dev/null || echo unknown`
+#uname -r = `(uname -r) 2>/dev/null || echo unknown`
+#uname -s = `(uname -s) 2>/dev/null || echo unknown`
uname -v = `(uname -v) 2>/dev/null || echo unknown`
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-configure_in,v 1.1 2007/12/06 19:47:08 bernd Exp $
--- configure.in.orig Wed Dec 5 22:13:29 2007
+++ configure.in Wed Dec 5 22:13:42 2007
@@ -31,7 +31,7 @@ AC_SUBST(version_info)
AC_FUNC_ALLOCA
-MODULE_ARCH="$host_os-$host_cpu"
+MODULE_ARCH=""
AC_SUBST(MODULE_ARCH)
AC_DEFINE_UNQUOTED(MODULE_ARCH, "$MODULE_ARCH", "Module architecture")

View File

@ -1,11 +0,0 @@
$OpenBSD: patch-src_lib_include_evas_common_h,v 1.1 2007/12/07 09:49:58 mbalmer Exp $
--- src/lib/include/evas_common.h.orig Fri Dec 7 10:34:46 2007
+++ src/lib/include/evas_common.h Fri Dec 7 10:34:59 2007
@@ -46,6 +46,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
+#include <stdint.h>
#include <string.h>
#include <signal.h>
#include <setjmp.h>