diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-11-23 07:07:57 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-11-23 07:07:57 +0000 |
commit | bed152ba1fc2f1316eaefb5c3d24d48195560f76 (patch) | |
tree | 0564fbaf0c7ff23390031d68b741e89a40071333 /dev-tcltk/tix | |
parent | 57c2e006d0af9ab77ced676461d7100cade4a716 (diff) |
gentoo auto-resync : 23:11:2022 - 07:07:57
Diffstat (limited to 'dev-tcltk/tix')
-rw-r--r-- | dev-tcltk/tix/Manifest | 3 | ||||
-rw-r--r-- | dev-tcltk/tix/files/tix-8.4.3-wimplicit-int.patch | 49 | ||||
-rw-r--r-- | dev-tcltk/tix/tix-8.4.3-r2.ebuild | 7 |
3 files changed, 55 insertions, 4 deletions
diff --git a/dev-tcltk/tix/Manifest b/dev-tcltk/tix/Manifest index 7b6b8d48f0a8..ec0cbef9353a 100644 --- a/dev-tcltk/tix/Manifest +++ b/dev-tcltk/tix/Manifest @@ -1,6 +1,7 @@ AUX tix-8.4.3-link.patch 402 BLAKE2B 229737acefdcea3f424ab0e961cbd6561b981b061c8e418139ccf4802e8057f198b95a64bc4cac17fc4daa259f925d4b8e831f035a702f2931b80f15d5d67984 SHA512 e220035cc8d71592dfe72e73e1fb92f79f7750b5c8a97d749bdb67aef9488a3684aad7873041ba6054083287c758889cb243d6cac5b83281f738b1392f29a821 AUX tix-8.4.3-tcl8.5.patch 6808 BLAKE2B f7344618960c685302192cfb4420cf1a18a973eb9e8baf9f7815938439d3a463035ee2724339700a75ace4705e7d03761bccf76b4f2b177a38876d945da4d58a SHA512 e3dacb53df3852c195306f9d7220f931592ea3ec606b121ac02e3b4f84684efb9da9cae4e51e4fb3b818d7277860bf72378fe63ae835d9eb3a2b7539aee9f9cd AUX tix-8.4.3-tcl8.6.patch 665 BLAKE2B 188df36874cedc7aade7f04b567dabbfe95c2451fc095d4ece12b1750bc4837c26bb6cb93ad33ee61632cf7d1e5ad82de479030d73b81bf2db7b6b8f8ec1f051 SHA512 3b390b551c6d59d4af695d5c60c8c47c9dc270f97b5e8fd8dab23540c2c0f41b2ef2a43d6dc21249930f294354012718866bcbf773f58c43df7c5e8ee8f22f9e +AUX tix-8.4.3-wimplicit-int.patch 1246 BLAKE2B 8181dc38d064bbbfb20708b6d02ef70b38e97fbc34a08a9985869fc370396470eb944dfbf51652888016088cdb764025e1297a63c8883643b1027dca38a1c930 SHA512 5465d7878beac8fd474e58301b4a5230c8863e2f70412b486abb2bd538614361ba9035fb9ac8f118de2836af7d0aa62f6ef63a10fd7d06204355233c51070365 DIST Tix8.4.3-src.tar.gz 1831503 BLAKE2B ec3a388bd8ce4f2b433defece3cafcd64aa07da9d8f9b1e23dc5c62f2dca0170cae3c5fc2e8df0ceeada7c48a749929ae9138346d8d38b528ba99b52d036f8da SHA512 f13217dad0f52c0b706d2fb8ee0886942db64be0325e5d0d51801dbf9a92a7919c743c1445b76dbfa98815817685205e238e2d63f9366a8745ace1e1e9a01852 -EBUILD tix-8.4.3-r2.ebuild 1384 BLAKE2B d8735911038a3aabad2fa0fd6994f2627310b09b3cf390c7242a5a29fc0b2aba5c1ac6644fed809f8f21f57dc9278d1b69e74b9225d27a5727f90e8188543205 SHA512 15391cb0c6802b3e4d64221eb4479d9dd9726539862af17910cac82659f86fad855a3d2d13debd169ab4a1f65f145164823c80be2e2b7d40276f85bc14010d19 +EBUILD tix-8.4.3-r2.ebuild 1423 BLAKE2B e083ffe09cbf5e9cd85acab6699dae40d21bd7c75836cbcc0ebdb03b11892191a11236da9bdcf89f3751fd218247e743ddc3815d216e17ffde5a41ad6b6d2d8f SHA512 207c5859455bb1aade5b66c3be22982d03a5a7b06aa1a390e085b9ccfb0c47b50f06ce5581d22edac5335e93022298a3e4f1d6b231964fc42abecbbce398e223 MISC metadata.xml 327 BLAKE2B dd176eab1909873ba46ff7cb9b18031de4d7728f71427fc7fbbabbe988fda69020904f1d504b0f4cec968ae5de36fd893db5a20e3d5127eadf34ed629bc376d6 SHA512 d4289ef32294e0bdaa4d2111cfaf38e781808af2af0a9781993db085e1f4fdd7d84f7d975fd4f47d2c23aee63792ff01ce036588afdce4e695e0f883b2fe26bb diff --git a/dev-tcltk/tix/files/tix-8.4.3-wimplicit-int.patch b/dev-tcltk/tix/files/tix-8.4.3-wimplicit-int.patch new file mode 100644 index 000000000000..b97d55c05a77 --- /dev/null +++ b/dev-tcltk/tix/files/tix-8.4.3-wimplicit-int.patch @@ -0,0 +1,49 @@ +https://sourceforge.net/p/tix/bugs/112/ + +Avoid implicit int declarations, a feature removed from C language with C99. + +--- a/generic/tixDiImg.c ++++ b/generic/tixDiImg.c +@@ -352,6 +352,8 @@ Tix_ImageItemDisplay(drawable, iPtr, x, y, width, height, xOffset, yOffset, + int y; + int width; + int height; ++ int xOffset; ++ int yOffset; + int flags; + { + TixImageItem *itPtr = (TixImageItem *)iPtr; +--- a/generic/tixDiWin.c ++++ b/generic/tixDiWin.c +@@ -458,6 +458,8 @@ Tix_WindowItemDisplay(drawable, iPtr, x, y, width, height, xOffset, yOffset, + int y; + int width; + int height; ++ int xOffset; ++ int yOffset; + int flags; + { + TixWindowItem *itPtr = (TixWindowItem *)iPtr; +--- a/generic/tixForm.c ++++ b/generic/tixForm.c +@@ -150,7 +150,7 @@ static Tcl_HashTable masterInfoHashTable; + /* + * Have static variables in this module been initialized? + */ +-static initialized = 0; ++static int initialized = 0; + + static int ReqSize(tkwin, axis) + Tk_Window tkwin; +--- a/unix/tixUnixMwm.c ++++ b/unix/tixUnixMwm.c +@@ -768,7 +768,7 @@ GetMwmInfo(interp, tkwin) + Tcl_Interp * interp; + Tk_Window tkwin; + { +- static inited = 0; ++ static int inited = 0; + Tcl_HashEntry *hashPtr; + int isNew; + + diff --git a/dev-tcltk/tix/tix-8.4.3-r2.ebuild b/dev-tcltk/tix/tix-8.4.3-r2.ebuild index e5534f6912ab..52e0231aaf70 100644 --- a/dev-tcltk/tix/tix-8.4.3-r2.ebuild +++ b/dev-tcltk/tix/tix-8.4.3-r2.ebuild @@ -11,14 +11,14 @@ SRC_URI="mirror://sourceforge/tix/${MY_P}-src.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" - RESTRICT="test" DEPEND=" - dev-lang/tk:0= + dev-lang/tk:= x11-libs/libX11 x11-libs/libXau - x11-libs/libXdmcp" + x11-libs/libXdmcp +" RDEPEND="${DEPEND}" S="${WORKDIR}/${MY_P}" @@ -26,6 +26,7 @@ S="${WORKDIR}/${MY_P}" PATCHES=( "${FILESDIR}"/${P}-tcl8.5.patch "${FILESDIR}"/${P}-tcl8.6.patch + "${FILESDIR}"/${P}-wimplicit-int.patch ) src_prepare() { |