]> git.pld-linux.org Git - packages/libcdio.git/commitdiff
- build fixes.
authorPaweł Sikora <pluto@pld-linux.org>
Sun, 6 Feb 2005 18:53:53 +0000 (18:53 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libcdio-gcc4.patch -> 1.1

libcdio-gcc4.patch [new file with mode: 0644]

diff --git a/libcdio-gcc4.patch b/libcdio-gcc4.patch
new file mode 100644 (file)
index 0000000..b17baad
--- /dev/null
@@ -0,0 +1,45 @@
+GCC-4 fix:
+
+*.c:*:     error: static declaration of 'gl_default_cdio_log_handler' follows non-static declaration
+util.h:99: error: previous declaration of 'gl_default_cdio_log_handler' was here
+
+ cd-drive.c |    2 --
+ cd-info.c  |    1 -
+ iso-info.c |    2 --
+ 3 files changed, 5 deletions(-)
+
+diff -uNr libcdio-0.72/src.orig/cd-drive.c libcdio-0.72/src/cd-drive.c
+--- libcdio-0.72/src.orig/cd-drive.c   2005-01-22 23:21:36.000000000 +0100
++++ libcdio-0.72/src/cd-drive.c        2005-02-06 18:09:16.897350256 +0100
+@@ -131,8 +131,6 @@
+ /* CDIO logging routines */
+-static cdio_log_handler_t gl_default_cdio_log_handler = NULL;
+-
+ static void 
+ _log_handler (cdio_log_level_t level, const char message[])
+ {
+diff -uNr libcdio-0.72/src.orig/cd-info.c libcdio-0.72/src/cd-info.c
+--- libcdio-0.72/src.orig/cd-info.c    2005-01-27 04:10:06.000000000 +0100
++++ libcdio-0.72/src/cd-info.c 2005-02-06 18:09:58.466030856 +0100
+@@ -369,7 +369,6 @@
+ /* CDIO logging routines */
+-static cdio_log_handler_t gl_default_cdio_log_handler = NULL;
+ #ifdef HAVE_CDDB
+ static cddb_log_handler_t gl_default_cddb_log_handler = NULL;
+ #endif
+diff -uNr libcdio-0.72/src.orig/iso-info.c libcdio-0.72/src/iso-info.c
+--- libcdio-0.72/src.orig/iso-info.c   2005-01-22 23:21:36.000000000 +0100
++++ libcdio-0.72/src/iso-info.c        2005-02-06 18:10:09.677326480 +0100
+@@ -145,8 +145,6 @@
+ /* CDIO logging routines */
+-static cdio_log_handler_t gl_default_cdio_log_handler = NULL;
+-
+ static void 
+ _log_handler (cdio_log_level_t level, const char message[])
+ {
This page took 0.114915 seconds and 4 git commands to generate.