push sheeet
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s

This commit is contained in:
Dark Steveneq
2025-10-09 14:15:47 +02:00
commit 646b892680
49168 changed files with 5897842 additions and 0 deletions

View File

@@ -0,0 +1,145 @@
diff --git a/bb.c b/bb.c
index 95850ef..6a7cc78 100644
--- a/bb.c
+++ b/bb.c
@@ -23,6 +23,7 @@
#include <string.h>
#include <stdlib.h>
+#include <time.h>
#include <ctype.h>
#include <aalib.h>
#include "bb.h"
diff --git a/credits.c b/credits.c
index 8514579..b304d8c 100644
--- a/credits.c
+++ b/credits.c
@@ -24,7 +24,6 @@
#include <math.h>
#include <limits.h>
#include <string.h>
-#include <malloc.h>
#include <stdlib.h>
#include "bb.h"
#define STAR 1
diff --git a/credits2.c b/credits2.c
index 65d2431..9dcdf2d 100644
--- a/credits2.c
+++ b/credits2.c
@@ -25,7 +25,6 @@
#include <math.h>
#include <ctype.h>
#include <string.h>
-#include <malloc.h>
#include <stdlib.h>
#include "bb.h"
#define STATE (TIME-starttime)
diff --git a/main.c b/main.c
index ae852a7..c0648b4 100644
--- a/main.c
+++ b/main.c
@@ -21,6 +21,8 @@
* 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <ctype.h>
+#include <string.h>
#include <unistd.h>
#include "timers.h"
#include "bb.h"
diff --git a/messager.c b/messager.c
index 95cc410..5164577 100644
--- a/messager.c
+++ b/messager.c
@@ -22,7 +22,7 @@
*/
#include <string.h>
-#include <malloc.h>
+#include <stdlib.h>
#include "bb.h"
static int cursor_x, cursor_y;
diff --git a/scene5.c b/scene5.c
index 8d3c798..4a79258 100644
--- a/scene5.c
+++ b/scene5.c
@@ -22,7 +22,7 @@
*/
#include <string.h>
-#include <malloc.h>
+#include <stdlib.h>
#include <math.h>
#include "bb.h"
#include "tex.h"
diff --git a/scene8.c b/scene8.c
index 2bcba1e..72ea231 100644
--- a/scene8.c
+++ b/scene8.c
@@ -22,7 +22,7 @@
*/
#include <math.h>
-#include <malloc.h>
+#include <stdlib.h>
#include "bb.h"
#define STATE1 (TIME-starttime1)
#define STATE (time-starttime)
diff --git a/textform.c b/textform.c
index 859d367..eb9d1cb 100644
--- a/textform.c
+++ b/textform.c
@@ -1,6 +1,6 @@
#include <stdio.h>
#include <string.h>
-#include <malloc.h>
+#include <stdlib.h>
#include <aalib.h>
#include "bb.h"
#define MAXLINES 10000
diff --git a/timers.c b/timers.c
index ac822f7..6342c1b 100644
--- a/timers.c
+++ b/timers.c
@@ -45,12 +45,9 @@
#include <time.h>
#endif
/*HAVE_TIME_H*/
-#include <malloc.h>
+#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
-#ifndef _MAC
-#include <malloc.h>
-#endif
#ifdef __BEOS__
#include <OS.h>
#endif
diff --git a/uncompfn.c b/uncompfn.c
index d8eaaea..bc707f8 100644
--- a/uncompfn.c
+++ b/uncompfn.c
@@ -21,7 +21,7 @@
* 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#include <malloc.h>
+#include <stdlib.h>
#include <aalib.h>
#include "bb.h"
diff --git a/zoom.c b/zoom.c
index 7450095..4b37b2d 100644
--- a/zoom.c
+++ b/zoom.c
@@ -31,9 +31,6 @@
#else
#include <stdlib.h>
#include <stdio.h>
-#ifndef _MAC
-#include <malloc.h>
-#endif
#ifdef __DJGPP__
#include "aconfig.dos"
#else

View File

@@ -0,0 +1,51 @@
{
stdenv,
lib,
fetchurl,
autoreconfHook,
aalib,
ncurses,
xorg,
libmikmod,
}:
stdenv.mkDerivation rec {
pname = "bb";
version = "1.3rc1";
src = fetchurl {
url = "mirror://sourceforge/aa-project/bb/${version}/${pname}-${version}.tar.gz";
sha256 = "1i411glxh7g4pfg4gw826lpwngi89yrbmxac8jmnsfvrfb48hgbr";
};
patches = [
# add / update include files to get function prototypes
./included-files-updates.diff
];
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [
aalib
ncurses
libmikmod
xorg.libXau
xorg.libXdmcp
xorg.libX11
];
# regparm attribute is not supported by clang
postPatch = lib.optionalString stdenv.cc.isClang ''
substituteInPlace config.h \
--replace-fail "__attribute__ ((regparm(n)))" ""
'';
meta = with lib; {
homepage = "http://aa-project.sourceforge.net/bb";
description = "AA-lib demo";
license = licenses.gpl2Plus;
maintainers = [ maintainers.rnhmjoj ];
platforms = platforms.unix;
mainProgram = "bb";
};
}

View File

@@ -0,0 +1,31 @@
{
lib,
stdenv,
fetchurl,
autoreconfHook,
}:
stdenv.mkDerivation rec {
pname = "bbe";
version = "0.2.2";
src = fetchurl {
url = "mirror://sourceforge/bbe-/${version}/bbe-${version}.tar.gz";
sha256 = "1nyxdqi4425sffjrylh7gl57lrssyk4018afb7mvrnd6fmbszbms";
};
nativeBuildInputs = [ autoreconfHook ];
outputs = [
"out"
"doc"
];
meta = with lib; {
description = "Sed-like editor for binary files";
homepage = "https://bbe-.sourceforge.net/";
license = licenses.gpl2Plus;
platforms = platforms.all;
maintainers = [ maintainers.hhm ];
mainProgram = "bbe";
};
}

View File

@@ -0,0 +1,55 @@
{
lib,
stdenvNoCC,
fetchFromGitHub,
gitUpdater,
makeWrapper,
babashka-unwrapped,
}:
stdenvNoCC.mkDerivation rec {
pname = "bbin";
version = "0.2.4";
src = fetchFromGitHub {
owner = "babashka";
repo = "bbin";
rev = "v${version}";
sha256 = "sha256-26uZqHSLi+qnilyPWt/2mCr1wyu1flxNd+jq9zbumrg=";
};
nativeBuildInputs = [ makeWrapper ];
dontConfigure = true;
dontBuild = true;
installPhase = ''
runHook preInstall
install -D bbin $out/bin/bbin
mkdir -p $out/share
cp -r docs $out/share/docs
wrapProgram $out/bin/bbin \
--prefix PATH : "${
lib.makeBinPath [
babashka-unwrapped
babashka-unwrapped.graalvmDrv
]
}"
runHook postInstall
'';
passthru = {
updateScript = gitUpdater { rev-prefix = "v"; };
};
meta = with lib; {
homepage = "https://github.com/babashka/bbin";
description = "Install any Babashka script or project with one command";
mainProgram = "bbin";
license = licenses.mit;
inherit (babashka-unwrapped.meta) platforms;
maintainers = with maintainers; [ sohalt ];
};
}