summaryrefslogtreecommitdiff
path: root/media-libs/libgii
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-11-14 03:02:32 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-11-14 03:02:32 +0000
commitd3c7d3e5f9607edef1a795ccc502ab3eb3121165 (patch)
treed36ccc4ef4aa53927a8cd66bc5d3ab06fe1bdd24 /media-libs/libgii
parent4dc2f97ed84159736ecfb5dea5485e83b27810d1 (diff)
gentoo auto-resync : 14:11:2024 - 03:02:32
Diffstat (limited to 'media-libs/libgii')
-rw-r--r--media-libs/libgii/Manifest3
-rw-r--r--media-libs/libgii/files/libgii-1.0.2-Wformat-security.patch28
-rw-r--r--media-libs/libgii/libgii-1.0.2-r4.ebuild (renamed from media-libs/libgii/libgii-1.0.2-r3.ebuild)10
3 files changed, 37 insertions, 4 deletions
diff --git a/media-libs/libgii/Manifest b/media-libs/libgii/Manifest
index 165a339047db..00f5d18b9490 100644
--- a/media-libs/libgii/Manifest
+++ b/media-libs/libgii/Manifest
@@ -1,6 +1,7 @@
AUX libgii-0.9.0-linux26-headers.patch 422 BLAKE2B 630d1c98cc2e9b5424dbc41d2453eb1e8780ef46c217a38e4907f37c70dea859952114458d74299255b034ba3ca184b4105a850e1ec0ee1fd4229788fea4ebc1 SHA512 3686d3f33c3b40b24a5258d8bec158eae32ee86a14e98a05dfdff918c1c64f5264c87cb7072f4faa943e5630b2e5969fcc6acb2d9245c0f74e3b7194061f9a3a
+AUX libgii-1.0.2-Wformat-security.patch 735 BLAKE2B 0f5c90052bae92dc3855cdd7106583cbd71fb1d6e70b09daf42c6b8d89794dbd2e8b1037141dd11bd5ec5d64741295630c33b6728569fafe59a8b838b17b242c SHA512 3e21388b08034be03100083611b8548b927fef8155c1d5f6109c5b7e4636cdefd158fc112117dad3312b60fe2e9cf5a58d8b8d7f9c89efc126292572986dc500
AUX libgii-1.0.2-configure-cpuid-pic.patch 451 BLAKE2B 2a19985eda7c5cafaf40d68b20338193996d18cfaa11639e31ea2c38c3e4eda5808c8efbbb39b46dd9ad2570adabf0195b287c9307a603c2e5497e6f5dfb1074 SHA512 94aa2b1996ac7ccc1275853c72bda6a0f050c79010354d87dd551484c8bf3fb8eaa2cbc6b13620cb317bddc9da938c3106af71e2f0da70f9b62db7e27c404743
AUX libgii-1.0.2-libtool_1.5_compat.patch 468 BLAKE2B 32d18ef7cfa6e14be36e8eeccf321a988990b3f48caa422ec07988dd8cde0d4c5c1ae7233700c696e45933b56f7555a1b00efd1062be1f4f5d73074b1695cea7 SHA512 c7c2d3cd91ba91cdc60778f5d599f2ee428c3b41a213193f733c4fe86b8e2a778009f8816d6314ad7519e5732065cf51016441306bb05f7ba669ef4000769312
DIST libgii-1.0.2.src.tar.bz2 701099 BLAKE2B 29e23c4f0b0045e05dac855bba10d03e5b38cc3b2fdd494892c52954b4c4bbd990148aff98540bef73048ae26bab79db3369e7731707bfa4eab2b39d256681ad SHA512 d45b236e08bb8c6a7a7741ae694650dfc5681712a174f923c9132c41acb388d0d6dbc5589104a7a6bc73c98088f2b5967ee726d83c1f3e913602661c8d30bf07
-EBUILD libgii-1.0.2-r3.ebuild 1071 BLAKE2B 3a5a6bc714718ca05278eb7e25b003d46bac71c9c35de1944741f7dddee23df9630610127e6bd8fae43976ddede871a163f5aca84cfffbf78cc5f2ecd54ff53b SHA512 79330bc5c1aa02c90914632e18220124da804f1add14e88d19de85df3aefb57f2c607a64708e4833ea6c4001e240b27e286a413d2e8dfb796faf6b4f80256ccf
+EBUILD libgii-1.0.2-r4.ebuild 1118 BLAKE2B 15b4c48852f53115da91a9f9ee4233da5370864fe26d8875563edc348136d012baf5c6974669eac9ae507f3169a28b81e2113574c36aa990d25533d96ee26214 SHA512 94defe58a41d750fe99e72d5109989be4ddf9f50df70af8905f1410eedf75ebed49cc103ee7c21fd28b1d5fad7faca66f5dcddfe432f75159e36f299f48975e2
MISC metadata.xml 297 BLAKE2B 5224c162fdbab9d408c0b908e21f3b910c078888b850127f6c0ac140f1db19de89677b89465d56efe0d336e9f3bba8ffb0167d228c2daaba8c05c819e8788c35 SHA512 1d1d5cf70a0dddfb1f131cb9253cb13dbed3995a801485ca0a4e7194ef128e50cd70e42113d4d2c0d3b73b09d520ef5e3fd2b41fd2dd078a42c6c17f1f6976f8
diff --git a/media-libs/libgii/files/libgii-1.0.2-Wformat-security.patch b/media-libs/libgii/files/libgii-1.0.2-Wformat-security.patch
new file mode 100644
index 000000000000..5fab014afb06
--- /dev/null
+++ b/media-libs/libgii/files/libgii-1.0.2-Wformat-security.patch
@@ -0,0 +1,28 @@
+--- a/input/linux_mouse/input.c
++++ b/input/linux_mouse/input.c
+@@ -251,7 +251,7 @@ static int do_mouse_open(gii_input *inp, char *filename,
+ " device may not work as expected\n");
+ #endif /* HAVE_TIOCMSET */
+ }
+- if (dowarn) fprintf(stderr, serialfailstr);
++ if (dowarn) fprintf(stderr, "%s", serialfailstr);
+ }
+
+ return 0;
+--- a/input/lk201/input.c
++++ b/input/lk201/input.c
+@@ -256,12 +256,12 @@ do_lk201_open(gii_input *inp, const char *filename)
+ }
+ else
+ {
+- fprintf(stderr, tcsetattrfailstr);
++ fprintf(stderr, "%s", tcsetattrfailstr);
+ }
+ }
+ else
+ {
+- fprintf(stderr, tcgetattrfailstr);
++ fprintf(stderr, "%s", tcgetattrfailstr);
+ }
+
+ /* dump and characters currently in the buffer */
diff --git a/media-libs/libgii/libgii-1.0.2-r3.ebuild b/media-libs/libgii/libgii-1.0.2-r4.ebuild
index c73877f9edd8..6fbfcdcd2e1a 100644
--- a/media-libs/libgii/libgii-1.0.2-r3.ebuild
+++ b/media-libs/libgii/libgii-1.0.2-r4.ebuild
@@ -18,14 +18,18 @@ RDEPEND="
X? (
>=x11-libs/libX11-1.6.2
>=x11-libs/libXxf86dga-1.1.4
- )"
-DEPEND="${RDEPEND}
- kernel_linux? ( >=sys-kernel/linux-headers-2.6.11 )"
+ )
+"
+DEPEND="
+ ${RDEPEND}
+ kernel_linux? ( >=sys-kernel/linux-headers-2.6.11 )
+"
PATCHES=(
"${FILESDIR}"/${PN}-0.9.0-linux26-headers.patch
"${FILESDIR}"/${P}-configure-cpuid-pic.patch
"${FILESDIR}"/${P}-libtool_1.5_compat.patch
+ "${FILESDIR}"/${P}-Wformat-security.patch
)
src_prepare() {