[csw-devel] SF.net SVN: gar:[7431] csw/mgar/pkg/libschroedinger/trunk
dmichelsen at users.sourceforge.net
dmichelsen at users.sourceforge.net
Wed Nov 25 14:19:07 CET 2009
Revision: 7431
http://gar.svn.sourceforge.net/gar/?rev=7431&view=rev
Author: dmichelsen
Date: 2009-11-25 13:19:07 +0000 (Wed, 25 Nov 2009)
Log Message:
-----------
libschroedinger: Add patch
Modified Paths:
--------------
csw/mgar/pkg/libschroedinger/trunk/Makefile
csw/mgar/pkg/libschroedinger/trunk/checksums
Added Paths:
-----------
csw/mgar/pkg/libschroedinger/trunk/files/0001-Avoid-using-FUNCTION-and-stdint.h.patch
Modified: csw/mgar/pkg/libschroedinger/trunk/Makefile
===================================================================
--- csw/mgar/pkg/libschroedinger/trunk/Makefile 2009-11-25 12:03:53 UTC (rev 7430)
+++ csw/mgar/pkg/libschroedinger/trunk/Makefile 2009-11-25 13:19:07 UTC (rev 7431)
@@ -14,12 +14,17 @@
MASTER_SITES = http://diracvideo.org/download/schroedinger/
DISTNAME = schroedinger-$(GARVERSION)
DISTFILES = $(DISTNAME).tar.gz
+PATCHFILES = 0001-Avoid-using-FUNCTION-and-stdint.h.patch
# We define upstream file regex so we can be notifed of new upstream software release
UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
+REQUIRED_PKGS = CSWliboil
+
BUILD64 = 1
NO_ISAEXEC = 1
CONFIGURE_ARGS = $(DIRPATHS)
+TEST_TARGET = check
+
include gar/category.mk
Modified: csw/mgar/pkg/libschroedinger/trunk/checksums
===================================================================
--- csw/mgar/pkg/libschroedinger/trunk/checksums 2009-11-25 12:03:53 UTC (rev 7430)
+++ csw/mgar/pkg/libschroedinger/trunk/checksums 2009-11-25 13:19:07 UTC (rev 7431)
@@ -0,0 +1,2 @@
+271143050dd2df0b7d6e00e07ddac3fc 0001-Avoid-using-FUNCTION-and-stdint.h.patch
+9a1132c54a58a6a040514f754b53ee44 schroedinger-1.0.7.tar.gz
Added: csw/mgar/pkg/libschroedinger/trunk/files/0001-Avoid-using-FUNCTION-and-stdint.h.patch
===================================================================
--- csw/mgar/pkg/libschroedinger/trunk/files/0001-Avoid-using-FUNCTION-and-stdint.h.patch (rev 0)
+++ csw/mgar/pkg/libschroedinger/trunk/files/0001-Avoid-using-FUNCTION-and-stdint.h.patch 2009-11-25 13:19:07 UTC (rev 7431)
@@ -0,0 +1,39 @@
+From c9016f3e69fcfc75bb3256654c2128f2c56995ec Mon Sep 17 00:00:00 2001
+From: Dagobert Michelsen <dam at opencsw.org>
+Date: Wed, 25 Nov 2009 13:40:09 +0100
+Subject: [PATCH] Avoid using FUNCTION and stdint.h
+
+---
+ schroedinger/schrodebug.h | 2 +-
+ schroedinger/schroutils.h | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/schroedinger/schrodebug.h b/schroedinger/schrodebug.h
+index 5a7edf0..835246e 100644
+--- a/schroedinger/schrodebug.h
++++ b/schroedinger/schrodebug.h
+@@ -50,7 +50,7 @@ typedef void (*SchroDebugLogFunc) (int level, const char *file,
+ SCHRO_DEBUG_LEVEL(SCHRO_LEVEL_LOG, __VA_ARGS__)
+
+ #define SCHRO_DEBUG_LEVEL(level,...) \
+- schro_debug_log ((level), __FILE__, __FUNCTION__, __LINE__, __VA_ARGS__)
++ schro_debug_log ((level), __FILE__, "", __LINE__, __VA_ARGS__)
+
+ #define SCHRO_ASSERT(test) do { \
+ if (!(test)) { \
+diff --git a/schroedinger/schroutils.h b/schroedinger/schroutils.h
+index 17eda4b..4199c58 100644
+--- a/schroedinger/schroutils.h
++++ b/schroedinger/schroutils.h
+@@ -12,7 +12,7 @@ typedef unsigned __int16 uint16_t;
+ typedef unsigned __int32 uint32_t;
+ #endif
+ #else
+-#include <stdint.h>
++#include <inttypes.h>
+ #endif
+
+ #ifndef TRUE
+--
+1.6.5.1
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list