summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeri Harris <keri@gentoo.org>2021-05-30 08:06:32 +0000
committerKeri Harris <keri@gentoo.org>2021-05-30 08:06:55 +0000
commitf94d0c8e080518c93394f7adbdf028c4461c4de0 (patch)
tree8086af4e8d84663a9aa89cec2bfc7ac0a4e8fd8a /net-misc/pedro
parentwww-apps/phpBB: Bump to 3.3.4, drop old 3.3.3 (diff)
downloadgentoo-f94d0c8e080518c93394f7adbdf028c4461c4de0.tar.gz
gentoo-f94d0c8e080518c93394f7adbdf028c4461c4de0.tar.bz2
gentoo-f94d0c8e080518c93394f7adbdf028c4461c4de0.zip
net-misc/pedro: add missing patch
Closes: https://bugs.gentoo.org/792714 Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Keri Harris <keri@gentoo.org>
Diffstat (limited to 'net-misc/pedro')
-rw-r--r--net-misc/pedro/files/pedro-1.12-portage.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/net-misc/pedro/files/pedro-1.12-portage.patch b/net-misc/pedro/files/pedro-1.12-portage.patch
new file mode 100644
index 000000000000..d9ec2142fabc
--- /dev/null
+++ b/net-misc/pedro/files/pedro-1.12-portage.patch
@@ -0,0 +1,39 @@
+--- pedro-1.12.orig/configure.ac 2021-01-06 21:02:47.000000000 -0000
++++ pedro-1.12/configure.ac 2021-05-30 08:00:05.377373355 -0000
+@@ -9,25 +9,25 @@
+ PKG_CHECK_MODULES([GLIB],[glib-2.0 >= 2.12])
+ AM_CONFIG_HEADER(config.h)
+ AC_CONFIG_MACRO_DIR([m4])
+-CPPFLAGS="-DNDEBUG -O2 -g `pkg-config --cflags glib-2.0`"
++CPPFLAGS="`${PKG_CONFIG} --cflags glib-2.0`"
+ case "${host}" in
+- *i686*)
++ *-mingw32*)
+ WIN32="yes"
+- LDFLAGS=""
+- #LIBS="-L../lib -lpedro `pkg-config --libs glib-2.0` -lm"
+- LIBS="-L../lib -lpedro `pkg-config --libs glib-2.0` -lm -lwsock32 -lws2_32 -lwinmm"
++ #LDFLAGS=""
++ #LIBS="-L../lib -lpedro `${PKG_CONFIG} --libs glib-2.0` -lm"
++ LIBS="-L../lib -lpedro `${PKG_CONFIG} --libs glib-2.0` -lm -lwsock32 -lws2_32 -lwinmm"
+ ;;
+ *x86*)
+ WIN32="no"
+- LDFLAGS=""
+- #LIBS="-L../lib -lpedro `pkg-config --libs glib-2.0` -lm"
+- LIBS="-L../lib -lpedro `pkg-config --libs glib-2.0` -lm -lwsock32 -lws2_32 -lwinmm"
++ #LDFLAGS=""
++ LIBS="-L../lib -lpedro `${PKG_CONFIG} --libs glib-2.0` -lm"
++ #LIBS="-L../lib -lpedro `${PKG_CONFIG} --libs glib-2.0` -lm -lwsock32 -lws2_32 -lwinmm"
+ ;;
+ *)
+ WIN32="no"
+- #LDFLAGS="-L../lib -lpedro `pkg-config --libs glib-2.0` -lm"
+- LDFLAGS=""
+- LIBS="-L../lib -lpedro `pkg-config --libs glib-2.0` -lm"
++ #LDFLAGS="-L../lib -lpedro `${PKG_CONFIG} --libs glib-2.0` -lm"
++ #LDFLAGS=""
++ LIBS="-L../lib -lpedro `${PKG_CONFIG} --libs glib-2.0` -lm"
+ ;;
+ esac
+ AC_OUTPUT(Makefile src/Makefile src/server/Makefile src/lib/Makefile src/examples/Makefile doc/Makefile)