summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2015-08-04 07:58:55 +0000
committerLars Wendler <polynomial-c@gentoo.org>2015-08-04 07:58:55 +0000
commit888981c2bea7c06cee11f7f9d29b054aea35d698 (patch)
tree727b2252dbd7ba273be566a985b6acec68fbefd4 /media-sound/gmorgan/files
parentremove old (diff)
downloadgentoo-2-888981c2bea7c06cee11f7f9d29b054aea35d698.tar.gz
gentoo-2-888981c2bea7c06cee11f7f9d29b054aea35d698.tar.bz2
gentoo-2-888981c2bea7c06cee11f7f9d29b054aea35d698.zip
Version bump. Removed old
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 981CA6FC)
Diffstat (limited to 'media-sound/gmorgan/files')
-rw-r--r--media-sound/gmorgan/files/gmorgan-0.70-cxxflags.patch11
-rw-r--r--media-sound/gmorgan/files/gmorgan-amd64.patch102
2 files changed, 11 insertions, 102 deletions
diff --git a/media-sound/gmorgan/files/gmorgan-0.70-cxxflags.patch b/media-sound/gmorgan/files/gmorgan-0.70-cxxflags.patch
new file mode 100644
index 000000000000..61225fc07c29
--- /dev/null
+++ b/media-sound/gmorgan/files/gmorgan-0.70-cxxflags.patch
@@ -0,0 +1,11 @@
+--- gmorgan-0.70/configure.in
++++ gmorgan-0.70/configure.in
+@@ -15,7 +15,7 @@
+ AC_CHECK_FUNCS([bzero memset select strdup])
+ AM_GNU_GETTEXT([external])
+ LIBS="`fltk-config --use-images --ldflags` -lasound"
+-CXXFLAGS=" `fltk-config --use-images --cxxflags`"
++CXXFLAGS="${CXXFLAGS} `fltk-config --use-images --cxxflags`"
+ AC_CHECK_HEADERS([unistd.h])
+ AC_CHECK_HEADER(alsa/asoundlib.h, true, AC_MSG_ERROR([Alsa is required]))
+ AC_PATH_PROG(FLTK_CONFIG, fltk-config, no)
diff --git a/media-sound/gmorgan/files/gmorgan-amd64.patch b/media-sound/gmorgan/files/gmorgan-amd64.patch
deleted file mode 100644
index 86b80e836c6f..000000000000
--- a/media-sound/gmorgan/files/gmorgan-amd64.patch
+++ /dev/null
@@ -1,102 +0,0 @@
---- gmorgan-0.23/src/GMORGAN.cxx.old 2006-11-07 14:01:15.000000000 +0100
-+++ gmorgan-0.23/src/GMORGAN.cxx 2006-11-07 18:14:56.000000000 +0100
-@@ -29997,7 +29997,7 @@
- }
-
- inline void GMORGAN::a_ver_i(Fl_Slider* o, void*) {
-- int kd = (int) o->user_data();
-+ long kd = (long) o->user_data();
- int kv = (int) o->value();
- veloplus[kd] = kv;
- }
-@@ -30540,7 +30540,7 @@
- }
-
- inline void GMORGAN::song_call_i(Fl_Input* o, void*) {
-- int kd = (int) o->user_data();
-+ long kd = (long) o->user_data();
-
- if (kd <= 128) strcpy(S[kd].ch1,(char *) o->value());
- if ((kd > 128) && (kd <=256)) strcpy(S[kd-128].ch2,(char *) o->value());
-@@ -30555,7 +30555,7 @@
- }
-
- inline void GMORGAN::song_call1_i(Fl_Value_Input* o, void*) {
-- int kd = (int) o->user_data();
-+ long kd = (long) o->user_data();
- if ((kd > 896) && (kd <=1024)) S[kd-896].times = (int) o->value();
- if ((kd > 1024) && (kd <=1152)) S[kd-1024].pattern = (int) o->value();
- if ((kd > 1792) && (kd <=1920)) S[kd-1792].atimes = (int) o->value();
-@@ -30567,7 +30567,7 @@
-
- inline void GMORGAN::song_call2_i(Fl_Button* o, void*) {
- int i;
--int kd = (int) o->user_data();
-+long kd = (long) o->user_data();
- if ((kd > 256) && (kd <=384))
- {
- for(i=1; i<=128; i++)
-@@ -30868,7 +30868,7 @@
- inline void GMORGAN::dr_call1_i(Fl_Value_Input* o, void*) {
- int i,j;
-
--int kd = (int) o->user_data();
-+long kd = (long) o->user_data();
- int kv = (int) o->value();
- i = kd / 130;
- j = kd % 130;
-@@ -30881,7 +30881,7 @@
-
- inline void GMORGAN::dr_call2_i(Fl_Output* o, void*) {
- lastcasdr = sde + 10000;
--int kd = (int) o->user_data();
-+long kd = (long) o->user_data();
- if (kd != lastcasdr) cambiacasdr = 1;
- o->cursor_color(FL_WHITE);
- o->color(FL_WHITE);
-@@ -31873,7 +31873,7 @@
- inline void GMORGAN::ctrl_call1_i(Fl_Value_Input* o, void*) {
- int i,j;
-
--int kd = (int) o->user_data();
-+long kd = (long) o->user_data();
- int kv = (int) o->value();
- i = kd / 130;
- j = kd % 130;
-@@ -31886,7 +31886,7 @@
-
- inline void GMORGAN::ctrl_call2_i(Fl_Output* o, void*) {
- lastcascr = sdec + 10000;
--int kd = (int) o->user_data();
-+long kd = (long) o->user_data();
- if (kd != lastcascr) cambiacascr=1;
- sdec = kd-10000;
- o->color(FL_WHITE);
-@@ -32956,11 +32956,11 @@
-
- void GMORGAN::PonColores(int usdata) {
- int i;
--int ladata;
-+long ladata;
- for(i=0; i<61; i++)
-
- {
--ladata = (int) Scroll1->child(i)->user_data();
-+ladata = (long) Scroll1->child(i)->user_data();
- if ( ladata == usdata)
- {
- Scroll1->child(i)->color(59);
-@@ -32972,11 +32972,11 @@
-
- void GMORGAN::PonColores2(int usdata) {
- int i;
--int ladata;
-+long ladata;
- for(i=0; i<32; i++)
-
- {
--ladata = (int) CScroll1->child(i)->user_data();
-+ladata = (long) CScroll1->child(i)->user_data();
- if ( ladata == usdata)
- {
- CScroll1->child(i)->color(59);