Projects
Extra
aMule
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 32
View file
aMule.spec
Changed
@@ -8,6 +8,7 @@ Source: aMule.tar.xz Patch: 0001-Fix-desktop-files.patch Patch1: update.diff.xz +Patch2: 0002-Fix-gdlib-detection.patch BuildRequires: autoconf BuildRequires: automake >= 1.9 BuildRequires: binutils-devel @@ -46,6 +47,7 @@ %setup -q -n %{name} %patch -p1 %patch1 -p1 +%patch2 -p1 %build ./autogen.sh
View file
0002-Fix-gdlib-detection.patch
Added
@@ -0,0 +1,21 @@ +diff --git a/m4/gdlib.m4 b/m4/gdlib.m4 +index 236da4b..4c9805c 100644 +--- a/m4/gdlib.m4 ++++ b/m4/gdlib.m4 +@@ -70,11 +70,11 @@ m4_define([REQUIRED_VERSION_MICRO], [m4_bregexp(REQUIRED_VERSION, [\([0-9]+\)\.\ + gdlib_config_micro_version=`echo $GDLIB_VERSION | sed ['s/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\3/']` + + gdlib_ver_ok= +- MULE_IF([test $gdlib_config_major_version -gt REQUIRED_VERSION_MAJOR], [gdlib_ver_ok=yes], +- [test $gdlib_config_major_version -eq REQUIRED_VERSION_MAJOR], [ +- MULE_IF([test $gdlib_config_minor_version -gt REQUIRED_VERSION_MINOR], [gdlib_ver_ok=yes], +- [test $gdlib_config_minor_version -eq REQUIRED_VERSION_MINOR], +- [MULE_IF([test $gdlib_config_micro_version -ge REQUIRED_VERSION_MICRO], [gdlib_ver_ok=yes])]) ++ MULE_IF([test "$gdlib_config_major_version" -gt "$REQUIRED_VERSION_MAJOR"], [gdlib_ver_ok=yes], ++ [test "$gdlib_config_major_version" -eq "$REQUIRED_VERSION_MAJOR"], [ ++ MULE_IF([test "$gdlib_config_minor_version" -gt "$REQUIRED_VERSION_MINOR"], [gdlib_ver_ok=yes], ++ [test "$gdlib_config_minor_version" -eq "$REQUIRED_VERSION_MINOR"], ++ [MULE_IF([test "$gdlib_config_micro_version" -ge "$REQUIRED_VERSION_MICRO"], [gdlib_ver_ok=yes])]) + ]) + + AS_IF([test -z "$gdlib_ver_ok"], [
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.