diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2010-04-05 16:41:06 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2010-04-05 16:41:06 +0000 |
commit | b8c939765dfb661a274a47f160183c63de189680 (patch) | |
tree | 66fd86a0e03f107670f40ecdac3833adcdfbeece /app-cdr/cdw/files | |
parent | Version bump (#312559) and clean up. (diff) | |
download | gentoo-2-b8c939765dfb661a274a47f160183c63de189680.tar.gz gentoo-2-b8c939765dfb661a274a47f160183c63de189680.tar.bz2 gentoo-2-b8c939765dfb661a274a47f160183c63de189680.zip |
version bump (bug #313223)
(Portage version: 2.1.7.17/cvs/Linux i686)
Diffstat (limited to 'app-cdr/cdw/files')
-rw-r--r-- | app-cdr/cdw/files/cdw-0.4.0-asneeded.patch | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/app-cdr/cdw/files/cdw-0.4.0-asneeded.patch b/app-cdr/cdw/files/cdw-0.4.0-asneeded.patch new file mode 100644 index 000000000000..e2415a24b6b8 --- /dev/null +++ b/app-cdr/cdw/files/cdw-0.4.0-asneeded.patch @@ -0,0 +1,56 @@ +diff -ru cdw_0.3.95.orig/cdw/src/Makefile.am cdw_0.3.95/cdw/src/Makefile.am +--- cdw_0.3.95.orig/cdw/src/Makefile.am 2010-01-17 10:29:33.000000000 -0500 ++++ cdw_0.3.95/cdw/src/Makefile.am 2010-01-20 15:48:25.134474953 -0500 +@@ -1,7 +1,6 @@ + # remove '#' in the line below to supress debug messages printed to stderr + AM_CPPFLAGS = -DNDEBUG + +- + # _FILE_OFFSET_BITS=64 - large file support (>2GB on 32-bit systems); + # this is unnecessary on 64-bit systems, but I had to add this + # after doing some basic tests on i386 machine; see sourceforge +@@ -13,7 +12,6 @@ + # be unable to operate on large files + AM_CDW_CPPFLAGS = -D _FILE_OFFSET_BITS=64 + +- + # using C99 standard + gnu extensions; I don't use c99, because + # it may trigger problems caused by asm/byteorder.h, which is incuded + # by linux/cdrom.h header, which in turn is included by cdw_drive.h +@@ -27,16 +25,11 @@ + # strings like that: strcmp(some_string, "some string"); + AM_CFLAGS_CDW_UNREACHABLE = -Wunreachable-code + +- +- + AM_CFLAGS_CDW_RELEASE_BUILD = $(AM_CFLAGS_CDW_STD) -O2 $(AM_CDW_CPPFLAGS) + AM_CFLAGS_CDW_DEBUG_BUILD = $(AM_CFLAGS_CDW_STD) -g -O0 $(AM_CFLAGS_CDW_OTHER) $(AM_CFLAGS_CDW_FORMAT) $(AM_CFLAGS_CDW_DEBUG) $(AM_CFLAGS_CDW_PEDANTRY) $(AM_CFLAGS_CDW_UNREACHABLE) $(AM_CDW_CPPFLAGS) + + AM_CFLAGS = $(AM_CFLAGS_CDW_RELEASE_BUILD) + +-AM_LDFLAGS = -lmenuw -lformw -lpanelw -lncursesw -lpthread -lcdio +- +- + # this lists the binaries to produce + bin_PROGRAMS = cdw + noinst_PROGRAMS = cdw_tests +@@ -64,9 +57,11 @@ + + # this should include all source files except *_tests.c + cdw_SOURCES = $(cdw_base_sources) $(cdw_base_main) ++cdw_LDADD = -lmenuw -lformw -lpanelw -lncursesw -lpthread -lcdio -lm + + # this should include all source files except main.c + cdw_tests_SOURCES = $(cdw_base_sources) $(cdw_test_sources) $(cdw_test_main) ++cdw_tests_LDADD = -lmenuw -lformw -lpanelw -lncursesw -lpthread -lcdio -lm + + # all header files + noinst_HEADERS = blank_wizard.h cdda2wav.h cddb.h cdrecord_interface.h \ +@@ -84,7 +79,6 @@ + cdw_fs_tests.h cdw_config_ui_internals.h pipe_regexp_tests.h cdw_dll.h \ + cdw_dll_tests.h cdw_list_display.h cdw_file.h cdw_ncurses.h cdw_fs_browser.h + +- + # used by flymake + check-syntax: + $(CC) $(AM_CPPFLAGS) $(AM_CFLAGS) -fsyntax-only $(CHK_SOURCES) |