* [gentoo-commits] repo/proj/guru:master commit in: sci-chemistry/xcrysden/, sci-chemistry/xcrysden/files/
@ 2022-09-12 14:21 Florian Schmaus
0 siblings, 0 replies; 3+ messages in thread
From: Florian Schmaus @ 2022-09-12 14:21 UTC (permalink / raw
To: gentoo-commits
commit: c6a2a87c15be29578d3ce20dc49f0e324b797782
Author: Patrick J Taylor <patrick.joseph.taylor <AT> gmail <DOT> com>
AuthorDate: Sat Sep 10 20:18:37 2022 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sat Sep 10 20:19:04 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c6a2a87c
sci-chemistry/xcrysden: rename patches to match established convention
Signed-off-by: Patrick J Taylor <patrick.joseph.taylor <AT> gmail.com>
.../{xcrysden-1.6.2-Togl_lib.patch => xcrysden-1.6.2-Togl-lib.patch} | 0
...n-1.6.2-wrapper_paths.patch => xcrysden-1.6.2-wrapper-paths.patch} | 0
sci-chemistry/xcrysden/xcrysden-1.6.2.ebuild | 4 ++--
3 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sci-chemistry/xcrysden/files/xcrysden-1.6.2-Togl_lib.patch b/sci-chemistry/xcrysden/files/xcrysden-1.6.2-Togl-lib.patch
similarity index 100%
rename from sci-chemistry/xcrysden/files/xcrysden-1.6.2-Togl_lib.patch
rename to sci-chemistry/xcrysden/files/xcrysden-1.6.2-Togl-lib.patch
diff --git a/sci-chemistry/xcrysden/files/xcrysden-1.6.2-wrapper_paths.patch b/sci-chemistry/xcrysden/files/xcrysden-1.6.2-wrapper-paths.patch
similarity index 100%
rename from sci-chemistry/xcrysden/files/xcrysden-1.6.2-wrapper_paths.patch
rename to sci-chemistry/xcrysden/files/xcrysden-1.6.2-wrapper-paths.patch
diff --git a/sci-chemistry/xcrysden/xcrysden-1.6.2.ebuild b/sci-chemistry/xcrysden/xcrysden-1.6.2.ebuild
index b243f1a06..99ad16333 100644
--- a/sci-chemistry/xcrysden/xcrysden-1.6.2.ebuild
+++ b/sci-chemistry/xcrysden/xcrysden-1.6.2.ebuild
@@ -28,8 +28,8 @@ BDEPEND="${RDEPEND}"
PATCHES=(
"${FILESDIR}/${P}-ext-bwidget.patch"
- "${FILESDIR}/${P}-Togl_lib.patch"
- "${FILESDIR}/${P}-wrapper_paths.patch"
+ "${FILESDIR}/${P}-Togl-lib.patch"
+ "${FILESDIR}/${P}-wrapper-paths.patch"
)
src_prepare() {
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: sci-chemistry/xcrysden/, sci-chemistry/xcrysden/files/
@ 2022-09-14 4:20 Ronny Gutbrod
0 siblings, 0 replies; 3+ messages in thread
From: Ronny Gutbrod @ 2022-09-14 4:20 UTC (permalink / raw
To: gentoo-commits
commit: f97bb147c9e7d1ae7a0cafae40ab2d891b970dc8
Author: Patrick J Taylor <patrick.joseph.taylor <AT> gmail <DOT> com>
AuthorDate: Tue Sep 13 18:25:51 2022 +0000
Commit: Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
CommitDate: Tue Sep 13 18:27:24 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f97bb147
sci-chemistry/xcrysden: edit Makefiles to respect LDFLAGS
Closes: https://bugs.gentoo.org/869947
Signed-off-by: Patrick J Taylor <patrick.joseph.taylor <AT> gmail.com>
.../xcrysden/files/xcrysden-1.6.2-LDFLAGS.patch | 171 +++++++++++++++++++++
sci-chemistry/xcrysden/xcrysden-1.6.2.ebuild | 1 +
2 files changed, 172 insertions(+)
diff --git a/sci-chemistry/xcrysden/files/xcrysden-1.6.2-LDFLAGS.patch b/sci-chemistry/xcrysden/files/xcrysden-1.6.2-LDFLAGS.patch
new file mode 100644
index 000000000..1ae39ae5e
--- /dev/null
+++ b/sci-chemistry/xcrysden/files/xcrysden-1.6.2-LDFLAGS.patch
@@ -0,0 +1,171 @@
+diff --git a/C/Makefile b/C/Makefile
+index 2aa0307..452e0f1 100644
+--- a/C/Makefile
++++ b/C/Makefile
+@@ -12,7 +12,7 @@ include make-objects
+
+ .SUFFIXES: .o .c
+ .c.o:
+- $(CC) $(CFLAGS) $(CPPFLAGS) $(INCS) -c $<
++ $(CC) $(LDFLAGS) $(CFLAGS) $(CPPFLAGS) $(INCS) -c $<
+
+ objects = $(XC_OBJS) $(EXTERNAL_OBJS)
+
+@@ -24,18 +24,18 @@ compile:
+ #objects: $(objects)
+ #
+ #$(objects): %.o: %.c
+-# $(CC) $(CFLAGS) $(CPPFLAGS) $(INCS) -c $<
++# $(CC) $(LDFLAGS) $(CFLAGS) $(CPPFLAGS) $(INCS) -c $<
+
+ xcrys: $(XC_OBJS) $(EXTERNAL_OBJS)
+- $(CC) $(CFLAGS) $(XC_OBJS) $(EXTERNAL_OBJS) \
++ $(CC) $(LDFLAGS) $(CFLAGS) $(XC_OBJS) $(EXTERNAL_OBJS) \
+ -o xcrys $(FFTW3_LIB) $(MESCHACH_LIB) $(TK_LIB) $(TCL_LIB) $(TOGL_LIB) $(GLU_LIB) $(GL_LIB) $(X_LIB) $(MATH) $(LDLIB) $(EXT_LIB)
+
+ xctclsh: xcTclsh.o
+- $(CC) $(CFLAGS) xcTclsh.o -o xctclsh $(TCL_LIB) $(MATH) $(LDLIB)
++ $(CC) $(LDFLAGS) $(CFLAGS) xcTclsh.o -o xctclsh $(TCL_LIB) $(MATH) $(LDLIB)
+
+ XFS_OBJS = xsf2xsf.o
+ xsf2xsf: $(XFS_OBJS)
+- $(CC) $(CFLAGS) $(XFS_OBJS) -o xsf2xsf $(MATH) $(LDLIB)
++ $(CC) $(LDFLAGS) $(CFLAGS) $(XFS_OBJS) -o xsf2xsf $(MATH) $(LDLIB)
+
+
+ install:
+diff --git a/F/Makefile b/F/Makefile
+index 3f8270e..92f17d1 100644
+--- a/F/Makefile
++++ b/F/Makefile
+@@ -4,10 +4,10 @@ include ../Make.sys
+ .SUFFIXES : .o .f .f90
+
+ .f90.o:
+- $(FC) $(FFLAGS) -c $<
++ $(FC) $(LDFLAGS) $(FFLAGS) -c $<
+
+ .f.o:
+- $(FC) $(FFLAGS) -c $<
++ $(FC) $(LDFLAGS) $(FFLAGS) -c $<
+
+ OBJ = gengeom.o \
+ multhexa.o \
+@@ -73,70 +73,70 @@ spaghetti:
+ cd SRC_spaghetti; $(MAKE)
+
+ gengeom: $(OBJ)
+- $(FC) $(FFLAGS) -o gengeom $(OBJ)
++ $(FC) $(LDFLAGS) $(FFLAGS) -o gengeom $(OBJ)
+
+ calplane: $(OBJ2)
+- $(FC) $(FFLAGS) -o calplane $(OBJ2)
++ $(FC) $(LDFLAGS) $(FFLAGS) -o calplane $(OBJ2)
+
+ atomlab: $(OBJ3)
+- $(FC) $(FFLAGS) -o atomlab $(OBJ3)
++ $(FC) $(LDFLAGS) $(FFLAGS) -o atomlab $(OBJ3)
+
+ recvec: recvec.o auxil.o
+- $(FC) $(FFLAGS) -o recvec recvec.o auxil.o
++ $(FC) $(LDFLAGS) $(FFLAGS) -o recvec recvec.o auxil.o
+
+ str2xcr: $(OBJ5)
+- $(FC) $(FFLAGS) -o str2xcr $(OBJ5)
++ $(FC) $(LDFLAGS) $(FFLAGS) -o str2xcr $(OBJ5)
+
+ fracCoor: fracCoor.o auxil.o readf1.o
+- $(FC) $(FFLAGS) -o fracCoor fracCoor.o auxil.o readf1.o
++ $(FC) $(LDFLAGS) $(FFLAGS) -o fracCoor fracCoor.o auxil.o readf1.o
+
+ multislab: $(OBJ6)
+- $(FC) $(FFLAGS) -o multislab $(OBJ6)
++ $(FC) $(LDFLAGS) $(FFLAGS) -o multislab $(OBJ6)
+
+ savestruct: $(OBJ7)
+- $(FC) $(FFLAGS) -o savestruct $(OBJ7)
++ $(FC) $(LDFLAGS) $(FFLAGS) -o savestruct $(OBJ7)
+
+ ftnunit: ftnunit.o
+- $(FC) $(FFLAGS) -o ftnunit ftnunit.o
++ $(FC) $(LDFLAGS) $(FFLAGS) -o ftnunit ftnunit.o
+
+ kPath: $(OBJ8)
+- $(FC) $(FFLAGS) -o kPath $(OBJ8)
++ $(FC) $(LDFLAGS) $(FFLAGS) -o kPath $(OBJ8)
+
+ pwKPath: $(OBJ88)
+- $(FC) $(FFLAGS) -o pwKPath $(OBJ88)
++ $(FC) $(LDFLAGS) $(FFLAGS) -o pwKPath $(OBJ88)
+
+ fhi_inpini2ftn34: fhi_inpini2ftn34.o
+- $(FC) $(FFLAGS) -o fhi_inpini2ftn34 fhi_inpini2ftn34.o
++ $(FC) $(LDFLAGS) $(FFLAGS) -o fhi_inpini2ftn34 fhi_inpini2ftn34.o
+
+ fhi_coord2xcr: fhi_coord2xcr.o
+- $(FC) $(FFLAGS) -o fhi_coord2xcr fhi_coord2xcr.o
++ $(FC) $(LDFLAGS) $(FFLAGS) -o fhi_coord2xcr fhi_coord2xcr.o
+
+ wn_readbands: $(OBJ9)
+- $(FC) $(FFLAGS) -o wn_readbands $(OBJ9) $(OBJ10)
++ $(FC) $(LDFLAGS) $(FFLAGS) -o wn_readbands $(OBJ9) $(OBJ10)
+
+ wn_readbakgen: wn_readbakgen.o
+- $(FC) $(FFLAGS) -o wn_readbakgen wn_readbakgen.o
++ $(FC) $(LDFLAGS) $(FFLAGS) -o wn_readbakgen wn_readbakgen.o
+
+ pw: pwi2xsf pwi2xsf_old pwo_xsf2xsf
+
+
+ pwi2xsf_old: $(OBJ11)
+- $(FC) $(FFLAGS) -o pwi2xsf_old $(OBJ11)
++ $(FC) $(LDFLAGS) $(FFLAGS) -o pwi2xsf_old $(OBJ11)
+
+ pwi2xsf: $(OBJ111)
+- $(FC) $(FFLAGS) -o pwi2xsf $(OBJ111)
++ $(FC) $(LDFLAGS) $(FFLAGS) -o pwi2xsf $(OBJ111)
+
+ pwo_xsf2xsf: $(OBJ13)
+- $(FC) $(FFLAGS) -o pwo_xsf2xsf $(OBJ13)
++ $(FC) $(LDFLAGS) $(FFLAGS) -o pwo_xsf2xsf $(OBJ13)
+
+ fsReadBXSF: $(OBJ12)
+- $(FC) $(FFLAGS) -o fsReadBXSF $(OBJ12)
++ $(FC) $(LDFLAGS) $(FFLAGS) -o fsReadBXSF $(OBJ12)
+
+ cube2xsf: cube2xsf.o
+- $(FC) $(FFLAGS) -o cube2xsf cube2xsf.o
++ $(FC) $(LDFLAGS) $(FFLAGS) -o cube2xsf cube2xsf.o
+
+ xsf2cube: xsf2cube.o
+- $(FC) $(FFLAGS) -o xsf2cube xsf2cube.o
++ $(FC) $(LDFLAGS) $(FFLAGS) -o xsf2cube xsf2cube.o
+
+ PROGRAMS = \
+ gengeom calplane atomlab recvec str2xcr fracCoor \
+diff --git a/F/SRC_nn/Makefile b/F/SRC_nn/Makefile
+index 2e44de1..06ae768 100644
+--- a/F/SRC_nn/Makefile
++++ b/F/SRC_nn/Makefile
+@@ -7,7 +7,7 @@ OBJ = nn.o \
+ all: nn install
+
+ nn: $(OBJ)
+- $(FC) $(FFLAGS) $(OBJ) -o nn
++ $(FC) $(LDFLAGS) $(FFLAGS) $(OBJ) -o nn
+
+ install:
+ if test -f nn.exe ; then cp nn.exe ../../bin ; \
+diff --git a/Makefile b/Makefile
+index cfdc14a..f40c8c1 100644
+--- a/Makefile
++++ b/Makefile
+@@ -4,6 +4,8 @@
+ #
+ #------------------------------------------------------------------------
+
++export LDFLAGS
++
+ SHELL = /bin/sh
+ TOPDIR = $(CURDIR)
+ TCL_INDEX = $(TOPDIR)/util/tcl_index
diff --git a/sci-chemistry/xcrysden/xcrysden-1.6.2.ebuild b/sci-chemistry/xcrysden/xcrysden-1.6.2.ebuild
index b76f8a0a1..8d43bcf43 100644
--- a/sci-chemistry/xcrysden/xcrysden-1.6.2.ebuild
+++ b/sci-chemistry/xcrysden/xcrysden-1.6.2.ebuild
@@ -30,6 +30,7 @@ DEPEND="${RDEPEND}"
PATCHES=(
"${FILESDIR}/${P}-ext-bwidget.patch"
+ "${FILESDIR}/${P}-LDFLAGS.patch"
"${FILESDIR}/${P}-Togl-lib.patch"
"${FILESDIR}/${P}-wrapper-paths.patch"
)
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: sci-chemistry/xcrysden/, sci-chemistry/xcrysden/files/
@ 2025-01-27 9:57 David Roman
0 siblings, 0 replies; 3+ messages in thread
From: David Roman @ 2025-01-27 9:57 UTC (permalink / raw
To: gentoo-commits
commit: b6a03ce17a134aee0963e3de42b2bee4716fdc54
Author: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Fri Jan 24 14:53:12 2025 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Fri Jan 24 14:53:12 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b6a03ce1
sci-chemistry/xcrysden: fix build with C23
Closes: https://bugs.gentoo.org/933180
Closes: https://bugs.gentoo.org/945707
Closes: https://bugs.gentoo.org/869449
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>
sci-chemistry/xcrysden/files/xcrysden-1.6.2-c23.patch | 12 ++++++++++++
.../{xcrysden-1.6.2.ebuild => xcrysden-1.6.2-r1.ebuild} | 17 ++++++++++-------
2 files changed, 22 insertions(+), 7 deletions(-)
diff --git a/sci-chemistry/xcrysden/files/xcrysden-1.6.2-c23.patch b/sci-chemistry/xcrysden/files/xcrysden-1.6.2-c23.patch
new file mode 100644
index 000000000..19924b4f0
--- /dev/null
+++ b/sci-chemistry/xcrysden/files/xcrysden-1.6.2-c23.patch
@@ -0,0 +1,12 @@
+https://bugs.gentoo.org/945707
+Fix conflicting types for fabs.
+--- a/C/xcBz.c
++++ b/C/xcBz.c
+@@ -1397,7 +1397,6 @@ static int
+ BzGetISS( int typ )
+ {
+ int imen[3 * BZ_MAXPOINTS], imin = 0;
+- double fabs();
+ register int iss;
+ register double f, point;
+ register double tol = (double)(BZ_ISS - 1)/(double)BZ_ISS - (double)(BZ_ISS - 2)/(double)(BZ_ISS - 1);
diff --git a/sci-chemistry/xcrysden/xcrysden-1.6.2.ebuild b/sci-chemistry/xcrysden/xcrysden-1.6.2-r1.ebuild
similarity index 84%
rename from sci-chemistry/xcrysden/xcrysden-1.6.2.ebuild
rename to sci-chemistry/xcrysden/xcrysden-1.6.2-r1.ebuild
index 8d43bcf43..b1d099a31 100644
--- a/sci-chemistry/xcrysden/xcrysden-1.6.2.ebuild
+++ b/sci-chemistry/xcrysden/xcrysden-1.6.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -17,15 +17,17 @@ SLOT="0"
KEYWORDS="~amd64"
-RDEPEND=">=x11-base/xorg-server-21.1.4
+RDEPEND="
+ >=x11-base/xorg-server-21.1.4
>=virtual/glu-9.0-r2
- >=dev-lang/tcl-8.6.12
- >=dev-lang/tk-8.6.12
+ >=dev-lang/tcl-8.6.12:=
+ >=dev-lang/tk-8.6.12:=
>=dev-tcltk/togl-2.0-r3
>=dev-tcltk/bwidget-1.9.14
- >=media-libs/mesa-22.1.3
- >=sci-libs/fftw-3.3.10"
-
+ media-libs/libglvnd[X]
+ sci-libs/fftw:3.0=
+ x11-libs/libX11
+"
DEPEND="${RDEPEND}"
PATCHES=(
@@ -33,6 +35,7 @@ PATCHES=(
"${FILESDIR}/${P}-LDFLAGS.patch"
"${FILESDIR}/${P}-Togl-lib.patch"
"${FILESDIR}/${P}-wrapper-paths.patch"
+ "${FILESDIR}/${P}-c23.patch"
)
src_prepare() {
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-01-27 9:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-12 14:21 [gentoo-commits] repo/proj/guru:master commit in: sci-chemistry/xcrysden/, sci-chemistry/xcrysden/files/ Florian Schmaus
-- strict thread matches above, loose matches on Subject: below --
2022-09-14 4:20 Ronny Gutbrod
2025-01-27 9:57 David Roman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox