summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Beierlein <tomjbe@gentoo.org>2010-05-25 16:52:06 +0000
committerThomas Beierlein <tomjbe@gentoo.org>2010-05-25 16:52:06 +0000
commit7943e80599748698abf441f99338d0187954c514 (patch)
treeacebb78435388ae9c8eba97a918e5bdd281e0df9 /media-radio/xlog/files
parentAdd REE18 support (diff)
downloadgentoo-2-7943e80599748698abf441f99338d0187954c514.tar.gz
gentoo-2-7943e80599748698abf441f99338d0187954c514.tar.bz2
gentoo-2-7943e80599748698abf441f99338d0187954c514.zip
Moved back from sunrise. See bug #174930
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'media-radio/xlog/files')
-rw-r--r--media-radio/xlog/files/xlog-1.9-desktop-update.patch51
-rw-r--r--media-radio/xlog/files/xlog-2.0.1-adif.patch11
-rw-r--r--media-radio/xlog/files/xlog-2.0.2-qsl.patch28
3 files changed, 90 insertions, 0 deletions
diff --git a/media-radio/xlog/files/xlog-1.9-desktop-update.patch b/media-radio/xlog/files/xlog-1.9-desktop-update.patch
new file mode 100644
index 000000000000..ccdb2ddac205
--- /dev/null
+++ b/media-radio/xlog/files/xlog-1.9-desktop-update.patch
@@ -0,0 +1,51 @@
+--- configure.in.orig 2007-11-06 15:49:25.000000000 -0800
++++ configure.in 2007-11-06 15:51:22.000000000 -0800
+@@ -48,6 +48,7 @@
+ AH_TEMPLATE([HAVE_LC_MESSAGES], [])
+ AH_TEMPLATE([HAVE_STPCPY], [])
+
++dnl MIME update
+ AC_ARG_ENABLE(mime-update,
+ [ --enable-mime-update update the mime database],
+ [case "${enableval}" in
+@@ -63,6 +64,21 @@
+ echo "disabled updating of the mime database"
+ fi
+
++dnl Desktop update
++AC_ARG_ENABLE(desktop-update,
++[ --enable-desktop-update update the desktop database],
++[case "${enableval}" in
++ yes) desk_update=true ;;
++ no) desk_update=false ;;
++ *) AC_MSG_ERROR(bad value ${enableval} for --enable-desk-update) ;;
++esac],[desk_update=false])
++AM_CONDITIONAL(DESKUPDATE, test x$desk_update = xtrue)
++
++if test "x${desk_update}" != "xfalse"; then
++ echo "enabled updating of the desktop database"
++else
++ echo "disabled updating of the desktop database"
++fi
+
+ AC_OUTPUT([po/Makefile.in
+ Makefile
+--- data/desktop/Makefile.am.orig 2007-11-06 15:47:51.000000000 -0800
++++ data/desktop/Makefile.am 2007-11-06 15:48:16.000000000 -0800
+@@ -5,12 +5,16 @@
+
+ EXTRA_DIST = $(DESKTOP_FILES)
+
++if DESKUPDATE
+ install-data-hook:
+ if HAVE_DESKTOP
+ $(UPDATE_DESKTOP_DATABASE) "$(DESTDIR)$(datadir)/applications"
+ endif
++endif
+
++if DESKUPDATE
+ uninstall-hook:
+ if HAVE_DESKTOP
+ $(UPDATE_DESKTOP_DATABASE) "$(DESTDIR)$(datadir)/applications"
+ endif
++endif
diff --git a/media-radio/xlog/files/xlog-2.0.1-adif.patch b/media-radio/xlog/files/xlog-2.0.1-adif.patch
new file mode 100644
index 000000000000..fe1769c0ada9
--- /dev/null
+++ b/media-radio/xlog/files/xlog-2.0.1-adif.patch
@@ -0,0 +1,11 @@
+--- src/logfile/adif.c.orig 2009-04-12 16:09:51.000000000 +0200
++++ src/logfile/adif.c 2009-04-12 16:10:05.000000000 +0200
+@@ -383,7 +383,7 @@
+ return "BAND";
+ }
+ case MODE: return "MODE";
+- case POWER: return "TX_POWER";
++ case POWER: return "TX_PWR";
+ case RST: return "RST_SENT";
+ case MYRST: return "RST_RCVD";
+ case QSLOUT: return "QSL_SENT";
diff --git a/media-radio/xlog/files/xlog-2.0.2-qsl.patch b/media-radio/xlog/files/xlog-2.0.2-qsl.patch
new file mode 100644
index 000000000000..f0410184f9fe
--- /dev/null
+++ b/media-radio/xlog/files/xlog-2.0.2-qsl.patch
@@ -0,0 +1,28 @@
+--- src/logfile/adif.c.orig 2009-05-17 13:09:29.000000000 +0200
++++ src/logfile/adif.c 2009-05-17 15:28:32.000000000 +0200
+@@ -449,6 +449,25 @@
+ }
+ }
+
++ /* export all QSL-info's as 'Y' for 'y', 'Y' or 'x',
++ * drop entry for 'n' or 'N' and
++ * as 'V' (invalid) for all other values of nonzero length
++ */
++ else if (fld == QSLOUT || fld == QSLIN)
++ {
++ qfield = q[fld];
++ if (qfield_len == 1 && (qfield[0] == 'Y' || qfield[0] == 'y' || qfield[0] == 'X' || qfield[0] == 'x'))
++ qfield[0] = 'Y';
++ else if (qfield_len == 1 && (qfield[0] == 'N' || qfield[0] == 'n'))
++ continue;
++ else
++ {
++ qfield[0] = 'I';
++ qfield[1] = '\0';
++ qfield_len = 1;
++ }
++ }
++
+ else if (fld == RST || fld == MYRST)
+ {
+ if (mode == MODE_SSB || mode == MODE_AM || mode == MODE_FM)