public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: games-puzzle/icebreaker/files/
@ 2016-01-10 20:52 Alfredo Tupone
  0 siblings, 0 replies; 2+ messages in thread
From: Alfredo Tupone @ 2016-01-10 20:52 UTC (permalink / raw
  To: gentoo-commits

commit:     9952b9d179ac3b9ecd511773e3f564d2c80119b2
Author:     Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 10 20:51:52 2016 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Jan 10 20:52:23 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9952b9d1

games-puzzle/icebreaker: Fix format-security. Bug #537226

Package-Manager: portage-2.2.26

 games-puzzle/icebreaker/files/icebreaker-1.9.6-ovfl.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-puzzle/icebreaker/files/icebreaker-1.9.6-ovfl.patch b/games-puzzle/icebreaker/files/icebreaker-1.9.6-ovfl.patch
index 5a59b04..03050be 100644
--- a/games-puzzle/icebreaker/files/icebreaker-1.9.6-ovfl.patch
+++ b/games-puzzle/icebreaker/files/icebreaker-1.9.6-ovfl.patch
@@ -14,7 +14,7 @@
  				if (t<0) t=themecount;
  				strncpy(val,themelist[(t-1)%themecount],MAXMENUVALUELENGTH);
 -				snprintf(options.theme,MAXMENUVALUELENGTH,themelist[(t-1)%themecount]);
-+				snprintf(options.theme,MAXTHEMENAMELENGTH,themelist[(t-1)%themecount]);
++				snprintf(options.theme,MAXTHEMENAMELENGTH,"%s",themelist[(t-1)%themecount]);
  			}
  			
  			settheme(options.theme);


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-puzzle/icebreaker/files/
@ 2024-06-15 10:14 James Le Cuirot
  0 siblings, 0 replies; 2+ messages in thread
From: James Le Cuirot @ 2024-06-15 10:14 UTC (permalink / raw
  To: gentoo-commits

commit:     d97fe59eb78fc27056d52f3c8d2609ea3ce09bb1
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 15 10:13:44 2024 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sat Jun 15 10:13:44 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d97fe59e

games-puzzle/icebreaker: Silence rpm not found errors with patch

Closes: https://bugs.gentoo.org/934180
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 .../icebreaker-2.2.2_p20231115-makefile.patch      | 32 ++++++++++++++++++++--
 1 file changed, 30 insertions(+), 2 deletions(-)

diff --git a/games-puzzle/icebreaker/files/icebreaker-2.2.2_p20231115-makefile.patch b/games-puzzle/icebreaker/files/icebreaker-2.2.2_p20231115-makefile.patch
index 4fec6a700f3d..7d2bd50cb6f0 100644
--- a/games-puzzle/icebreaker/files/icebreaker-2.2.2_p20231115-makefile.patch
+++ b/games-puzzle/icebreaker/files/icebreaker-2.2.2_p20231115-makefile.patch
@@ -1,7 +1,7 @@
 From a5950b94d56f6e35c3dca2e1ad2ff334aacaa070 Mon Sep 17 00:00:00 2001
 From: James Le Cuirot <chewi@gentoo.org>
 Date: Wed, 12 Jun 2024 22:50:15 +0100
-Subject: [PATCH 1/2] Don't include -Werror in CFLAGS
+Subject: [PATCH 1/3] Don't include -Werror in CFLAGS
 
 Distributions don't like -Werror because it prevents end users from
 building the software using newer compilers that may raise warnings you
@@ -45,7 +45,7 @@ index 92f60c5..17dd71a 100644
 From 6ee6046bf1f9893a3c4bfd239871b3296c90b047 Mon Sep 17 00:00:00 2001
 From: James Le Cuirot <chewi@gentoo.org>
 Date: Wed, 12 Jun 2024 22:54:52 +0100
-Subject: [PATCH 2/2] Include LDFLAGS earlier in the linking command
+Subject: [PATCH 2/3] Include LDFLAGS earlier in the linking command
 
 Some flags need to come before the inputs in order to be effective.
 ---
@@ -68,3 +68,31 @@ index 808b36b..45a7035 100644
 -- 
 2.45.1
 
+
+From 40b865e7776962d45e082fed4904b4c2690b753f Mon Sep 17 00:00:00 2001
+From: James Le Cuirot <chewi@gentoo.org>
+Date: Sat, 15 Jun 2024 11:09:45 +0100
+Subject: [PATCH 3/3] Silence error when rpm command doesn't exist and add
+ fallback
+
+The error can trigger QA warnings in non-RPM distros.
+---
+ Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile b/Makefile
+index 45a7035..5a497ce 100644
+--- a/Makefile
++++ b/Makefile
+@@ -43,7 +43,7 @@ MAKENSIS=makensis
+ WINDLLS=SDL.dll SDL_mixer.dll libgcc_s_dw2-1.dll libvorbisfile-3.dll libvorbis-0.dll libogg-0.dll libssp-0.dll libwinpthread-1.dll
+ export WINARCH
+ 
+-RPMARCH := $(shell  rpm --eval %{_arch} )
++RPMARCH := $(shell rpm --eval %{_arch} 2>/dev/null || echo none)
+ RPMOPTS=
+ RPMCRAZYDEFINES := --define "_topdir %(pwd)/rpmbuild" --define "_sourcedir %(pwd)" --define "_specdir %(pwd)"  --define "_tmppath %(pwd)/rpmbuild/tmp/"  --define "_builddir %(pwd)/rpmbuild/build/" --define "_rpmdir %(pwd)" --define "_srcrpmdir %(pwd)" --define "_rpmfilename %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm"
+ 
+-- 
+2.45.1
+


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-06-15 10:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-10 20:52 [gentoo-commits] repo/gentoo:master commit in: games-puzzle/icebreaker/files/ Alfredo Tupone
  -- strict thread matches above, loose matches on Subject: below --
2024-06-15 10:14 James Le Cuirot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox