add new packages bleachbit,eboard,gnuchess,gnuchess-book.gweled,pogo

This commit is contained in:
groni
2016-12-04 21:56:13 +01:00
parent b8476830d9
commit 742bedc8ac
32 changed files with 2113 additions and 42 deletions
@@ -0,0 +1,22 @@
--- configure.old 2009-02-03 14:46:21.000000000 +0100
+++ configure 2009-02-03 14:48:13.000000000 +0100
@@ -638,7 +638,7 @@
print CONFIGMAKE "CXX = $cxx\n";
print CONFIGMAKE "CXXFLAGS = @cxxflags\n";
-print CONFIGMAKE "LDFLAGS = @ldflags\n";
+print CONFIGMAKE "LDLIBS = @ldflags\n";
print CONFIGMAKE "prefix = \${DESTDIR}$prefix\n";
print CONFIGMAKE "bindir = \${DESTDIR}$prefix/bin\n";
--- elifekam.old 2009-02-03 14:48:43.000000000 +0100
+++ elifekam 2009-02-03 14:48:58.000000000 +0100
@@ -24,7 +24,7 @@
all: eboard nls-dicts
eboard: $(OBJS)
- $(CXX) $(LDFLAGS) -o eboard $(OBJS)
+ $(CXX) $(LDFLAGS) -o eboard $(OBJS) $(LDLIBS)
.cc.o: $< $(HEADERS) $(XPMS)
$(CXX) $(CXXFLAGS) -c $< -o $@
@@ -0,0 +1,11 @@
--- ntext.cc
+++ ntext.cc
@@ -244,7 +244,7 @@
return;
}
- p = strchr(text, '\n');
+ p = strchr((char *)text, '\n');
if (p!=NULL) {
*p = 0;
i = strlen(text);
@@ -0,0 +1,16 @@
--- cimg.cc
+++ cimg.cc
@@ -94,11 +95,11 @@
ct == PNG_COLOR_TYPE_GRAY_ALPHA)
png_set_gray_to_rgb(pngp);
- alloc(pngp->width,pngp->height);
+ alloc(width,height);
if (!ok) { fclose(f); return; }
ok = 0;
- for(i=0;i<pngp->height;i++) {
+ for(i=0;i<height;i++) {
png_read_row(pngp, (png_bytep) (&data[i*rowlen]), NULL);
}
@@ -0,0 +1,22 @@
--- proto_xboard.cc.old 2010-11-03 16:42:15.000000000 +0100
+++ proto_xboard.cc 2010-11-03 16:43:14.000000000 +0100
@@ -1084,7 +1084,7 @@
snprintf(EngineCommandLine,512,"crafty bookpath=%s logpath=%s tbpath=%s",
BookPath,LogPath,LogPath);
if (!global.env.Home.empty())
- snprintf(EngineRunDir,512,"%s/.eboard/craftylog",global.env.Home.c_str());
+ snprintf(EngineRunDir, sizeof(EngineRunDir), "%s/.eboard/craftylog", global.env.Home.c_str());
else
strcpy(EngineRunDir,"/tmp");
--- util.cc.old 2010-11-03 16:42:24.000000000 +0100
+++ util.cc 2010-11-03 16:43:42.000000000 +0100
@@ -783,7 +783,7 @@
int i,n;
char cmd[1024];
- n = snprintf(tmpfile,1024,"/tmp/eb%d-%s",(int) getpid(), origfile);
+ n = snprintf(tmpfile, sizeof(tmpfile), "/tmp/eb%d-%s", (int) getpid(), origfile);
if (n >= 1024) {
failure = 1;
+12
View File
@@ -0,0 +1,12 @@
[Desktop Entry]
Encoding=UTF-8
Name=eboard
Comment="Chess Game"
Comment[tr]="Satranç Oyunu"
GenericName=Chess Game
GenericName[tr]=Satranç Oyunu
Exec=eboard
Icon=icon-eboard
Terminal=false
Type=Application
Categories=Game;BoardGame;