packages: libvisual/libvisual.spec, libvisual/libvisual-NULL.patch (NEW) - ...

qboosh qboosh at pld-linux.org
Thu Dec 29 13:04:21 CET 2011


Author: qboosh                       Date: Thu Dec 29 12:04:21 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- added NULL patch (include <stdlib.h> instead of redefining NULL; the latter broke C++ compilation
- changed URL to working one (on sf.net)
- release 7

---- Files affected:
packages/libvisual:
   libvisual.spec (1.27 -> 1.28) , libvisual-NULL.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/libvisual/libvisual.spec
diff -u packages/libvisual/libvisual.spec:1.27 packages/libvisual/libvisual.spec:1.28
--- packages/libvisual/libvisual.spec:1.27	Sun Jul 24 21:03:34 2011
+++ packages/libvisual/libvisual.spec	Thu Dec 29 13:04:15 2011
@@ -3,13 +3,16 @@
 Summary(pl.UTF-8):	Abstrakcyjna biblioteka pomiędzy aplikacjami a wtyczkami wizualizacji audio
 Name:		libvisual
 Version:	0.4.0
-Release:	6
+Release:	7
 License:	LGPL v2.1+
 Group:		Libraries
 Source0:	http://downloads.sourceforge.net/libvisual/%{name}-%{version}.tar.bz2
 # Source0-md5:	d0f987abd0845e725743605fd39ef73f
-URL:		http://localhost.nl/~synap/libvisual/
 Patch0:		%{name}-link.patch
+Patch1:		%{name}-NULL.patch
+# original URL is defunct; use sf
+#URL:		http://localhost.nl/~synap/libvisual/
+URL:		http://libvisual.sourceforge.net/
 BuildRequires:	autoconf >= 2.57
 BuildRequires:	automake >= 1:1.7
 BuildRequires:	gettext-devel >= 0.14.1
@@ -54,6 +57,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 mv -f po/{es_ES,es}.po
 # es_AR is a copy of es
@@ -112,6 +116,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.28  2011/12/29 12:04:15  qboosh
+- added NULL patch (include <stdlib.h> instead of redefining NULL; the latter broke C++ compilation
+- changed URL to working one (on sf.net)
+- release 7
+
 Revision 1.27  2011/07/24 19:03:34  qboosh
 - full ac/am/lt/gt rebuild to kill .la poisoning with builder home
 - proper License tag (LGPL v2.1+; only examples and tests are GPLed)

================================================================
Index: packages/libvisual/libvisual-NULL.patch
diff -u /dev/null packages/libvisual/libvisual-NULL.patch:1.1
--- /dev/null	Thu Dec 29 13:04:21 2011
+++ packages/libvisual/libvisual-NULL.patch	Thu Dec 29 13:04:15 2011
@@ -0,0 +1,28 @@
+--- libvisual-0.4.0/libvisual/lv_defines.h.orig	2006-01-22 14:23:37.000000000 +0100
++++ libvisual-0.4.0/libvisual/lv_defines.h	2011-12-29 08:07:41.950191623 +0100
+@@ -24,6 +24,9 @@
+ #ifndef _LV_DEFINES_H
+ #define _LV_DEFINES_H
+ 
++/* get NULL definition */
++#include <stdlib.h>
++
+ #ifdef __cplusplus
+ # define VISUAL_C_LINKAGE extern "C"
+ #else
+@@ -38,15 +41,6 @@
+ # define VISUAL_END_DECLS
+ #endif /* __cplusplus */
+ 
+-#ifdef NULL
+-#undef NULL
+-#endif
+-
+-/**
+- * NULL define.
+- */
+-#define NULL	((void *) 0)
+-
+ #ifndef FALSE
+ /**
+  * FALSE define.
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libvisual/libvisual.spec?r1=1.27&r2=1.28&f=u



More information about the pld-cvs-commit mailing list