Browse Source

Stefan Fiedler:


			
			
				rocklinux
			
			
		
Stefan Fiedler 19 years ago
parent
commit
4c6a071667
4 changed files with 5 additions and 77 deletions
  1. +0
    -36
      package/jimmy/motor/gcc34.patch
  2. +3
    -0
      package/jimmy/motor/motor.conf
  3. +2
    -2
      package/jimmy/motor/motor.desc
  4. +0
    -39
      package/jimmy/motor/no-deprecated.patch

+ 0
- 36
package/jimmy/motor/gcc34.patch

@ -1,36 +0,0 @@
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# Please add additional copyright information _after_ the line containing
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
#
# ROCK Linux: rock-src/package/jimmy/motor/gcc34.patch
# ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
#
# --- ROCK-COPYRIGHT-NOTE-END ---
An ugly patch for an ugly lvalue cast - for gcc-3.4.
- Rene Rebe <rene@exactcode.de>
--- ./src/ui/ncurses/uitagbrowser.cc.vanilla 2004-07-05 14:13:59.000000000 +0200
+++ ./src/ui/ncurses/uitagbrowser.cc 2004-07-05 14:08:51.000000000 +0200
@@ -78,7 +78,8 @@
cm.setwindow(textwindow(w.x1, w.y1, w.x1+20, 0, uiconf.getcolor(cp_menufr)));
for(motortagbrowser::viewscope scope = motortagbrowser::File;
- scope != motortagbrowser::viewscope_size; (int) scope += 1) {
+ scope != motortagbrowser::viewscope_size;
+ scope = (motortagbrowser::viewscope) ((int)scope + 1) ) {
cm.additem(0, scope, (string) " " + getscopename(scope));
if(scope == tagbrowser.getscope())
cm.setpos(cm.getcount()-1);

+ 3
- 0
package/jimmy/motor/motor.conf

@ -28,3 +28,6 @@ motor_postmake() {
postmake=motor_postmake postmake=motor_postmake
# the following is needed to link against a static ncurses library
# that dynamically links to libgpm
var_append configprefix " " "LDFLAGS=\"\$LDFLAGS -ldl\""

+ 2
- 2
package/jimmy/motor/motor.desc

@ -38,10 +38,10 @@
[L] GPL [L] GPL
[S] Stable [S] Stable
[V] 3.3.0
[V] 3.4.0
[P] X -?---5---9 173.200 [P] X -?---5---9 173.200
[CV-URL] http://konst.org.ua/en/motor/ [CV-URL] http://konst.org.ua/en/motor/
[D] 3875962623 motor-3.3.0.tar.bz2 http://konst.org.ua/download/
[D] 2371486038 motor-3.4.0.tar.bz2 http://konst.org.ua/download/

+ 0
- 39
package/jimmy/motor/no-deprecated.patch

@ -1,39 +0,0 @@
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# Please add additional copyright information _after_ the line containing
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
#
# ROCK Linux: rock-src/package/jimmy/motor/no-deprecated.patch
# ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
#
# --- ROCK-COPYRIGHT-NOTE-END ---
--- ./parser/src/parser.c.orig 2004-06-12 13:10:03.228842992 +0300
+++ ./parser/src/parser.c 2004-06-12 13:09:46.551378352 +0300
@@ -313,7 +313,7 @@
buf = mmap(0, *size, PROT_READ, MAP_SHARED, f, 0);
if (buf == MAP_FAILED) buf = NULL;
break;
- default:
+ default: ;
}
}
close(f);
@@ -333,7 +333,7 @@
// munmap
munmap(text, size);
break;
- default:
+ default: ;
}
}

Loading…
Cancel
Save